Add totalordermag, totalordermagf, totalordermagl.
[glibc.git] / ChangeLog
blobb383ba117657fb77f83fb57761b9673c751b4127
1 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
3         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4         (totalordermag): New declaration.
5         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6         New macro.
7         * math/Versions (totalordermag): New libm symbol at version
8         GLIBC_2.25.
9         (totalordermagf): Likewise.
10         (totalordermagl): Likewise.
11         * math/Makefile (libm-calls): Add s_totalordermagF.
12         * math/libm-test.inc (totalordermag_test_data): New array.
13         (totalordermag_test): New function.
14         (main): Call totalordermag_test.
15         * math/test-tgmath.c (NCALLS): Increase to 125.
16         (F(compile_test)): Call totalordermag.
17         (F(totalordermag)): New function.
18         * manual/arith.texi (FP Comparison Functions): Document
19         totalordermag, totalordermagf and totalordermagl.
20         * manual/libm-err-tab.pl: Update comment on interfaces without
21         ulps tabulated.
22         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
23         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
24         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
25         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
26         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
27         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
28         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
29         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
30         totalordermag.
31         (CFLAGS-nldbl-totalordermag.c): New variable.
32         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
33         (do_test): Also test totalordermagl.
34         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
35         Likewise.
36         * sysdeps/nacl/libm.abilist: Update.
37         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
50         Likewise.
51         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
52         Likewise.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
54         Likewise.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
56         Likewise.
57         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
63         Likewise.
64         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
65         Likewise.
66         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
70 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
72         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
73         boolean.
75 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
77         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
78         raising FE_INVALID with feraisexcept in case where part of
79         argument is infinite, subtract that part of argument from itself.
80         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
81         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
82         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
84 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
86         * math/libm-test.inc (totalorder_test_data): Add more tests.
88 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
90         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
91         Undefine weak_alias and add a comment why mips64 require
92         versioning.
94 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
96         [BZ #20647]
97         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
98         maximum CPUID level is less than 2.
100 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
102         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
103         (totalorder): New declaration.
104         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
105         New macro.
106         * math/Versions (totalorder): New libm symbol at version
107         GLIBC_2.25.
108         (totalorderf): Likewise.
109         (totalorderl): Likewise.
110         * math/Makefile (libm-calls): Add s_totalorderF.
111         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
112         string.
113         * math/libm-test.inc (PAYLOAD_DIG): New macro.
114         (qnan_value_pl): Likewise.
115         (snan_value_pl): Likewise.
116         (qnan_value): Define using qnan_value_pl.
117         (snan_value): Define using snan_value_pl.
118         (struct test_ff_i_data): Add comment about which tests use this
119         structure.
120         (RUN_TEST_ff_b): New macro.
121         (RUN_TEST_LOOP_ff_b): Likewise.
122         (totalorder_test_data): New array.
123         (totalorder_test): New function.
124         (main): Call totalorder_test.
125         * math/test-tgmath.c (NCALLS): Increase to 122.
126         (F(compile_test)): Call totalorder.
127         (F(totalorder)): New function.
128         * manual/arith.texi (FP Comparison Functions): Document
129         totalorder, totalorderf and totalorderl.
130         * manual/libm-err-tab.pl: Update comment on interfaces without
131         ulps tabulated.
132         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
133         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
134         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
135         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
136         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
137         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
138         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
139         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
140         totalorder.
141         (CFLAGS-nldbl-totalorder.c): New variable.
142         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
143         file.
144         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
145         Add test-totalorderl-ldbl-128ibm.
146         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
147         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
148         test-totalorderl-ldbl-96.
149         * sysdeps/nacl/libm.abilist: Update.
150         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
153         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
154         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
163         Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
165         Likewise.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
167         Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
169         Likewise.
170         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
176         Likewise.
177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
178         Likewise.
179         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
183 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
185         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
186         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
187         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
188         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
189         remove ENOSYS implementation.
190         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
191         Consolidate all Linux implementations.
193 2016-10-11  Florian Weimer  <fweimer@redhat.com>
195         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
196         * resolv/herror.c (herror): Cast away const-ness.
197         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
198         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
200 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
202         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
203         instead of M_NAN + M_NAN.
204         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
206 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
208         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
209         unused variable 'p'.
211 2016-10-09  Alan Modra  <amodra@gmail.com>
212             Andreas Schwab  <schwab@linux-m68k.org>
214         [BZ #20554]
215         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
216         [PIC && !SHARED]: Set up PIC register for PLT call.
218 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
220         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
221         conditional on value of [__FLT_EVAL_METHOD__].
222         * math/test-iseqsig-excess-precision.c: New file.
223         * math/Makefile (tests): Add test-iseqsig-excess-precision.
225 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
227         * math/s_iseqsig_template.c: Include math-private.h.
229         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
230         * posix/tst-posix_fadvise.c: New file.
231         * posix/tst-posix_fadvise64.c: Likewise.
232         * posix/tst-posix_fadvise-common.c: Likewise.
233         * sysdeps/unix/sysv/linux/arm/kernel-features.h
234         (__ASSUME_FADVISE64_64_6ARG): Define.
235         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
236         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
237         * sysdeps/unix/sysv/linux/tile/kernel-features.h
238         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
239         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
240         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
241         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
242         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
243         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
244         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
245         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
246         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
249         Likewise.
250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
251         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
252         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
253         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
254         Alias to __posix_fadvise64_l32.
255         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
256         Add compat definition to posix_fadvise64.
257         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
258         Add versioned definition to posix_fadvise64.
259         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
260         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
261         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
262         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
263         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
265         * io/Makefile (tests): Add tst-posix_fallocate and
266         tst-posix_fallocate64.
267         * io/tst-posix_fallocate-common.c: New file.
268         * io/tst-posix_fallocate.c: Likewise.
269         * io/tst-posix_fallocate64.c: Likewise.
270         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
271         file.
272         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
273         Likewise.
274         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
275         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
276         Likewise.
277         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
278         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
279         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
280         SYSCALL_LL to pass both offset and len arguments.
281         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
282         Likewise.
283         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
284         __libc_pwrite64 alias used by posix_fallocate64.
286         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
287         tst-fallocate64.
288         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
289         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
290         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
291         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
292         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
293         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
294         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
295         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
296         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
297         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
298         macro on offset argument.
299         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
300         SYSCALL_LL64 on offset argument.
302         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
303         tst-fallocate64.
304         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
305         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
306         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
307         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
308         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
309         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
310         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
311         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
312         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
313         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
314         macro on offset argument.
315         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
316         SYSCALL_LL64 on offset argument.
317         * test-skeleton.c (FAIL_RET): Add macro.
318         (FAIL_EXIT): Likewise.
319         (FAIL_EXIT1): Likewise.
320         (_FAIL): Likewise.
322 2016-10-07  Florian Weimer  <fweimer@redhat.com>
324         [BZ #20629]
325         resolv: Remove RES_USEBSTRING and its implementation.
326         * resolv/resolv.h (RES_USEBSTRING): Remove.
327         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
328         (digitvalue, encode_bitstring, decode_bitstring): Remove.
329         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
330         (labellen): Remove extended label types support.
331         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
332         * resolv/res_init.c (res_setoptions): Likewise.
333         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
335 2016-10-07  Florian Weimer  <fweimer@redhat.com>
337         resolv: Remove RES_NOIP6DOTINT and its implementation.
338         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
339         (RES_NOIP6DOTINT): Remove.
340         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
341         handling.
342         * resolv/res_debug.c (p_option): Likewise.
343         * resolv/res_init.c (res_setoptions): Likewise.
344         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
346 2016-10-07  Florian Weimer  <fweimer@redhat.com>
348         resolv: Deprecate unimplemented flags.
349         * misc/sys/cdefs.h (__glibc_macro_warning1)
350         (__glibc_macro_warning): Define.
351         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
352         (RES_KEEPTSIG): Mark as deprecated.
353         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
354         RES_NOCHECKNAME, RES_KEEPTSIG.
355         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
357 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
359         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
360         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
361         Use strong_alias to create symbols for glibc verison 2.19.
363 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
365         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
367 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
369         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
371 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
373         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
375 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
377         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
378         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
379         in header for using it as type for ifunc function because __GI_* symbols
380         for ppc32 do not target the ifunc symbols.
381         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
383 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
385         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
386         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
387         libc_ifunc_hidden_def.
388         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
389         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
390         Redirect ifunced function in header for using it as type of ifunc'ed
391         function. Redefine libc_hidden_def to use fallback non ifunc'ed
392         function for __GI_* symbol.
393         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
394         * include/libc-symbols.h
395         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
397 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
399         [BZ #20478]
400         * sysdeps/s390/multiarch/ifunc-resolve.h
401         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
402         to create ifunc symbols.
403         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
404         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
405         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
406         for using it as type for ifunc function.
407         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
408         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
409         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
410         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
411         * sysdeps/s390/multiarch/strcat.c: Likewise.
412         * sysdeps/s390/multiarch/strchr.c: Likewise.
413         * sysdeps/s390/multiarch/strcmp.c: Likewise.
414         * sysdeps/s390/multiarch/strcpy.c: Likewise.
415         * sysdeps/s390/multiarch/strcspn.c: Likewise.
416         * sysdeps/s390/multiarch/strlen.c: Likewise.
417         * sysdeps/s390/multiarch/strncmp.c: Likewise.
418         * sysdeps/s390/multiarch/strncpy.c: Likewise.
419         * sysdeps/s390/multiarch/strnlen.c: Likewise.
420         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
421         * sysdeps/s390/multiarch/strrchr.c: Likewise.
422         * sysdeps/s390/multiarch/strspn.c: Likewise.
423         * sysdeps/s390/multiarch/wcschr.c: Likewise.
424         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
425         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
426         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
427         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
428         * sysdeps/s390/multiarch/wmemset.c: Likewise.
429         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
430         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
431         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
432         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
433         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
434         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
436 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
438         * include/libc-symbols.h (__ifunc_resolver):
439         New macro is used by __ifunc* macros.
440         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
441         depending on HAVE_GCC_IFUNC.
442         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
443         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
445         Redirect ifunced function in header for using as type for ifunc function.
446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
450         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
452         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
453         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
454         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
455         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
456         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
457         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
459         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
465         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
466         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
467         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
468         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
469         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
470         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
471         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
472         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
473         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
474         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
475         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
476         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
477         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
478         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
480         Add libc_hidden_def() and use libc_ifunc_hidden() macro
481         instead of libc_ifunc() macro.
482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
483         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
485 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
487         * config.h.in (HAVE_GCC_IFUNC): New undef.
488         * configure.ac: Add check if gcc supports attribute ifunc feature.
489         * configure: Regenerated.
490         * manual/install.texi: Add recommendation for gcc with
491         indirect-function support.
492         * INSTALL: Regenerated.
494 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
496         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
497         macro.
498         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
499         (__iseqsig): New declaration.
500         * math/s_iseqsig_template.c: New file.
501         * math/Versions (__iseqsigf): New libm symbol at version
502         GLIBC_2.25.
503         (__iseqsig): Likewise.
504         (__iseqsigl): Likewise.
505         * math/libm-test.inc (iseqsig_test_data): New array.
506         (iseqsig_test): New function.
507         (main): Call iseqsig_test.
508         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
509         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
510         * manual/libm-err-tab.pl: Update comment on interfaces without
511         ulps tabulated.
512         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
513         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
514         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
515         * sysdeps/nacl/libm.abilist: Update.
516         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
523         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
524         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
526         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
527         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
529         Likewise.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
531         Likewise.
532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
533         Likewise.
534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
535         Likewise.
536         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
542         Likewise.
543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
544         Likewise.
545         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
549 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
551         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
552         do_sincos_2, sloww, sloww1): Update comments.
554         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
555         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
557         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
558         K boolean and rename it.
559         (__sin): Adjust.
560         (__cos): Adjust.
562 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
563             Siddhesh Poyarekar  <siddhesh@sourceware.org>
565         * manual/nss.texi: Fix typos in the manual.
567 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
569         * manual/contrib.texi: Fix typos in the manual.
571         * manual/maint.texi: Fix typos in the manual.
573         * manual/install.texi: Fix typos in the manual.
574         * INSTALL: Regenerated.
576         * manual/lang.texi: Fix typos in the manual.
578         * manual/probes.texi: Fix typos in the manual.
580         * manual/threads.texi: Fix typos in the manual.
582         * manual/debug.texi: Fix typos in the manual.
584         * manual/crypt.texi: Fix typos in the manual.
586         * manual/conf.texi: Fix typos in the manual.
588         * manual/sysinfo.texi: Fix typos in the manual.
590         * manual/users.texi: Fix typos in the manual.
592         * manual/job.texi: Fix typos in the manual.
594         * manual/process.texi: Fix typos in the manual.
596         * manual/argp.texi: Fix typos in the manual.
597         * manual/getopt.texi: Likewise.
598         * manual/startup.texi: Likewise.
600         * manual/signal.texi: Fix typos in the manual.
602         * manual/setjmp.texi: Fix typos in the manual.
604         * manual/resource.texi: Fix typos in the manual.
606         * manual/time.texi: Fix typos in the manual.
608         * manual/arith.texi: Fix typos in the manual.
610         * manual/math.texi: Fix typos in the manual.
612         * manual/syslog.texi: Fix typos in the manual.
614         * manual/terminal.texi: Fix typos in the manual.
616         * manual/socket.texi: Fix typos in the manual.
618         * manual/filesys.texi: Fix typos in the manual.
620         * manual/llio.texi: Fix typos in the manual.
622         * manual/stdio.text: Fix typos in the manual.
624 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
626         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
627         instead of K1.
629         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
630         SHIFT_QUADRANT and make it bool.
631         (do_sincos_2): Likewise.
632         (sloww): Likewise.
633         (sloww1): Likewise.
634         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
635         (__cos): Likewise.
637 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
639         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
641 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
643         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
644         Define to __WORDSIZE, not conditional on [LONG_MAX ==
645         0x7fffffffL].
646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
648 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
650         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
651         inline by __inline__.
652         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
653         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
654         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
655         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
656         sigset_t from signal.h.
657         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
658         which is already required.
660 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
662         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
664 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
666         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
667         (struct tcp_repair_window): New type.
669 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
671         * libio/tst-memstream3.c: Include string.h.
673 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
675         [BZ #18241]
676         [BZ #20181]
677         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
678         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
679         write position is at the end the buffer.
680         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
681         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
682         (_IO_str_seekoff): Set correct offset from negative displacement and
683         set EINVAL for invalid ones.
684         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
685         buffer length.
686         (_IO_wstr_switch_to_get_mode): New function.
687         (_IO_wstr_seekoff): Set correct offset from negative displacement and
688         set EINVAL for invalid ones.
689         * libio/tst-memstream3.c: New file.
690         * libio/tst-wmemstream3.c: Likewise.
691         * manual/examples/memstrm.c: Remove warning when priting size_t.
693 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
695         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
696         macro to use __builtin_fma.
697         * sysdeps/x86_64/fpu/dla.h: Remove file.
699         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
700         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
701         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
703 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
705         [BZ #20292]
706         * elf/Makefile (routines): Add dl-addr-obj.
707         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
708         tst-_dl_addr_inside_object.
709         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
710         [ifeq (yesyes,$(have-fpie)$(build-shared))]
711         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
712         [ifeq (yesyes,$(have-fpie)$(build-shared))]
713         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
714         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
715         * elf/dl-open.c: Likewise.
716         * elf/dl-addr-obj.c: New file.
717         * elf/tst-_dl_addr_inside_object.c: New file.
719 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
721         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
722         <bits/iscanonical.h>.
723         * bits/iscanonical.h: New file.
724         * math/s_iscanonicall.c: Likewise.
725         * math/Versions (__iscanonicall): New libm symbol at version
726         GLIBC_2.25.
727         * math/libm-test.inc (iscanonical_test_data): New array.
728         (iscanonical_test): New function.
729         (main): Call iscanonical_test.
730         * math/Makefile (headers): Add bits/iscanonical.h.
731         (type-ldouble-routines): Add s_iscanonicall.
732         * manual/arith.texi (Floating Point Classes): Document
733         iscanonical.
734         * manual/libm-err-tab.pl: Update comment on interfaces without
735         ulps tabulated.
736         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
737         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
738         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
739         Likewise.
740         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
741         test-iscanonical-ldbl-128ibm.
742         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
743         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
744         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
745         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
746         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
747         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
748         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
750         Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
752         Likewise.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
754         Likewise.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
756         Likewise.
757         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
760 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
762         * string/bits/string3.h: Remove C++ style comments.
764 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
766         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
767         instead of ternary condition.
768         (do_sincos_2): Likewise.
769         (__sin): Likewise.
770         (__cos): Likewise.
771         (slow): Likewise.
772         (sloww): Likewise.
773         (sloww1): Likewise.
774         (bsloww): Likewise.
775         (bsloww1): Likewise.
777         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
778         instead of ternary condition.
779         (do_sin_slow): Likewise.
780         (do_sincos_1): Likewise.
781         (do_sincos_2): Likewise.
782         (__cos): Likewise.
783         (sloww): Likewise.
784         (sloww1): Likewise.
785         (sloww2): Likewise.
786         (bsloww): Likewise.
787         (bsloww1): Likewise.
788         (bsloww2): Likewise.
790         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
791         check from here...
792         (slow2): ... and here...
793         (__sin): ... to here.
795 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
797         * math/math.h
798         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
799         Cast argument to its own type.
800         * math/test-iszero-excess-precision.c: New file.
801         * math/Makefile (tests): Add test-iszero-excess-precision.
802         (CFLAGS-test-iszero-excess-precision.c): New variable.
804 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
806         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
807         field, add err field.
808         (__spawni_child): Report error through err member instead of pipe.
809         (__spawnix): Likewise.
811 2016-09-28  Zack Weinberg  <zackw@panix.com>
813         * scripts/check-installed-headers.sh: Generalize treatment of
814         sys/elf.h to all target architectures.
816         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
817         deleted typedef ucontext_t.
819 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
821         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
822         (__INTERNAL_SYSCALL1): Likewise.
823         (__INTERNAL_SYSCALL2): Likewise.
824         (__INTERNAL_SYSCALL3): Likewise.
825         (__INTERNAL_SYSCALL4): Likewise.
826         (__INTERNAL_SYSCALL5): Likewise.
827         (__INTERNAL_SYSCALL6): Likewise.
828         (__INTERNAL_SYSCALL7): Likewise.
829         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
830         (__INTERNAL_SYSCALL_NARGS): Likewise.
831         (__INTERNAL_SYSCALL_DISP): Likewise.
832         (INTERNAL_SYSCALL_CALL): Likewise.
833         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
834         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
835         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
836         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
837         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
838         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
839         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
840         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
841         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
842         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
843         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
844         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
845         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
847 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
849         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
850         macro.
851         * math/libm-test.inc (iszero_test_data): New array.
852         (iszero_test): New function.
853         (main): Call iszero_test.
854         * manual/arith.texi (Floating Point Classes): Document iszero.
855         * manual/libm-err-tab.pl: Update comment on interfaces without
856         ulps tabulated.
858 2016-09-23  Zack Weinberg  <zackw@panix.com>
860         * scripts/check-installed-headers.sh: New script.
861         * Rules: In each directory that defines header files to be installed,
862         run check-installed-headers.sh on them as a special test.
863         * Makefile: Likewise for the headers installed at top level.
865         * include/aliases.h, include/alloca.h, include/argz.h
866         * include/arpa/nameser.h, include/arpa/nameser_compat.h
867         * include/elf.h, include/envz.h, include/err.h
868         * include/execinfo.h, include/fpu_control.h, include/getopt.h
869         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
870         * include/link.h, include/malloc.h, include/mcheck.h
871         * include/mntent.h, include/netinet/ether.h
872         * include/nss.h, include/obstack.h, include/printf.h
873         * include/pty.h, include/resolv.h, include/rpc/auth.h
874         * include/rpc/auth_des.h, include/rpc/auth_unix.h
875         * include/rpc/clnt.h, include/rpc/des_crypt.h
876         * include/rpc/key_prot.h, include/rpc/netdb.h
877         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
878         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
879         * include/rpc/rpc_msg.h, include/rpc/svc.h
880         * include/rpc/svc_auth.h, include/rpc/xdr.h
881         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
882         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
883         * include/rpcsvc/ypupd.h, include/shadow.h
884         * include/stdio_ext.h, include/sys/epoll.h
885         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
886         * include/sys/prctl.h, include/sys/profil.h
887         * include/sys/statfs.h, include/sys/sysctl.h
888         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
889         * sysdeps/arm/nacl/include/bits/setjmp.h
890         * sysdeps/mips/include/sys/asm.h
891         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
892         * sysdeps/unix/sysv/linux/include/sys/timex.h
893         * sysdeps/x86/fpu/include/bits/fenv.h:
894         Add #ifndef _ISOMAC guard around internal declarations.
895         Add multiple-inclusion guard if not already present.
897 2016-09-23  Zack Weinberg  <zackw@panix.com>
899         * sysdeps/generic/sys/ucontext.h
900         * sysdeps/arm/sys/ucontext.h
901         * sysdeps/i386/sys/ucontext.h
902         * sysdeps/m68k/sys/ucontext.h
903         * sysdeps/mips/sys/ucontext.h
904         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
905         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
906         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
907         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
908         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
909         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
910         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
911         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
912         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
913         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
914         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
915         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
916         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
917         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
918         Include both bits/sigcontext.h and bits/sigstack.h.
919         Fix grammar error in comment, if present.
921         * bits/sigstack.h
922         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
923         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
924         * sysdeps/unix/sysv/linux/bits/sigstack.h
925         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
926         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
927         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
928         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
929         * bits/sigcontext.h
930         * sysdeps/mach/hurd/i386/bits/sigcontext.h
931         * sysdeps/unix/sysv/linux/bits/sigcontext.h
932         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
933         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
934         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
935         as well as signal.h, if this was not already allowed.  Request
936         definition of size_t if necessary.  Minimize semantically-null
937         differences across files.
939 2016-09-23  Zack Weinberg  <zackw@panix.com>
941         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
942         Remove all logic conditional on __need macros.  Move all the
943         conditionally defined types to their own headers...
944         * time/bits/types/clock_t.h: Define clock_t here.
945         * time/bits/types/clockid_t.h: Define clockid_t here.
946         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
947         * time/bits/types/struct_timespec.h: Define struct timespec here.
948         * time/bits/types/struct_timeval.h: Define struct timeval here.
949         * time/bits/types/struct_tm.h: Define struct tm here.
950         * time/bits/types/time_t.h: Define time_t here.
951         * time/bits/types/timer_t.h: Define timer_t here.
952         * time/Makefile: Install the new headers.
954         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
955         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
956         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
957         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
958         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
959         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
960         * sysdeps/unix/sysv/linux/bits/resource.h
961         * sysdeps/unix/sysv/linux/bits/timex.h
962         * sysdeps/unix/sysv/linux/mips/bits/resource.h
963         * sysdeps/unix/sysv/linux/net/ppp_defs.h
964         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
965         * sysdeps/unix/sysv/linux/sys/acct.h
966         * sysdeps/unix/sysv/linux/sys/timerfd.h
967         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
968         * time/sys/time.h, time/sys/timeb.h
969         Use the new bits/types headers.
971         * include/time.h: Remove __need logic.
972         * include/bits/time.h
973         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
974         * include/bits/types/time_t.h, include/bits/types/timer_t.h
975         * include/bits/types/struct_itimerspec.h
976         * include/bits/types/struct_timespec.h
977         * include/bits/types/struct_timeval.h
978         * include/bits/types/struct_tm.h:
979         New wrapper headers.
981 2016-09-23  Zack Weinberg  <zackw@panix.com>
983         * sysdeps/mach/hurd/net/if_ppp.h
984         * sysdeps/unix/sysv/linux/net/if_ppp.h:
985         Only define struct ifpppstatsreq and struct ifpppcstatsreq
986         if __USE_MISC is defined, to ensure struct ifreq is declared.
988         * inet/netinet/ether.h: Condition all function prototypes
989         on __USE_MISC, to ensure struct ether_addr is declared.
991         * socket/bits/types/struct_osockaddr.h: New header.
992         * include/bits/types/struct_osockaddr.h: New wrapper.
993         * socket/Makefile: Install the new header.
994         * socket/sys/socket.h, inet/protocols/talkd.h:
995         Refer to bits/types/struct_osockaddr.h for the definition of
996         struct osockaddr.
998 2016-09-23  Zack Weinberg  <zackw@panix.com>
1000         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1001         * inet/protocols/routed.h, inet/protocols/talkd.h
1002         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1003         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1004         * sysdeps/generic/netinet/if_ether.h
1005         * sysdeps/generic/netinet/in_systm.h
1006         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1007         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1008         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1009         * sysdeps/mach/hurd/net/if_arp.h
1010         * sysdeps/mach/hurd/net/if_ppp.h
1011         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1012         * sysdeps/unix/sysv/linux/bits/in.h
1013         * sysdeps/unix/sysv/linux/net/ethernet.h
1014         * sysdeps/unix/sysv/linux/net/if_arp.h
1015         * sysdeps/unix/sysv/linux/net/if_ppp.h
1016         * sysdeps/unix/sysv/linux/net/if_shaper.h
1017         * sysdeps/unix/sysv/linux/net/route.h
1018         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1019         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1020         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1021         * sysdeps/unix/sysv/linux/netipx/ipx.h
1022         * sysdeps/unix/sysv/linux/sys/acct.h
1023         * include/arpa/nameser.h, include/resolv.h:
1024         Change all uses of u_char to unsigned char,
1025         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1026         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1027         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1028         and u_int64_t and u_quad_t to uint64_t.
1030         * mach/sys/reboot.h: Remove two casts of integer literals
1031         to the types they already have.
1033         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1034         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1035         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1036         from referring to 'unsigned char' to 'uint8_t' for consistency with
1037         the macro definition below.
1039         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1040         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1041         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1042         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1043         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1044         * sysdeps/unix/sysv/linux/sys/acct.h
1045         * include/arpa/nameser.h, include/resolv.h:
1046         Fix indentation disrupted by mechanical edits.
1048         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1049         * sysdeps/generic/netinet/in_systm.h
1050         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1051         * sysdeps/gnu/netinet/udp.h
1052         * sysdeps/unix/sysv/linux/net/ethernet.h
1053         * sysdeps/unix/sysv/linux/net/if_arp.h
1054         * sysdeps/unix/sysv/linux/net/if_ppp.h
1055         * sysdeps/unix/sysv/linux/net/if_shaper.h
1056         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1057         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1058         * sysdeps/unix/sysv/linux/netipx/ipx.h
1059         * sysdeps/unix/sysv/linux/sys/acct.h
1060         Include stdint.h for uintNN_t definitions.
1061         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1063 2016-09-23  Zack Weinberg  <zackw@panix.com>
1065         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1066         * sysdeps/unix/sysv/linux/netrose/rose.h:
1067         Include sys/socket.h and netax25/ax25.h.
1069         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1070         * resolv/arpa/nameser_compat.h:
1071         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1073         * sysdeps/unix/sysv/linux/sys/quota.h:
1074         Use __caddr_t instead of caddr_t.
1075         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1076         Use __clockid_t instead of clockid_t.
1078         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1080         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1081         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1082         expanding it.
1084         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1085         Define __glibc_c99_flexarr_available to 1 when the compiler
1086         supports C99-compatible flexible array members, 0 otherwise.
1087         * sysdeps/unix/sysv/linux/bits/socket.h
1088         * sysdeps/mach/hurd/bits/socket.h
1089         * bits/socket.h: Use __glibc_c99_flexarr_available in
1090         definitions of struct cmsghdr and CMSG_DATA.
1092 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1094         * manual/nss.texi (NSS Modules Interface): Adjust function return
1095         type to enum nss_status.  Document errnop argument.  Clarify
1096         h_errnop semantics.  Fix cross-reference formatting.
1097         (NSS Module Function Internals): Mention that *errnop needs to be
1098         set on failure, but not to zero.
1100 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1102         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1103         (get_random_name): New functions.
1104         (check_wrapper_flags_mode): Use linkat to give the new file a name
1105         determined by get_random_name.
1106         (do_test): Add calls to test open64 and openat64.
1108 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1110         * test-skeleton.c: Remove #include <stdarg.h>.
1112 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1114         [BZ #19826]
1115         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1116         initialization of static TLS entries.
1117         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1118         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1120 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1122         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1123         _hurd_malloc_fork_prepare.
1124         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1125         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1126         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1127         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1128         (_hurd_fork_child_hook): Drop malloc_fork_child.
1129         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1130         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1131         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1132         after locking locks (notably hurd_dtable_lock). Call
1133         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1134         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1135         __malloc_fork_unlock_child.
1136         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1138 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1140         * soft-fp/extendhftf2.c: New.
1141         * soft-fp/fixhfti.c: Likewise.
1142         * soft-fp/fixunshfti.c: Likewise.
1143         * soft-fp/floattihf.c: Likewise.
1144         * soft-fp/floatuntihf.c: Likewise.
1145         * soft-fp/half.h: Likewise.
1146         * soft-fp/trunctfhf2.c: Likewise.
1148 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1150         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1151         macro.
1152         * math/libm-test.inc (issubnormal_test_data): New array.
1153         (issubnormal_test): New function.
1154         * manual/arith.texi (Floating Point Classes): Document
1155         issubnormal.
1156         * manual/libm-err-tab.pl: Update comment on interfaces without
1157         ulps tabulated.
1159         * sysdeps/generic/stdint.h: Define
1160         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1161         <bits/libc-header-start.h> instead of including <features.h>.
1162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1195         * manual/arith.texi (Integers): Document these macros for types
1196         specified by width properties.
1197         * manual/lang.texi (Width of Type): Document these macros for
1198         other standard typedefs.
1199         * stdlib/tst-width-stdint.c: New file.
1200         * stdlib/Makefile (tests): Add tst-width-stdint.
1202 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1204         [BZ #20016]
1205         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1206         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1207         Move ...
1208         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1209         ... here, as compatibility symbols in a new file.
1210         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1211         * resolv/res_init.c (__res_vinit): Adjust member names.
1212         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1213         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1214         (res_send_rhook): Remove.
1215         (struct __res_state): Rename qhook, rhook members.
1217 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1219         malloc: Use __libc_lock wrappers.
1220         * malloc/arena.c (list_lock, free_list_lock): Define using
1221         __libc_lock_define_initialized.
1222         (arena_lock): Adjust formatting.
1223         * malloc/malloc.c (struct malloc_state): Define mutex using
1224         __libc_lock_define.
1225         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1226         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1227         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1228         (mutex_unlock, mutex_trylock): Remove.
1229         (__pthread_initialize): Remove unused macro.
1230         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1231         (mutex_unlock, mutex_trylock): Remove.
1233 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1235         [BZ #20592]
1236         Remove RR type classification macros.
1237         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1238         (ns_t_udp_p, ns_t_xfr_p): Remove.
1240 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1242         Remove misleading version information.
1243         * resolv/arpa/nameser.h (__NAMESER): Remove.
1244         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1246 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1248         Remove the always-defined BIND_4_COMPAT macro.
1249         * resolv/arpa/nameser.h: Unconditionally include
1250         <arpa/nameser_compat.h>.
1251         (BIND_4_COMPAT): Remove.
1252         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1254 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1256         [BZ #20591]
1257         Remove obsolete DNSSEC support.
1258         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1259         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1260         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1261         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1262         (ns_cert_types): Add comment.
1263         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1264         separately.
1265         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1266         (dst_s_dns_key_id): Remove.
1267         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1268         variables.
1270 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1272         [BZ #20524]
1273         * manual/string.texi (String/Array Comparison): Clarify the
1274         strverscmp behavior.
1276 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1278         * test-skeleton.c (xasprintf): Add function.
1279         * io/tst-open-tmpfile.c: New test.
1280         * io/Makefile (tests): Add it.
1282 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1284         Avoid running $(CXX) during build to obtain header file paths.
1285         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1286         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1287         * Makerules (cstdlib, cmath): Remove variables.  Use
1288         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1289         * configure: Regenerate.
1291 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1293         * Makeconfig (all-object-suffixes): Include .op only if
1294         $(build-profile).
1296 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1298         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1299         conditionals.  Do not define PATH_MAX.
1301 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1303         * posix/Makefile (tests): Add tst-spawn3.
1304         * posix/tst-spawn3.c: New file.
1305         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1306         if it is already opened for open action.
1308         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1309         all signals when executing the clone vfork child.
1310         (SIGALL_SET): Remove macro.
1312         * nptl/Makefile (tests): Add tst-exec5.
1313         * nptl/tst-exec5.c: New file.
1314         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1315         asynchronous cancellation.
1317 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1319         * hurd/exc2signal.c: #include <hurd/signal.h>
1320         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1321         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1322         accordingly.
1323         * mach/mach_error.c (mach_error): Fix old-style function definition.
1324         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1326 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1328         * math/Makefile (libm-calls): Remove s_nanF.
1329         (gen-libm-calls): Add s_nanF.
1331         * math/s_nan.c: Refactor into ...
1332         * math/s_nan_template.c: New file.
1334         * math/s_nanf.c: Removed.
1335         * math/s_nanl.c: Removed.
1336         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1337         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1339         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1340         (LDOUBLE_nanl_libm_version): New macro.
1342         * sysdeps/generic/math-type-macros-double.h:
1343         (M_STRTO_NAN): New macro.
1344         * sysdeps/generic/math-type-macros-float.h: Likewise.
1345         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1347         * sysdeps/generic/math-type-macros.h: Document
1348         M_STRTO_NAN.
1350 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1352         * math/s_nanf.c: Remove __nanf undef.
1353         * math/s_nan.c: Remove __nan undef.
1354         * math/s_nanl.c: Remove __nanl undef.
1356         * sysdeps/generic/math_private.h (__nan): Remove macro
1357         override.
1358         (__nanf): Likewise.
1359         (__nanl): Likewise.
1361 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1363         * math/Makefile (gen-all-calls): New variable.
1364         (generated): Replace gen-libm-calls with gen-all-calls.
1365         (gen-libm-templates.stmp): Likewise.  Also, ensure
1366         the output directory exists or is created and add
1367         dependency on the Makefile.
1368         (calls): Move s_ldexpF into gen-calls.
1369         (gen-calls): New variable.
1371         * math/s_ldexpf.c: Removed.
1372         * math/s_ldexpl.c: Removed.
1373         * math/s_ldexp.c: Refactored into ...
1374         * math/s_ldexp_template.c: New file.
1376         * sysdeps/generic/math-type-macros-double.h: Remove
1377         redundant fall-through definition of declare_mgen_alias.
1378         (declare_mgen_alias_2): New macro.
1380         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1381         New macro for function aliased to two exported symbols.
1383         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1384         new template file.
1385         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1387 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1389         * Makeconfig (all-object-suffixes): Remove .og.
1390         * Makerules (elide-routines.og): Remove.
1391         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1392         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1393         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1395 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1397         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1398         .os objects.
1400 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1402         [BZ #20615]
1403         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1404         fpu directory by non-fpu.
1405         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1406         on non-fpu directory from a fpu directory.
1408 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1410         * include/limits.h: Define
1411         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1412         <bits/libc-header-start.h> instead of including <features.h>.
1413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1424         * manual/lang.texi (Width of Type): Document these macros.
1425         * stdlib/tst-width.c: New file.
1426         * stdlib/Makefile (tests): Add tst-width.
1428 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1430         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1431         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1433 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1435         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1436         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1437         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1439 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1441         [BZ #18243]
1442         * rt/Makefile (test): Add tst-shm-cancel.
1443         * rt/tst-shm-cancel.c: New file.
1444         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1446         [BZ #18243]
1447         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1448         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1449         definition.
1450         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1451         uncontended case.
1452         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1453         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1454         (tf): Fix check for uncontended case.
1455         (do_test): Likewise.
1456         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1457         (tf): Fix check for uncontended case.
1458         (do_test): Likewise.
1459         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1460         (tf): Fix check for uncontended case.
1461         (do_test): Likewise.
1462         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1463         (tf): Fix check for uncontended case.
1464         (do_test): Likewise.
1466         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1467         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1469         [BZ #15765]
1470         * nptl/Makefile (tests): Add tst-sem16.
1471         * nptl/tst-sem16.c: New file.
1472         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1474         * nptl/sem_open.c (sem_open): Init pad value to 0.
1475         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1476         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1478 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1480         [BZ #20611]
1481         * inet/Makefile (routines): Add inet6_scopeid_pton.
1482         (tests): Add tst-inet6_scopeid_pton.
1483         * inet/inet6_scopeid_pton.c: New file.
1484         * inet/net-internal.h: Likewise.
1485         * inet/tst-inet6_scopeid_pton.c: New test.
1486         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1487         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1490 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1492         Remove support for compiling wrappers with PTW.
1493         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1494         * nptl/Makefile (pthread-compat-wrappers): Define.
1495         (libpthread-routines): Use pthread-compat-wrappers.
1496         * sysdeps/unix/sysv/linux/alpha/Makefile
1497         (libpthread-routines, libpthread-shared-only-routines): Remove
1498         ptw- prefix.
1499         * sysdeps/s390/nptl/Makefile
1500         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1501         * sysdeps/ia64/nptl/Makefile
1502         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1503         * sysdeps/nacl/Makefile (libpthread-routines): Use
1504         pthread-compat-wrappers to filter the routines list instead of the
1505         ptw- prefix.
1507 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1509         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1510         with L() and remove explicit suffix, convert real literals
1511         which can be equivalentally substituted with integers, and
1512         transform -L(x) to L(-x).
1514         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1516         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1517         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1518         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1519         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1520         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1522         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1523         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1524         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1525         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1527         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1528         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1529         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1530         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1531         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1532         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1533         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1534         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1535         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1536         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1538         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1540         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1541         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1542         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1543         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1544         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1545         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1546         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1547         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1548         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1549         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1550         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1552         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1554         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1555         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1556         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1557         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1558         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1559         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1560         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1561         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1562         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1563         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1565 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1567         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1569 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1571         * malloc/Makefile (tests): Remove individual static test names
1572         and just add all of tests-static.
1574         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1576 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1578         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1579         file.
1581         * sysdeps/sparc/fpu/fegetmode.c: New file.
1582         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1584         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1585         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1587         * sysdeps/s390/fpu/fegetmode.c: New file.
1588         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1590         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1591         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1592         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1593         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1594         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1595         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1597         * sysdeps/mips/fpu/fegetmode.c: New file.
1598         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1600         * sysdeps/m68k/fpu/fegetmode.c: New file.
1601         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1603         * sysdeps/ia64/fpu/fegetmode.c: New file.
1604         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1606         * sysdeps/hppa/fpu/fegetmode.c: New file.
1607         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1609         * sysdeps/arm/fegetmode.c: New file.
1610         * sysdeps/arm/fesetmode.c: Likewise.
1612         * sysdeps/alpha/fpu/fegetmode.c: New file.
1613         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1615         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1616         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1618         * math/fegetmode.c: New file.
1619         * math/fesetmode.c: Likewise.
1620         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1621         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1622         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1623         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1624         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1626         declaration.
1627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1628         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1629         typedef.
1630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1631         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1632         (femode_t): New typedef.
1633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1634         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1635         (femode_t): New typedef.
1636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1637         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1638         (femode_t): New typedef.
1639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1640         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1641         (femode_t): New typedef.
1642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1643         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1644         (femode_t): New typedef.
1645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1646         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1647         (femode_t): New typedef.
1648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1649         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1650         (femode_t): New typedef.
1651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1652         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1653         (femode_t): New typedef.
1654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1655         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1656         (femode_t): New typedef.
1657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1658         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1659         (femode_t): New typedef.
1660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1661         declaration.
1662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1663         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1664         (femode_t): New typedef.
1665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1666         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1667         (femode_t): New typedef.
1668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1669         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1670         (femode_t): New typedef.
1671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1672         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1673         (femode_t): New typedef.
1674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1675         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1676         (femode_t): New typedef.
1677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1678         * manual/arith.texi (FE_DFL_MODE): Document macro.
1679         (fegetmode): Document function.
1680         (fesetmode): Likewise.
1681         * math/Versions (fegetmode): New libm symbol at version
1682         GLIBC_2.25.
1683         (fesetmode): Likewise.
1684         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1685         (tests): Add test-femode and test-femode-traps.
1686         * math/test-femode-traps.c: New file.
1687         * math/test-femode.c: Likewise.
1688         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1689         alias for __fe_dfl_env.
1690         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1691         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1692         (__fe_dfl_mode): Likewise.
1693         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1694         version GLIBC_2.25.
1695         * sysdeps/nacl/libm.abilist: Update.
1696         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1699         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1707         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1709         Likewise.
1710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1711         Likewise.
1712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1713         Likewise.
1714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1715         Likewise.
1716         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1717         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1718         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1726         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1727         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1729 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1731         [BZ #20495]
1732         [BZ #20508]
1733         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1734         processors, set Use_dl_runtime_resolve_slow and set
1735         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1736         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1737         New.
1738         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1739         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1740         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1741         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1742         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1743         if Use_dl_runtime_resolve_opt is set.  Use
1744         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1745         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1746         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1747         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1748         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1749         New.
1750         (_dl_runtime_resolve_opt): Likewise.
1751         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1752         defined.
1754 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1756         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1757         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1759 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1761         Convert malloc to __libc_lock.  Automated part, using this Perl
1762         s/// command:
1763           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1764             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1765         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1766         conversion.
1768 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1770         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1771         (linknamespace-symlists-tests): Likewise.
1772         (linknamespace-header-tests): Likewise.
1774 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1776         [BZ #19810]
1777         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1778         * elf/tst-noload.c: New test case.
1779         * elf/Makefile (tests): Add tst-noload.
1781 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1783         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1785         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1786         not any more.
1788         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1790 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1792         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1793         (do_cos_slow): Likewise.
1794         (do_sin): Likewise.
1795         (do_sin_slow): Likewise.
1796         (slow): Likewise.
1797         (slow1): Likewise.
1798         (slow2): Likewise.
1799         (sloww): Likewise.
1800         (sloww1): Likewise.
1801         (sloww2): Likewise.
1802         (bsloww): Likewise.
1803         (bsloww1): Likewise.
1804         (bsloww2): Likewise.
1805         (cslow2): Likewise.
1807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1809         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1810         arguments.  Consolidate input partitioning from callers here.
1811         (do_cos_slow): Likewise.
1812         (do_sin): Likewise.
1813         (do_sin_slow): Likewise.
1814         (do_sincos_1): Remove the no longer necessary input partitioning.
1815         (do_sincos_2): Likewise.
1816         (__sin): Likewise.
1817         (__cos): Likewise.
1818         (slow1): Likewise.
1819         (slow2): Likewise.
1820         (sloww1): Likewise.
1821         (sloww2): Likewise.
1822         (bsloww1): Likewise.
1823         (bsloww2): Likewise.
1824         (cslow2): Likewise.
1826 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1828         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1829         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1830         outside of allocated array.
1832 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1834         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1835         instead of MB_CUR_MAX to avoid variable-length array.
1837 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1839         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1840         (type-double-routines): Add k_rem_pio2.
1841         (type-float-routines): Add k_rem_pio2f.
1843         * sysdeps/generic/math_private.h:
1844         (__kernel_rem_pio2l): Removed.
1846         * math/k_rem_pio2l.c: Removed.
1847         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1848         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1849         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1850         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1852 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1854         * math/Makefile (gen-libm-calls): Add s_fmin
1855         (libm-calls): Remove above.
1857         * math/s_fmin.c: Refactor into ...
1858         * math/s_fmin_template.c: New file.
1860         * math/s_fminf.c: Removed.
1861         * math/s_fminl.c: Removed.
1862         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1863         (LDOUBLE_fmin_libm_version): New macro.
1865         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1866         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1868 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1870         * math/Makefile: (gen-libm-calls): Add s_fmax.
1871         (libm-calls): Remove above.
1873         * math/s_fmax.c: Refactor into ...
1874         * math/s_fmax_template.c: New file.
1875         * math/s_fmaxf.c: Removed.
1876         * math/s_fmaxl.c: Removed.
1878         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1879         (LDOUBLE_fmaxl_libm_version): New macro.
1881         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1882         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1884         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1885         s_fmin.c to pick the aarch64 version of the file.
1886         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1887         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1889 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1891         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1892         (libm-calls): Remove above.
1894         * math/s_nextdown.c: Refactor into ...
1895         * math/s_nextdown_template.c: New file.
1896         * math/s_nextdownf.c: Removed.
1897         * math/s_nextdownl.c: Removed.
1899         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1901 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1903         * math/Makefile (gen-libm-calls): Add s_fdim.
1904         (libm-calls): Move to above.
1906         * math/s_fdim.c: Renamed and refactored into to ...
1907         * math/s_fdim_template.c: New file.
1908         * math/s_fdiml.c: Removed.
1909         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1910         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1912         * sysdeps/generic/math-type-macros-double.h:
1913         (declare_mgen_alias): Don't declare if already declared.
1914         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1915         Likewise.
1917         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1918         (declare_mgen_alias): Don't declare if already declared.
1919         (M_LIBM_NEED_COMPAT): Likewise.
1920         (declare_mgen_libm_compat): Likewise.
1921         (LDOUBLE_fdiml_libm_version): New macro.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1924         Include math/s_fdim.c now that ldbl-opt version is not needed.
1925         (declare_mgen_alias): New macro to disable aliasing.
1927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1928         (declare_mgen_alias): Likewise.
1929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1930         (declare_mgen_alias): Likewise.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1932         (declare_mgen_alias): Likewise.
1933         (M_LIBM_NEED_COMPAT): Likewise.
1935 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1937         [BZ #20525]
1938         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1939         Include <linux/quota.h>.
1940         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1941         and btodb.
1942         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1943         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1944         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1945         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1946         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1947         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1948         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1949         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1950         types.
1951         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1952         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1954 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1957         (gammal_positive): Fix spacing.
1958         (__ieee754_gammal_r): Likewise.
1960 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1962         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1963         (_Float128): Define as long double, always.
1964         (L): Apply long double type suffix, always.
1966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1967         _Float128, excepting comments.
1969         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1970         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1971         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1972         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1973         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1974         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1975         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1977         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1978         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1979         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1980         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1981         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1983         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1984         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1985         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1986         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1987         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1988         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1989         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1990         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1991         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1992         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1993         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1994         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1995         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1996         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1997         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1998         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2000         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2001         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2002         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2003         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2004         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2005         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2006         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2007         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2008         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2009         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2011         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2012         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2013         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2014         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2015         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2016         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2017         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2018         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2019         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2020         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2023         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2024         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2025         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2026         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2027         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2029         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2031         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2033         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2034         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2035         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2036         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2038         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2039         _Float128, and include math_private.h.
2040         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2042         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2043         long double semantics.
2044         (_Float128): Likewise.
2045         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2046         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2048         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2050 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2052         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2053         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2054         * sysdeps/s390/configure: Regenerated.
2055         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2056         instruction for raising over-/underflow if z196 zarch is supported
2057         by default.
2058         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2060 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2062         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2063         it point to a dumb buffer for RPC to fill it.
2065 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2067         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2068         instead of if/else.
2069         (do_sin_slow): Likewise.
2070         (do_sincos_1): Use fabs instead of if/else.
2071         (do_sincos_2): Likewise.
2072         (__sin): Likewise.
2073         (__cos): Likewise.
2074         (slow2): Likewise.
2075         (sloww): Likewise.
2076         (sloww1): Likewise.  Drop argument M.
2077         (sloww2): Use fabs instead of if/else.
2078         (bsloww): Likewise.
2079         (bsloww1): Likewise.
2080         (bsloww2): Likewise.
2082         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2083         fall through comment.
2084         (do_sincos_1): Likewise.
2086         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2087         Consolidate switch cases 0 and 2.
2089 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2091         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2092         (libm-calls): Remove the above.
2094         * math/s_cexp_template.c: Update using type-generic macros.
2095         * math/s_clog10_template.c: Likewise.
2096         * math/s_cpow_template.c: Likewise.
2097         * math/s_clog_template.c: Likewise.
2098         * math/s_cproj_template.c: Likewise.
2099         * math/s_csqrt_template.c: Likewise.
2101         * math/s_cexp.c: Removed.
2102         * math/s_cexpf.c: Removed.
2103         * math/s_cexpl.c: Removed.
2104         * math/s_clog10.c: Removed.
2105         * math/s_clog10f.c: Removed.
2106         * math/s_clog10l.c: Removed.
2107         * math/s_cpow.c: Removed.
2108         * math/s_cpowf.c: Removed.
2109         * math/s_cpowl.c: Removed.
2110         * math/s_clog.c: Removed.
2111         * math/s_clogf.c: Removed.
2112         * math/s_clogl.c: Removed.
2113         * math/s_cproj.c: Removed.
2114         * math/s_cprojf.c: Removed.
2115         * math/s_cprojl.c: Removed.
2116         * math/s_csqrt.c: Removed.
2117         * math/s_csqrtf.c: Removed.
2118         * math/s_csqrtl.c: Removed.
2120         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2121         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2122         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2123         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2124         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2125         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2127         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2128         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2129         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2130         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2131         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2132         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2133         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2134         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2135         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2136         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2137         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2139         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2140         version.
2142         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2143         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2144         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2145         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2147 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2149         * s_cexp_template.c: Copy of s_cexp.c.
2150         * s_clog_template.c: Copy of s_clog.c.
2151         * s_clog10_template.c: Copy of s_clog10.c.
2152         * s_cpow_template.c: Copy of s_cpow.c.
2153         * s_cproj_template.c: Copy of s_cproj.c.
2154         * s_csqrt_template.c: Copy of s_csqrt.c.
2156 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2158         [BZ #20517]
2159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2160         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2161         exported.
2163 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2165         * math/fetestexceptflag.c: New file.
2166         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2167         Stefan Liebler.
2168         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2169         (fetestexceptflag): New function declaration.
2170         * manual/arith.texi (fetestexceptflag): Document function.
2171         * math/Versions (fetestexceptflag): New libm symbol at version
2172         GLIBC_2.25.
2173         * math/Makefile (libm-support): Add fetestexceptflag.
2174         (tests): Add test-fetestexceptflag.
2175         * math/test-fetestexceptflag.c: New file.
2176         * sysdeps/nacl/libm.abilist: Update.
2177         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2179         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2190         Likewise.
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2192         Likewise.
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2194         Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2196         Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2203         Likewise.
2204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2208         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2210 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2212         [BZ #20432]
2213         Avoid strong references to malloc-internal symbols when linking
2214         statically, to support statically interposed mallocs.
2215         * include/libc-symbols.h (call_function_static_weak): New macro.
2216         * malloc/Makefile (tests): Add tst-interpose-nothread,
2217         tst-interpose-thread, tst-interpose-static-nothread,
2218         tst-interpose-static-thread.
2219         (tests-static): Add tst-interpose-static-nothread,
2220         tst-interpose-static-thread.
2221         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2222         tst-interpose-aux-thread.o.
2223         (test-extras): Add tst-interpose-aux-nothread,
2224         tst-interpose-aux-thread.
2225         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2226         tst-interpose-aux-nothread.o.
2227         (tst-interpose-thread, tst-interpose-static-thread): Link with
2228         tst-interpose-aux-thread.o and libthread.
2229         * malloc/tst-interpose-aux-nothread.c: New file.
2230         * malloc/tst-interpose-aux-thread.c: Likewise.
2231         * malloc/tst-interpose-aux.c: Likewise.
2232         * malloc/tst-interpose-aux.h: Likewise.
2233         * malloc/tst-interpose-nothread.c: Likewise.
2234         * malloc/tst-interpose-skeleton.c: Likewise.
2235         * malloc/tst-interpose-static-nothread.c: Likewise.
2236         * malloc/tst-interpose-static-thread.c: Likewise.
2237         * malloc/tst-interpose-thread.c: Likewise.
2238         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2239         * sysdeps/mach/hurd/fork.c (__fork): Only call
2240         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2241         __malloc_fork_unlock_child if defined.
2242         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2244 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2246         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2247         timespec C99 designated initialization.
2249 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2251         [BZ #19946]
2252         Avoid expected SIGALRM signals.
2253         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2254         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2255         (xpthread_create, xpthread_detach, xpthread_join)
2256         (delayed_exit_thread, delayed_exit): New functions.
2257         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2258         (tf): Use xpthread_cond_wait.
2259         (do_test): Likewise.  Replace alarm with delayed_exit.
2260         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2261         (do_test): Call delayed_exit.  Report failure.
2262         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2263         (do_test): Call delayed_exit.
2264         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2265         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2266         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2267         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2268         error.
2269         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2270         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2271         error.
2272         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2273         (do_test): Call delayed_exit.
2274         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2275         (do_test): Call delayed_exit.
2276         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2277         (do_test): Call delayed_exit instead of alarm.  Use
2278         xpthread_mutex_lock.
2279         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2280         (do_test): Call delayed_exit instead of alarm.  Use
2281         xpthread_mutex_lock.
2282         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2283         (do_test): Call delayed_exit instead of alarm.
2284         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2285         (do_test): Call delayed_exit instead of alarm.  Use
2286         xpthread_spin_lock.
2287         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2288         (do_test): Call delayed_exit instead of alarm.  Use
2289         xpthread_join.
2291 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2293         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2294         adjust CFA when allocating register save area on re-aligned
2295         stack.
2297 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2299         * string/tst-cmp.c: New test.
2300         * string/Makefile (tests): Add it.
2302 2016-08-25  Mark Wielaard  <mark@klomp.org>
2304         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2305         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2306         (check_tree_recurse): Use newly defined accessors.
2307         (check_tree): Likewise.
2308         (maybe_split_for_insert): Likewise.
2309         (__tfind): Likewise.
2310         (__tdelete): Likewise.
2311         (trecurse): Likewise.
2312         (tdestroy_recurse): Likewise.
2313         (__tsearch): Likewise. And add asserts for malloc alignment.
2314         (__twalk): Cast root to node in case CHECK_TREE is defined.
2316 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2318         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2320 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2322         * math/Makefile (libm-gen-calls): Add
2323         catan, catanh, ctan, ctanh.
2324         (libm-calls): Remove the above.
2326         * math/s_catan_template.c: Update using type-generic macros.
2327         * math/s_catanh_template.c: Likewise.
2328         * math/s_ctan_template.c: Likewise.
2329         * math/s_ctanh_template.c: Likewise.
2331         * math/s_catanf.c: Removed.
2332         * math/s_catan.c: Removed.
2333         * math/s_catanl.c: Removed.
2334         * math/s_catanhf.c: Removed.
2335         * math/s_catanh.c: Removed.
2336         * math/s_catanhl.c: Removed.
2337         * math/s_ctanf.c: Removed.
2338         * math/s_ctan.c: Removed.
2339         * math/s_ctanl.c: Removed.
2340         * math/s_ctanhf.c: Removed.
2341         * math/s_ctanh.c: Removed.
2342         * math/s_ctanhl.c: Removed.
2344         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2345         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2346         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2347         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2348         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2349         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2351         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2352         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2353         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2354         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2356 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2358         * s_catan_template.c: Copy of s_catan.c.
2359         * s_catanh_template.c: Copy of s_catanh.c.
2360         * s_ctan_template.c: Copy of s_ctan.c.
2361         * s_ctanh_template.c: Copy of s_ctanh.c.
2363 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2365         * math/Makefile (gen-libm-calls): Move
2366         casin, casinh, csin, csinh here.
2367         (libm-calls): Remove the above.
2369         * math/s_casin_template.c: Update using type-generic macros.
2370         * math/s_casinh_template.c: Likewise.
2371         * math/s_csin_template.c: Likewise.
2372         * math/s_csinh_template.c: Likewise.
2373         * math/k_casinh_template.c: Likewise.
2375         * math/s_casinf.c: Removed.
2376         * math/s_casin.c: Removed.
2377         * math/s_casinl.c: Removed.
2378         * math/s_casinh.c: Removed.
2379         * math/s_casinhf.c: Removed.
2380         * math/s_casinhl.c: Removed.
2381         * math/s_csin.c: Removed.
2382         * math/s_csinf.c: Removed.
2383         * math/s_csinl.c: Removed.
2384         * math/s_csinh.c: Removed.
2385         * math/s_csinhf.c: Removed.
2386         * math/s_csinhl.c: Removed.
2387         * math/k_casinh.c: Removed.
2388         * math/k_casinhf.c: Removed.
2389         * math/k_casinhl.c: Removed.
2391         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2392         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2393         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2394         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2396         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2397         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2398         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2399         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2400         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2401         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2402         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2403         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2405         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2406         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2407         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2408         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2410         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2411         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2412         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2413         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2415 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2417         * s_casin_template.c: Copy of s_casin.c.
2418         * s_casinh_template.c: Copy of s_casinh.c.
2419         * s_csin_template.c: Copy of s_csin.c.
2420         * s_csinh_template.c: Copy of s_csinh.c.
2421         * k_casinh_template.c: Copy of k_casinh.c.
2423 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2425         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2427 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2429         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2430         (mul_split) Remove, rename as mul_splitl, remove
2431         redundant float.h include, and include via mul_splitl.h
2433         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2434         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2435         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2436         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2437         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2439         * math/mul_splitl.h: New file.
2441         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2442         Move into mul_split.h, and remove redundant float.h include.
2444         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2445         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2446         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2447         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2449         * math/mul_split.h: New file.
2451 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2453         * math/Makefile (libm-gen-calls): Move
2454         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2455         (libm-calls): Remove above.
2457         * math/s_cacos_template.c: Update using type-generic macros.
2458         * math/s_cacosh_template.c: Likewise.
2459         * math/s_ccos_template.c: Likewise.
2460         * math/s_ccosh_template.c: Likwise.
2462         * math/s_cacosf.c: Removed.
2463         * math/s_cacos.c: Removed.
2464         * math/s_cacosl.c: Removed.
2465         * math/s_cacoshf.c: Removed.
2466         * math/s_cacosh.c: Removed.
2467         * math/s_cacoshl.c: Removed.
2468         * math/s_ccosf.c: Removed.
2469         * math/s_ccos.c: Removed.
2470         * math/s_ccosl.c: Removed.
2471         * math/s_ccoshf.c: Removed.
2472         * math/s_ccosh.c: Removed.
2473         * math/s_ccoshl.c: Removed.
2475         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2476         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2477         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2478         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2479         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2480         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2482         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2483         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2484         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2485         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2487         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2488         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2489         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2490         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2492 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2494         * s_cacos_template.c: Copy of s_cacos.c.
2495         * s_cacosh_template.c: Copy of s_cacosh.c.
2496         * s_ccos_template.c: Copy of s_ccos.c.
2497         * s_ccosh_template.c: Copy of s_ccosh.c.
2499 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2501         * stdlib/tst-strtod-round-skeleton.c:
2502         Refactored from tst-strtod-round.c.
2504         (L_): New macro to apply literal modifier.
2505         (FNPFX): New macro to select str or wcs prefix.
2506         (CHAR): New macro to choose wchar_t or char.
2507         (STRM): New macro to choose printf for tested character type.
2509         (STRTO): New macro to choose appropriate string -> real function.
2510         (FNPFXS): Stringitized version of FNPFX.
2511         (STR): Support for above macro.
2512         (STRX): Likewise.
2514         (TEST): Update with above macros.
2515         (test): Likewise.
2516         (GEN_ONE_TEST): Likewise.
2517         (test_in_one_mode): Likewise.
2519         * stdlib/tst-strtod-round.c: New file.
2520         * wcsmbs/tst-wcstod-round.c: New file.
2522         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2523         (tst-wcstod-round): Add libm depencency for fesetround.
2525 2016-08-19  Zack Weinberg  <zackw@panix.com>
2527         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2529 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2531         [BZ #20477]
2532         * resolv/res_hconf.c (do_init): Use atomic access.
2533         * resolv/res_hconf.h: Add comments.
2534         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2535         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2538 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2540         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2541         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2543         Likewise.
2545 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2547         [BZ #16907]
2548         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2549         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2550         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2551         (__attribute__): Remove definition.
2553 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2555         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2556         Remove unused sqrtl declaration.
2558 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2560         * math/Makefile: (gen-libm-templates.stmp): New rule.
2561         (libm-calls): Move carg conj cimag and cabs into ...
2562         (gen-libm-calls): New variable.
2563         (generated): Inform Make objects from gen-libm-calls
2564         may be generated.
2566         * sysdeps/generic/math-type-macros.h: New file.
2567         * sysdeps/generic/math-type-macros-float.h: Likewise.
2568         * sysdeps/generic/math-type-macros-double.h: Likewise.
2569         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2570         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2571         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2573         * math/cabs.c: Refactor into
2574         * math/cabs_template.c: new file.
2575         * math/cabsf.c: Removed.
2576         * math/cabsl.c: Removed.
2577         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2578         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2580         * math/carg.c: Refactor into
2581         * math/carg_template.c: new file.
2582         * math/cargf.c: Removed.
2583         * math/cargl.c: Removed.
2584         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2585         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2587         * math/conj.c: Refactor into
2588         * math/conj_template.c: new file.
2589         * math/conjf.c: Removed.
2590         * math/conjl.c: Removed.
2591         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2592         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2594         * math/cimag.c: Refactor into
2595         * math/cimag_template.c: new file.
2596         * math/cimagf.c: Removed.
2597         * math/cimagl.c: Removed.
2598         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2599         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2601         * math/cimag.c: Refactor into
2602         * math/cimag_template.c: new file.
2603         * math/cimagf.c: Removed.
2604         * math/cimagl.c: Removed.
2605         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2606         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2608 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2610         Reduce time to expected nptl/tst-once5 failure.
2611         * nptl/tst-once5.cc (TIMEOUT): Define.
2613 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2615         [BZ #20452]
2616         Avoid additional copies of objects in libc.a in static libraries.
2617         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2618         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2619         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2620         rt-sysdep.
2621         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2622         Add nptl-sysdep.
2623         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2624         Add ptw-sysdep.
2625         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2626         rt-sysdep.
2627         * sysdeps/unix/sysv/linux/alpha/Makefile
2628         (libpthread-shared-only-routines): Add ptw-sysdep,
2629         ptw-sigprocmask, ptw-rt_sigaction.
2630         * sysdeps/unix/sysv/linux/ia64/Makefile
2631         (librt-shared-only-routines): Add rt-sysdep.
2632         * sysdeps/unix/sysv/linux/i386/Makefile
2633         (libpthread-shared-only-routines): Add libc-do-syscall.
2634         * sysdeps/unix/sysv/linux/microblaze/Makefile
2635         (libpthread-shared-only-routines): Add sysdep.
2636         * sysdeps/unix/sysv/linux/powerpc/Makefile
2637         (librt-shared-only-routines): Add rt-sysdep.
2638         (libpthread-shared-only-routines): Add sysdep.
2639         * sysdeps/unix/sysv/linux/s390/Makefile
2640         (librt-shared-only-routines): Add rt-sysdep.
2641         * sysdeps/unix/sysv/linux/sparc/Makefile
2642         (librt-shared-only-routines): Add rt-sysdep.
2643         (libpthread-shared-only-routines): Add sysdep.
2644         * sysdeps/unix/sysv/linux/tile/Makefile
2645         (libpthread-shared-only-routines): Likewise.
2647 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2649         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2650         Mask implicit bit out of unpacked value.
2651         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2655         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2657         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2659         * sysdeps/s390/fpu/fesetexcept.c: New file.
2661         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2662         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2663         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2665         * sysdeps/mips/fpu/fesetexcept.c: New file.
2667         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2669         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2671         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2673         * sysdeps/arm/fesetexcept.c: New file.
2675         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2677         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2679         * math/fesetexcept.c: New file.
2680         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2681         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2682         * math/fenv.h: Define
2683         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2684         <bits/libc-header-start.h> instead of including <features.h>.
2685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2686         declaration.
2687         * manual/arith.texi (fesetexcept): Document function.
2688         * math/Versions (fesetexcept): New libm symbol at version
2689         GLIBC_2.25.
2690         * math/Makefile (libm-support): Add fesetexcept.
2691         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2692         * math/test-fesetexcept.c: New file.
2693         * math/test-fesetexcept-traps.c: Likewise.
2694         * sysdeps/nacl/libm.abilist: Update.
2695         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2697         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2699         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2700         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2701         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2703         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2708         Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2710         Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2712         Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2714         Likewise.
2715         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2728 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2730         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2731         New.
2732         (do_test): Apply default_stack_size_in_mb if not set.
2733         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2735 2016-08-15  Andreas Schwab  <schwab@suse.de>
2737         [BZ #20435]
2738         CVE-2016-6323
2739         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2740         as .cantunwind.
2742 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2744         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2745         comment from fraiseexcpt.c.
2747         * math/test-fexcept.c (feraiseexcept_exact): New function.
2748         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2749         (test_except): Likewise.
2751 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2753         [BZ #20455]
2754         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2755         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2756         to be restored.
2758         * math/test-fexcept-traps.c: New file.
2759         * math/test-fexcept.c: Likewise.
2760         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2761         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2762         macro.
2763         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2764         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2766 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2768         * include/atomic.h (atomic_fetch_and_relaxed,
2769         atomic_fetch_and_release, atomic_fetch_or_release,
2770         atomic_fetch_xor_release): New.
2772 2016-08-06  Christian Seiler  <christian@iwakd.de>
2774         [BZ #20444]
2775         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2776         MACH_PORT_NULL.
2778 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2780         * math/s_fdim.c: Avoid alias renamed.
2781         * math/s_fdimf.c: Likewise.
2782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2783         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2784         Add s_fdimf-vis3, s_fdim-vis3.
2785         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2786         (CFLAGS-s_fdim-vis3.c): Likewise.
2787         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2788         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2790 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2793         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2794         Remove s_fdimf-vis3, s_fdim-vis3.
2795         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2796         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2803         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2804         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2806 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2808         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2809         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2810         -Wa,-Av9a -mvis.
2812 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2814         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2815         LIT() to individual constants in simple expressions
2816         after splitting on spaces.
2817         (_apply_lit): Rename replaced version, and use it to
2818         apply to what appears to be a token.
2820         * math/libm-test.inc: Fix many, many issues with
2821         spacing.
2823 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2825         * math/math.h: Move comment about <bits/mathdef.h> definitions
2826         above inclusion of <bits/mathdef.h>.  Do not mention
2827         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2829 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2831         * include/atomic.h (atomic_exchange_relaxed): New.
2833 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2835         * math/e_scalb.c: Do not include <fenv.h>.
2836         (invalid_fn): Do calculation resulting in NaN instead of raising
2837         FE_INVALID and returning a NaN explicitly.
2838         * math/e_scalbf.c: Do not include <fenv.h>.
2839         (invalid_fn): Do calculation resulting in NaN instead of raising
2840         FE_INVALID and returning a NaN explicitly.
2841         * math/e_scalbl.c: Do not include <fenv.h>.
2842         (invalid_fn): Do calculation resulting in NaN instead of raising
2843         FE_INVALID and returning a NaN explicitly.
2845 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2847         * po/de.po: Updated from Translation Project.
2848         * po/fi.po: Likewise.
2849         * po/sv.po: Likewise.
2851 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2853         [BZ #20452]
2854         Use sysdep.o from libc.a in static libraries.
2855         * sysdeps/unix/sysv/linux/i386/Makefile
2856         (libpthread-shared-only-routines): Add sysdep.
2857         (librt-shared-only-routines): Likewise.
2859 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2861         * math/tgmath.h (nextdown): Define if
2862         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2863         (nextup): Likewise.
2865         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2866         macro.
2867         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2868         Document.
2869         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2870         Document macro.
2871         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2872         (exp10f): Likewise.
2873         (exp10l): Likewise.
2874         * math/bits/mathcalls.h (exp10): Declare if
2875         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2877         * manual/arith.texi (nextup): Fix typo in last change.
2879 2016-08-03  Zack Weinberg  <zackw@panix.com>
2881         [BZ #19239]
2882         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2883         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2884         define major, minor, and makedev to issue deprecation warnings on use.
2885         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2886         previously-activated deprecation warnings for these macros and prevent
2887         subsequent inclusions of this header from having any effect.
2888         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2889         including <sys/sysmacros.h>, and undefine it again afterward.
2891 2016-08-03  Zack Weinberg  <zackw@panix.com>
2893         * sysdeps/generic/sys/sysmacros.h: Delete file.
2894         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2895         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2896         * bits/sysmacros.h: ... here; this encoding is now the generic
2897         encoding.  Now defines only the following macros:
2898         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2899         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2900         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2902         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2903         bits/sysmacros.h and the above new macros to generate the
2904         public implementations of major, minor, and makedev.
2905         * misc/tst-makedev.c: New test.
2906         * include/sys/sysmacros.h: New wrapper.
2908         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2909         (routines): Add makedev.
2910         (tests): Add tst-makedev.
2911         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2912         gnu_dev_makedev.
2913         * posix/Makefile (headers): Remove sys/sysmacros.h.
2914         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2916         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2917         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2919         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2920         * sysdeps/unix/sysv/linux/arm/libc.abilist
2921         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2922         * sysdeps/unix/sysv/linux/i386/libc.abilist
2923         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2924         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2925         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2926         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2927         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2928         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2929         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2930         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2931         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2936         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2938         * sysdeps/unix/sysv/linux/sh/libc.abilist
2939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2943         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2944         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2945         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2946         Add GLIBC_2.25.
2948         * include/features.h (__glibc_clang_prereq): New macro.
2949         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2950         (__attribute_deprecated_msg__): New macros.
2952 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2954         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2955         macro.
2956         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2957         * manual/arith.texi (issignaling): Document as ISO from TS
2958         18661-1:2014.
2959         (nextup): Likewise.
2960         (nextupf): Likewise.
2961         (nextupl): Likewise.
2962         (nextdown): Likewise.
2963         (nextdownf): Likewise.
2964         (nextdownl): Likewise.
2965         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2966         macro.
2967         * math/math.h: Define
2968         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2969         <bits/libc-header-start.h> instead of including <features.h>.
2970         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2971         [__USE_GNU].
2972         * math/bits/mathcalls.h (nextdown): Declare if
2973         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2974         (nextup): Likewise.
2975         (__issignaling): Likewise.
2977 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2979         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2980         check, and remove __glibc_likely hint
2981         from FP_INFINITE check.
2982         * s_csinhf.c (__csinhf): Likewise.
2984         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2985         hint from FP_INFINITE check.
2986         * s_csinhl.c (__csinhl): Likewise.
2988 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2990         * math/Makefile (libm-calls): Insert F placeholder into
2991         object names.  Move w_lgamma_compat* routines into
2992         (libm-compat-calls): New variable.
2993         (libm-compat-calls-ldouble-yes): New variable.
2994         (calls): Insert F placeholder.
2995         (generated): Redefine using new type-foreach macro call.
2996         (routines): Likewise.
2998         (types): New variable to hold a list of symbolic names
2999         for each type supported by the target machine.
3000         (libm-routines): Redefine using new types variable.
3001         (type-foreach): macro to replace fooF with the
3002         appropriately suffixed foo for each types.
3004         (type-ldouble-suffix): New variable.
3005         (type-ldouble-routines): Likewise.
3006         (type-ldouble-yes): Likewise.
3007         (type-double-suffix): Likewise.
3008         (type-double-routines): Likewise.
3009         (type-float-suffix): Likewise.
3010         (type-float-routines): Likewise.
3012         (dbl-only-routines): Remove.
3013         (long-c-yes): Likewise.
3014         (long-m-routines): Likewise.
3015         (long-m-support): Likewise.
3016         (long-m-yes): Likewise.
3017         (test-longdouble-yes): Likewise.
3019         (test-float.o): Simplify by increasing the scope of the
3020         recipe which adds libm-test.stmp to the vector types.
3021         (test-ifloat.o): Likewise.
3022         (test-float-finite.o): Likewise.
3023         (test-double.o): Likewise
3024         (test-idouble.o): Likewise.
3025         (test-double-finite.o): Likewise.
3026         (test-ldouble.o): Likewise
3027         (test-ildoubl.o): Likewise.
3028         (test-ldouble-finite.o): Likewise.
3030         (libm-tests): Redefine type tests using foreach and the
3031         list of types in types.
3033         (CPPFLAGS-test-ildoubl.c): Rename to
3034         (CPPFLAGS-test-ildouble.c): New variable
3036         * math/test-ildoubl.c: Rename to
3037         * math/test-ildouble.c: New file.
3039 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3041         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3042         Use fabsl instead of fabs.
3043         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3044         Likewise.
3045         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3046         Add long double suffix to constant to ensure proper
3047         promotion to long double.
3049 2016-08-03  Tom Tromey  <tom@tromey.com>
3051         [BZ #20311]
3052         * nptl_db/Makefile (headers): Add proc_service.h.
3053         * nptl_db/proc_service.h: Add include guard.  Use
3054         __BEGIN/__END_DECLS.
3055         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3056         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3057         arguments.
3060 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3062         [BZ #17730]
3063         Avoid using memalign for TCB allocations.
3064         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3065         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3066         Avoid alignment gap in the TLS_DTV_AT_TP case.
3067         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3068         determine the pointer to free.
3069         * nptl/tst-tls3-malloc.c: New test.
3070         * nptl/Makefile (tests): Add it.
3071         (tst-tls3-malloc): Link with libdl, libpthread.
3072         (LDFLAGS-tst-tls3-malloc): Set.
3073         (tst-tls3-malloc.out): Depend on DSO used in test.
3075 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3077         [BZ #17730]
3078         Avoid using memalign for TLS allocations.
3079         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3080         is_static member with to_free member.
3081         (union dtv): Use struct dtv_pointer.
3082         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3083         dtv_pointer instead of is_static.
3084         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3085         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3086         instead of val.
3087         (allocate_dtv_entry): New function.
3088         (allocate_and_init): Return struct dtv_pointer.  Call
3089         allocate_dtv_entry instead of __libc_memalign.
3090         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3091         instead of val.
3092         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3093         instead of is_static.  Adjust call to allocate_and_init.
3094         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3095         struct dtv_pointer instead of val.
3097 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3099         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3100         (MALLOC_ALIGN_MASK): Move ...
3101         * malloc/malloc-internal.h: ... to here.
3102         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3104 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3106         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3107         (UDP_ENCAP_GTP1U): Likewise.
3109         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3110         (PF_MAX): Update value.
3111         (AF_QIPCRTR): New macro.
3113 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3115         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3116         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3117         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3119         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3120         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3121         s_truncf-vis3, s_trunc-vis3.
3122         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3123         (CFLAGS-s_ceil-vis3.c): Likewise.
3124         (CFLAGS-s_floorf-vis3.c): Likewise.
3125         (CFLAGS-s_floor-vis3.c): Likewise.
3126         (CFLAGS-s_truncf-vis3.c): Likewise.
3127         (CFLAGS-s_trunc-vis3.c): Likewise.
3128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3136         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3137         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3138         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3139         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3141 2016-08-02  David S. Miller  <davem@davemloft.net>
3143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3144         (__nearbyint_vis3): Don't check for sNaN before float register is
3145         loaded with the incoming argument.
3146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3147         (__nearbyintf_vis3): Likewise.
3148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3149         Likewise.
3150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3151         Likewise.
3153         * string/test-strncmp.c (do_test_limit): Make sure the test data
3154         stream is aligned as required for the type "CHAR".
3155         (do_test): Likewise.
3157 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3159         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3160         by beq instructions jumping to the end of the function.
3161         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3162         clobber list. Use "i" constraint instead of "X".
3163         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3164         of "X".
3166 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3168         * bits/libc-header-start.h: New file.
3169         * Makefile (headers): Add bits/libc-header-start.h.
3170         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3171         (__GLIBC_USE): New macro.
3172         * libio/stdio.h: Define
3173         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3174         <bits/libc-header-start.h> instead of including <features.h>.
3175         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3176         (open_memstream): Likewise.
3177         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3178         (__asprintf): Likewise.
3179         (asprintf): Likewise.
3180         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3181         (getdelim): Likewise.
3182         (getline): Likewise.
3183         * string/string.h: Define
3184         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3185         <bits/libc-header-start.h> instead of including <features.h>.
3186         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3187         (strndup): Likewise.
3188         * wcsmbs/wchar.h: Define
3189         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3190         <bits/libc-header-start.h> instead of including <features.h>.
3191         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3192         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3194 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3196         Support linking against compatibility symbols, for use in tests.
3197         * include/libc-symbols.h (symbol_version_reference): New macro.
3198         (symbol_version): Use it.
3199         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3200         (compat_symbol): Use compat_symbol_reference.
3201         (compat_symbol_1, compat_symbol_2): Remove.
3202         (compat_symbol_reference, compat_symbol_reference_1)
3203         (compat_symbol_reference_2): New macro.  Use
3204         symbol_version_reference.
3206 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3208         [BZ #19469]
3209         * malloc/Makefile (CPPFLAGS): Compile tests with
3210         -DTEST_NO_MALLOPT.
3211         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3213 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3215         [BZ #20033]
3216         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3217         finite version.
3218         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3219         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3220         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3221         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3222         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3223         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3224         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3225         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3227         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3229         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3230         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3231         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3232         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3234         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3235         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3236         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3237         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3238         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3239         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3240         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3241         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3242         in zero power.
3244 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3246         [BZ #20370]
3247         * malloc/arena.c (get_free_list): Update comment.  Assert that
3248         arenas on the free list have no attached threads.
3249         (remove_from_free_list): New function.
3250         (reused_arena): Call it.
3252 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3254         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3255         when it is a NaN.
3256         [_IEEE_FP_INEXACT] Remove.
3257         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3258         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3259         when it is a NaN.
3260         [_IEEE_FP_INEXACT] Remove.
3261         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3262         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3263         when it is a NaN.
3264         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3265         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3266         when its absolute value is greater than 0x1.0p52.
3267         [_IEEE_FP_INEXACT] Remove.
3268         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3269         when its absolute value is greater than 0x1.0p23.
3270         [_IEEE_FP_INEXACT] Remove.
3272 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3274         * version.h (RELEASE): Set to "development"
3275         (VERSION): Set to 2.24.90.
3276         * NEWS: Add 2.25 section.
3278         * version.h (RELEASE): Set to "stable"
3279         (VERSION): Set to 2.24.
3280         * include/features.h (__GLIBC_MINOR__): Set to 24.
3282         * NEWS: Add 2.24 fixed bugs.
3283         * po/libc.pot: Regenerate.
3285 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3288         [$(subdir) = math] (libm-sysdep_routines): Remove.
3289         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3290         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3291         s_truncf-vis3, s_trunc-vis3.
3292         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3294         file.
3295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3328         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3329         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3330         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3331         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3332         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3333         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3334         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3335         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3336         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3337         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3339 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3341         [BZ #20384]
3342         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3343         test-double-libmvec-sincos-avx-main.o,
3344         test-double-libmvec-sincos-avx2-main.o,
3345         test-double-libmvec-sincos-main.o,
3346         test-float-libmvec-sincosf-avx-main.o,
3347         test-float-libmvec-sincosf-avx2-main.o and
3348         test-float-libmvec-sincosf-main.o.
3349         test-float-libmvec-sincosf-avx512-main.o.
3350         ($(objpfx)test-double-libmvec-sincos): Also link with
3351         $(objpfx)test-double-libmvec-sincos-main.o.
3352         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3353         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3354         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3355         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3356         ($(objpfx)test-float-libmvec-sincosf): Also link with
3357         $(objpfx)test-float-libmvec-sincosf-main.o.
3358         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3359         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3360         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3361         test-double-libmvec-sincos-avx512-main.o and
3362         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3363         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3364         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3365         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3366         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3367         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3368         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3369         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3370         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3371         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3372         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3373         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3374         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3375         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3376         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3377         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3378         -DREQUIRE_AVX2.
3379         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3380         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3381         -DREQUIRE_AVX512F.
3382         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3383         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3384         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3385         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3386         file.
3387         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3388         Likewise.
3389         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3390         Likewise.
3391         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3392         Likewise.
3393         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3394         Likewise.
3395         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3396         Likewise.
3397         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3398         Likewise.
3399         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3400         Likewise.
3402 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3404         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3406 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3408         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3409         and typo in a comment about AT_HWCAP entry.
3411 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3413         * sysdeps/aarch64/libm-test-ulps: Updated.
3415 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3417         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3418         of r13 as it is not restored in mvcle case.
3420 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3422         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3423         Rename "ret" to "__ret".
3424         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3425         inline_syscall5, inline_syscall6): Likewise.
3427 2016-07-19   Will Newton  <will.newton@gmail.com>
3429         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3430         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3431         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3432         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3433         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3435 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3437         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3438         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3439         -mfpmath=387 with $(rtld-CFLAGS).
3440         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3441         $(rtld-CFLAGS).
3443 2016-07-18   Ross Burton  <ross.burton@intel.com>
3444              Khem Raj  <raj.khem@gmail.com>
3446         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3447         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3448         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3449         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3450         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3451         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3452         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3453         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3454         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3455         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3456         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3457         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3458         R_METAG_TLS_DTPOFF): New.
3460 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3461             Matt Clay  <mclay@lycos.com>
3463         [BZ #20357]
3464         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3465         to call __mpsin/__mpcos and to negate values.
3466         * math/auto-libm-test-in: Add test.
3467         * math/auto-libm-test-out: Regenerate.
3469 2016-07-18  Zack Weinberg  <zackw@panix.com>
3471         * grp/Makefile: Don't install the internal header grp-merge.h.
3473 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3475         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3477 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3479         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3481 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3483         [BZ #15368]
3484         * sysdeps/unix/sysv/linux/nptl-signals.h
3485         (__nptl_clear_internal_signals): New function.
3486         (__libc_signal_block_all): Likewise.
3487         (__libc_signal_block_app): Likewise.
3488         (__libc_signal_restore_set): Likewise.
3489         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3490         implementation.
3491         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3492         the cached pid/tid value in pthread structure.
3494 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3496         [BZ #20347]
3497         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3499 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3501         [BZ #20348]
3502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3503         preadv64, pwrite64 and pwritev64.
3505 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3507         [BZ #20350]
3508         * posix/tst-preadwrite.c: Renamed to ...
3509         * posix/tst-preadwrite-common.c: This.
3510         (PREAD): Removed.
3511         (PWRITE): Likewise.
3512         (STRINGIFY): Likewise.
3513         (STRINGIFY2): Likewise.
3514         (do_prepare): Make it static and remove function arguments.
3515         (do_test): Likewise.
3516         (PREPARE): Updated.
3517         (TEST_FUNCTION): New.
3518         (name): Make it static.
3519         (fd): Likewise.
3520         (do_prepare): Use create_temp_file.
3521         (do_test): Renamed to ...
3522         (do_test_with_offset): This.  Make it static and accept offset.
3523         Properly check return value of PWRITE and PREAD.  Return bytes
3524         read.  Don't close fd nor unlink name.
3525         * posix/tst-preadwrite.c: Rewrite.
3526         * posix/tst-preadwrite64.c: Likewise.
3528 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3530         [BZ #20309]
3531         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3532         -mtls-dialect=gnu2 works.
3533         * configure: Regenerated.
3534         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3535         (tests): Add tst-gnu2-tls1.
3536         (modules-names): Add tst-gnu2-tls1mod.
3537         ($(objpfx)tst-gnu2-tls1): New.
3538         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3539         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3540         * elf/tst-gnu2-tls1.c: New file.
3541         * elf/tst-gnu2-tls1mod.c: Likewise.
3542         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3543         bytes for push in the PLT entry to align the stack.
3545 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3547         [BZ #20349]
3548         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3550 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3552         [BZ #18707]
3553         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3554         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3556 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3558         * sysdeps/unix/sysv/linux/sysdep.h
3559         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3560         guards.
3561         * misc/tst-preadvwritev-common.c: New file.
3562         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3563         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3564         a check for files larger than 2GB.
3566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3567         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3568         * sysdeps/unix/sysv/linux/pread.c
3569         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3570         __OFF_T_MATCHES_OFF64_T.
3571         * sysdeps/unix/sysv/linux/pread64.c
3572         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3573         * sysdeps/unix/sysv/linux/preadv.c
3574         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3575         * sysdeps/unix/sysv/linux/preadv64.c
3576         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3577         * sysdeps/unix/sysv/linux/pwrite.c
3578         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3579         * sysdeps/unix/sysv/linux/pwrite64.c
3580         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3581         * sysdeps/unix/sysv/linux/pwritev.c
3582         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3583         * sysdeps/unix/sysv/linux/pwritev64.c
3584         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3586 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3588         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3589         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3591 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3593         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3595 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3597         [BZ #20240]
3598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3599         (CFLAGS-s_modf-ppc32.c): New variable.
3600         (CFLAGS-s_modff-ppc32.c): Likewise.
3601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3602         (CFLAGS-s_modf-ppc64.c): Likewise.
3603         (CFLAGS-s_modff-ppc64.c): Likewise.
3605 2016-07-07  Andreas Schwab  <schwab@suse.de>
3607         [BZ #20263]
3608         * nptl/tst-robust10.c: New test.
3609         * nptl/Makefile (tests): Add tst-robust10.
3611 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3613         [BZ #20263]
3614         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3616 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3618         * sysdeps/s390/linkmap.h (struct link_map_machine):
3619         Remove member gotplt and add member jmprel.
3620         * sysdeps/s390/s390-32/dl-machine.h
3621         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3622         instead of gotplt with &got[3].
3623         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3624         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3626 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3628         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3630 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3632         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3633         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3634         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3635         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3636         * libio/vtables.c (_IO_vtable_check)
3637         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3638         * libio/libioP.h (IO_set_accept_foreign_vtables)
3639         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3641 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3643         [BZ #20314]
3644         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3645         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3646         $(common-objpfx)cmath.
3647         ($(common-objpfx)cstdlib): New target.
3648         ($(common-objpfx)cmath): Likewise.
3650 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3652         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3654 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3656         [BZ #20327]
3657         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3658         are not part of the string.
3660 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3662         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3663         * nptl/tst-cancel4-common.h (fifoname): New variable.
3664         (fifofd): Likewise.
3665         (cl_fifo): New function.
3666         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3667         SIGINT.
3668         (tf_open): Add early cancel test.
3670 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3672         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3674 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3676         * sysdeps/generic/ldsodefs.h
3677         (dl_symbol_visibility_binds_local_p): New inline function.
3678         * elf/dl-addr.c (determine_info): Treat hidden and internal
3679         symbols as local.
3680         * elf/dl-lookup.c (do_lookup_x): Likewise.
3681         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3683 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3685         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3686         invalid exception for a sNaN input.
3687         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3688         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3689         (__nearbyint_vis3): Likewise
3690         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3691         (__nearbyintf_vis3): Likewise
3692         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3693         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3694         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3695         Likewise.
3696         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3697         Likewise.
3699 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3701         [BZ #20139]
3702         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3703         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3704         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3705         2.24 or above.
3706         (HAVE_AVX512_ASM_SUPPORT): Removed.
3707         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3708         * sysdeps/x86_64/configure: Regenerated.
3709         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3710         check unconditional.
3711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3712         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3713         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3714         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3715         Likewise.
3716         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3717         Likewise.
3718         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3719         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3720         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3721         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3722         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3723         Likewise.
3724         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3725         Likewise.
3726         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3727         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3729         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3730         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3731         Likewise.
3732         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3733         Likewise.
3734         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3735         Likewise.
3736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3737         Likewise.
3738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3739         Likewise.
3740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3741         Likewise.
3742         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3743         Likewise.
3744         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3745         Likewise.
3746         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3747         Likewise.
3748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3749         Likewise.
3750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3751         Likewise.
3753 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3755         [BZ #20024]
3756         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3758         of this implementation of vector function.
3759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3762         Likewise.
3763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3764         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3765         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3766         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3767         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3768         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3769         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3770         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3771         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3772         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3773         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3774         for testing vector sincos with fixed ABI.
3775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3776         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3778         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3779         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3781         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3782         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3783         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3784         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3785         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3786         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3787         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3788         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3789         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3790         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3792 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3794         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3796 2016-06-30  Anton Blanchard  <anton@samba.org>
3798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3799         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3800         s_sinf-ppc64.
3801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3804         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3806 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3810         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3811         e_expf-ppc64.
3812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3814         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3815         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3817 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3819         [BZ #20277]
3820         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3821         when SHARED is defined.
3823 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3825         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3826         (index_arch_Prefer_ERMS): Likewise.
3827         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3828         __memcpy_erms for Prefer_ERMS.
3829         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3830         (__memmove_erms): Enabled for libc.a.
3831         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3832         __memmove_erms or Prefer_ERMS.
3833         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3834         __mempcpy_erms for Prefer_ERMS.
3835         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3836         __memset_erms for Prefer_ERMS.
3838 2016-06-30  Andreas Schwab  <schwab@suse.de>
3840         [BZ #20262]
3841         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3842         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3843         of memory.
3845 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3847         [BZ #18645]
3848         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3849         (test-extras): Add tst-cleanupx4aux.
3850         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3851         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3852         tst-cleanupx4aux.o.
3853         * nptl/tst-cleanupx4aux.c: New file.
3855 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3857         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3859 2016-06-29  Andreas Schwab  <schwab@suse.de>
3861         [BZ #20260]
3862         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3863         address before the beginning of the string as an integer to avoid
3864         array-bounds warning.
3866 2016-06-28  Richard Henderson  <rth@redhat.com>
3868         * elf/elf.h (EM_BPF): New.
3869         (EM_NUM): Update.
3870         (R_BPF_NONE, R_BPF_MAP_FD): New.
3872         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3873         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3874         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3875         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3876         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3877         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3878         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3879         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3880         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3881         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3882         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3883         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3884         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3885         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3886         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3887         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3888         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3889         (EM_NUM): Update.
3891 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3893         [BZ #18960]
3894         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3895         Set _nl_current_LC_CATEGORY_used to two instead of one.
3897 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3899         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3900         (do_test): ... this.
3901         (TEST_FUNCTION): New macro.
3902          Include test-skeleton.c.
3903         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3904         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3906 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3908         [BZ #15479]
3909         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3910         floating-point environment rather than just control word.
3911         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3912         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3913         floating-point environment, with "invalid" exceptions merged in,
3914         rather than just control word.
3915         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3916         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3917         "inexact" exceptions.
3919         [BZ #15479]
3920         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3921         floating-point environment rather than just control word.
3922         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3923         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3924         floating-point environment, with "invalid" exceptions merged in,
3925         rather than just control word.
3926         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3927         * math/libm-test.inc (floor_test_data): Do not allow spurious
3928         "inexact" exceptions.
3930         [BZ #15479]
3931         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3932         floating-point environment rather than just control word.
3933         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3934         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3935         floating-point environment, with "invalid" exceptions merged in,
3936         rather than just control word.
3937         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3938         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3939         "inexact" exceptions.
3941 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3943         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3944         __libc_vfork.
3945         (__vfork) [IS_IN (libc)]: Remove alias.
3946         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3947         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3948         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3950 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3952         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3953         of atomic_compare_and_exchange_bool_rel.
3954         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3955         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3956         catomic_compare_and_exchange_bool_rel): Remove.
3957         * sysdeps/aarch64/atomic-machine.h
3958         (atomic_compare_and_exchange_bool_rel): Likewise.
3959         * sysdeps/alpha/atomic-machine.h
3960         (atomic_compare_and_exchange_bool_rel): Likewise.
3961         * sysdeps/arm/atomic-machine.h
3962         (atomic_compare_and_exchange_bool_rel): Likewise.
3963         * sysdeps/mips/atomic-machine.h
3964         (atomic_compare_and_exchange_bool_rel): Likewise.
3965         * sysdeps/microblaze/atomic-machine.h
3966         ( __arch_compare_and_exchange_bool_8_rel,
3967         __arch_compare_and_exchange_bool_16_rel): Likewise.
3968         * sysdeps/powerpc/atomic-machine.h
3969         ( __arch_compare_and_exchange_bool_8_rel,
3970         __arch_compare_and_exchange_bool_16_rel): Likewise.
3971         * sysdeps/powerpc/powerpc32/atomic-machine.h
3972         ( __arch_compare_and_exchange_bool_32_rel,
3973         __arch_compare_and_exchange_bool_64_rel): Likewise.
3974         * sysdeps/powerpc/powerpc64/atomic-machine.h
3975         ( __arch_compare_and_exchange_bool_32_rel,
3976         __arch_compare_and_exchange_bool_64_rel): Likewise.
3977         * sysdeps/tile/atomic-machine.h
3978         (atomic_compare_and_exchange_bool_rel): Likewise.
3980 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3982         [BZ #20296]
3983         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3984         when either argument is a NaN.
3985         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3986         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3988         * math/libm-test.inc (snan_value_ld): New macro.
3989         (isgreater_test_data): Add sNaN tests.
3990         (isgreaterequal_test_data): Likewise.
3991         (isless_test_data): Likewise.
3992         (islessequal_test_data): Likewise.
3993         (islessgreater_test_data): Likewise.
3994         (isunordered_test_data): Likewise.
3995         (nextafter_test_data): Likewise.
3996         (nexttoward_test_data): Likewise.
3997         (remainder_test_data): Likewise.
3998         (remquo_test_data): Likewise.
3999         (significand_test_data): Likewise.
4000         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4002 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4004         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4005         environment macros are defined.
4006         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4008 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4010         [BZ #20191]
4011         Implement vtable verification in libio.
4012         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4013         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4014         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4015         _IO_new_file_init_internal instead of _IO_file_init.
4016         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4017         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4018         * libio/Makefile (routines): Add vtables.
4019         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4020         (_IO_init): Remove, not for internal use.
4021         (_IO_init_internal): Declare, internal replacement for _IO_init.
4022         (_IO_file_init): Remove, not for internal use.
4023         (_IO_new_file_init): Remove, not for internal use.
4024         (_IO_new_file_init_internal): Declare, internal replacement for
4025         _IO_new_file_init.
4026         (_IO_old_file_init): Remove, not for internal use.
4027         (_IO_old_file_init_internal): Declare, internal replacement for
4028         _IO_old_file_init.
4029         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4030         internal use.
4031         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4032         Declare.
4033         (libio_vtable): New macro.
4034         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4035         functions.
4036         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4037         _IO_new_file_init.
4038         (_IO_new_file_init): New externally visible wrapper which disables
4039         vtable verification.
4040         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4041         Define as vtables.
4042         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4043         (_IO_init): New externally visible wrapper which disables
4044         vtable verification.
4045         * libio/iofdopen.c (_IO_new_fdopen): Call
4046         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4047         comment.
4048         * libio/iofopen.c (__fopen_internal): Call
4049         _IO_new_file_init_internal instead of _IO_file_init.
4050         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4051         Define as vtables.
4052         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4053         _IO_new_file_init_internal instead of _IO_file_init.
4054         * libio/iopopen.c (_IO_new_popen): Likewise.
4055         (_IO_proc_jumps): Define as vtable.
4056         * libio/iovdprintf.c (_IO_vdprintf): Call
4057         _IO_new_file_init_internal instead of _IO_file_init.
4058         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4059         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4060         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4061         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4062         _IO_old_file_init.
4063         (_IO_old_file_init): New externally visible wrapper which disables
4064         vtable verification.
4065         (_IO_old_file_jumps): Define as vtable.
4066         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4067         _IO_old_file_init_internal instead of _IO_old_file_init.
4068         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4069         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4070         (_IO_old_proc_jumps): Define as vtable.
4071         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4072         Define as vtables.
4073         * libio/vtables.c: New file.
4074         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4075         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4076         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4077         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4078         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4079         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4080         instead of _IO_init.
4082 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4084         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4086 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4088         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4089         potentially unused.
4091 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4093         * test-skeleton.c (write_message): New function.
4094         * malloc/tst-mallocfork2.c (write_message): Remove.
4095         * debug/tst-longjmp_chk2.c (write_indented): New function.
4096         (write_message): Remove.
4097         (stackoverflow_handler): Call write_indented.
4099 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4101         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4102         "inexact" exceptions after fnstenv.
4103         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4104         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4105         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4107 2015-06-22  Zack Weinberg  <zackw@panix.com>
4109         * sysdeps/generic/bits/hwcap.h: Moved to ...
4110         * bits/hwcap.h: Here.
4112 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4114         * sysdeps/aarch64/memcpy.S (memcpy):
4115         Further tuning for performance.
4117 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4119         [BZ #20284]
4120         * malloc/arena.c (reused_arena): Do not return NULL if we start
4121         out with a non-corrupted arena.
4123 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4125         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4126         * misc/tst-preadvwritev.c: New file.
4127         * misc/tst-preadvwritev64.c: Likewise.
4128         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4129         usage.
4130         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4131         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4132         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4133         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4135 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4137         [BZ #19654]
4138         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4139         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4140         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4141         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4142         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4143         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4144         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4145         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4146         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4147         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4148         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4149         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4150         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4151         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4152         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4153         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4154         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4155         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4156         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4157         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4158         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4159         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4160         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4161         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4162         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4163         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4165 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4167         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4168         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4170 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4172         * sysdeps/aarch64/memcpy.S (memcpy):
4173         Rewrite of optimized memcpy and memmove.
4174         * sysdeps/aarch64/memmove.S (memmove): Remove
4175         memmove code (merged into memcpy.S).
4177 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4179         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4180         * sysdeps/generic/dl-dtv.h: New file.
4181         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4182         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4183         (dtv_t): Remove.
4184         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4185         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4186         (dtv_t): Remove.
4187         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4188         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4189         (dtv_t): Remove.
4190         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4191         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4192         (dtv_t): Remove.
4193         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4194         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4195         (dtv_t): Remove.
4196         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4197         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4198         (dtv_t): Remove.
4199         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4200         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4201         (dtv_t): Remove.
4202         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4203         (dtv_t): Remove.
4204         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4205         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4206         (dtv_t): Remove.
4207         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4208         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4209         (dtv_t): Remove.
4210         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4211         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4212         (dtv_t): Remove.
4213         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4214         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4215         (dtv_t): Remove.
4216         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4217         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4218         (dtv_t): Remove.
4219         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4220         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4221         (dtv_t): Remove.
4222         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4223         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4224         (dtv_t): Remove.
4225         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4226         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4227         (dtv_t): Remove.
4229 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4231         Revert symbol poisoning of  __malloc_initialize_hook.
4232         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4233         poisoning.
4234         * malloc/Makefile: Remove un-poisoning.
4235         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4236         instead of old__malloc_initialize_hook.
4237         * malloc/malloc-hooks.h: Likewise.
4238         * malloc/malloc.c: Likewise.
4239         * malloc/mcheck-init.c: Likewise.
4241 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4243         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4245 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4247         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4248         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4249         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4250         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4252 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4254         * NEWS: Mention addition of nextup and nextdown.
4255         * manual/arith.texi: Document nextup and nextdown.
4256         * manual/libm-err-tab.pl: Add nextup and nextdown.
4257         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4258         * math/Versions (libm): Add GLIBC_2.24.
4259         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4260         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4261         Add new test.
4262         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4263         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4264         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4265         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4266         (nextup_test_data): Likewise.
4267         (nextdown_test_data): Likewise.
4268         * math/s_nextdown.c: New file.
4269         * math/s_nextdownf.c: Likewise.
4270         * math/s_nextdownl.c: Likewise.
4271         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4272         F(nextup): New function.
4273         F(nextdown): Likewise.
4274         * math/tgmath.h: Add nextup and nextdown.
4275         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4276         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4277         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4279         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4280         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4281         Add nextup and nextdown.
4282         (CFLAGS-nldbl-nextup.c): New variable.
4283         (CFLAGS-nldbl-nextdown.c): Likewise.
4284         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4285         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4286         * sysdeps/nacl/libm.abilist: Update.
4287         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4288         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4289         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4290         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4291         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4292         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4293         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4294         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4295         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4296         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4297         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4298         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4301         Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4304         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4305         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4306         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4307         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4308         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4311         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4312         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4314         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4316 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4318         * manual/pattern.texi: Fix typos & grammar errors.
4320 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4322         * manual/search.texi: Fix typos & grammar errors.
4324 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4326         * manual/message.texi: Fix typos & grammar errors.
4328 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4330         * manual/contrib.texi: Fix spelling typos.
4331         * manual/crypt.texi: Likewise.
4332         * manual/filesys.texi: Likewise.
4333         * manual/locale.texi: Likewise.
4334         * manual/message.texi: Likewise.
4335         * manual/nss.texi: Likewise.
4336         * manual/string.texi: Likewise.
4338 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4340         * manual/locale.texi: Fix typos & grammar errors.
4342 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4344         * manual/charset.texi: Fix typos & grammar errors.
4346 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4348         * manual/string.texi: Fix typos.
4350 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4352         * manual/ctype.texi: Fix typos.
4354 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4356         * manual/memory.texi: Fix various typos & grammar errors.
4358 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4360         [BZ #20255]
4361         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4362         * math/libm-test.inc (fdim_test_data): Add another test.
4364         [BZ #6796]
4365         [BZ #20255]
4366         [BZ #20256]
4367         * math/s_fdim.c: Include <math_private.h>.
4368         (__fdim): Use math_narrow_eval on result.
4369         * math/s_fdimf.c: Include <math_private.h>.
4370         (__fdimf): Use math_narrow_eval on result.
4371         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4372         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4373         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4374         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4375         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4376         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4377         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4378         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4379         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4380         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4381         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4382         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4383         overflow.  Add sNaN tests.
4385         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4386         fpclassify.
4387         * math/s_fdimf.c (__fdimf): Likewise.
4388         * math/s_fdiml.c (__fdiml): Likewise.
4390 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4392         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4393         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4395         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4396         ifunc'ed strcasecmp/strncasecmp.
4397         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4398         [EALIGN]: Removed.
4399         [END]: Likewise.
4400         [__strcasecmp]: Define instead of the above to control symbol name.
4401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4402         for __strcasecmp_power8.
4403         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4404         for __strncasecmp_power8.
4405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4407         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4408         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4409         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4410         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4412 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4414         [BZ #20252]
4415         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4416         arguments when second argument is a NaN.
4417         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4418         qNaN tests.
4420         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4421         (conj_test_data): Likewise.
4422         (copysign_test_data): Likewise.
4423         (creal_test_data): Likewise.
4424         (fma_test_data): Likewise.
4425         (fmod_test_data): Likewise.
4427         [BZ #20250]
4428         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4429         itself.
4430         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4431         zero input to itself.
4432         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4433         Likewise.
4434         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4435         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4438         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4440 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4442         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4443         * nptl/tst-cancel4-common.c: New file.
4444         * nptl/tst-cancel4-common.h: Likewise.
4445         * nptl/tst-cancel4.c: Move common definitions to
4446         tst-cancel4-common.{c,h} file.
4447         * nptl/tst-cancel4_1.c: New test.
4448         * nptl/tst-cancel4_2.c: New test.
4450 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4452         [BZ #20248]
4453         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4454         (write_message): New function.
4455         (stackoverflow_handler): Call it instead of printf, to avoid
4456         excessive stack usage by printf.
4457         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4459 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4461         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4462         (prio_inherit_missing): Remove define.
4463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4464         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4468         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4470         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4471         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4472         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4474 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4476         [BZ #19670]
4477         [BZ #19672]
4479         * io/test-lfs.c (do_prepare): Use xmalloc.
4480         * io/tst-fcntl.c (do_prepare): Likewise.
4481         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4482         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4483         * login/tst-utmp.c (do_prepare): Likewise.
4484         * posix/tst-exec.c (do_prepare): Likewise.
4485         * posix/tst-pathconf.c (prepare): Likewise.
4486         * posix/tst-spawn.c (do_prepare): Likewise.
4487         * posix/tst-truncate.c (do_prepare): Likewise.
4488         * rt/tst-aio.c (do_prepare): Likewise.
4489         * rt/tst-aio64.c (do_prepare): Likewise.
4491 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4493         [BZ #20237]
4494         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4495         (get*ent): Set entidx to NULL during initialization.  If entidx is
4496         NULL, start iteration from the beginning.
4498 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4500         * malloc/malloc.c (musable): Return correct size for dumped fake
4501         mmapped chunk.
4503 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4505         [BZ #20222]
4506         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4507         (_IO_cookie_write): Likewise.
4508         (_IO_cookie_seek): Likewise.
4509         (_IO_cookie_close): Likewise.
4510         (_IO_old_cookie_seek): Likewise.
4511         (set_callbacks): New function.
4512         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4514 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4516         * locale/programs/localedef.c (oldstyle_tables): Remove.
4517         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4519 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4521         [BZ #20240]
4522         * math/Makefile (CFLAGS-s_modf.c): New variable.
4523         (CFLAGS-s_modff.c): Likewise.
4524         (CFLAGS-s_modfl.c): Likewise.
4525         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4527 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4529         [BZ #20215]
4530         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4531         [!__GNUC_PREREQ (3,2)]: Likewise.
4533 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4535         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4536         (msghdr.msg_controllen): Likewise.
4537         (cmsghdr.cmsg_len): Likewise.
4538         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4539         ptw-oldsendmsg.
4540         (CFLAGS-oldrecvmsg.c): Remove rule.
4541         (CFLAGS-oldsendmsg.c): Likewise.
4542         (CFLAGS-recvmsg.c): Add rule.
4543         (CFLAGS-sendmsg.c): Likewise.
4544         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4545         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4546         (CFLAGS-recvmsg.c): Remove rule.
4547         (CFLAGS-sendmsg.c): Likewise.
4548         (CFLAGS-oldrecvmsg.c): Likewise.
4549         (CFLAGS-oldsendmsg.c): Likewise.
4550         (CFLAGS-recvmmsg.c): Likewise.
4551         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4552         to kernel defined interfaces.
4553         (msghdr.msg_controllen): Likewise.
4554         (cmsghdr.cmsg_len): Likewise.
4555         (msghdr.__glibc_reserved1): Remove member.
4556         (msghdr.__glibc_reserved2): Likewise.
4557         (cmsghdr.__glibc_reserved1): Likewise.
4558         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4559         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4560         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4561         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4562         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4563         version.
4564         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4565         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4566         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4567         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4568         Remove recvmsg and sendmsg.
4569         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4570         Likewise.
4571         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4572         Likewise.
4573         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4574         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4575         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4576         Likewise.
4577         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4578         Likewise.
4579         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4580         [libc] (GLIBC_2.24): Likewise.
4581         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4582         Likewise.
4583         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4584         Likewise.
4585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4586         [libc] (GLIBC_2.24): Likewise.
4587         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4588         Likewise.
4589         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4590         Likewise.
4591         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4592         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4593         Likewise.
4594         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4595         Likewise.
4596         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4597         Likewise.
4598         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4599         Likewise.
4600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4601         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4602         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4603         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4604         version for {recv,send,recm,sendm}msg.
4605         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4606         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4607         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4608         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4609         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4610         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4611         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4612         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4613         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4615         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4618         Likewise.
4619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4620         Likewise.
4621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4635 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4637         [BZ #19564]
4638         Remove __malloc_initialize_hook from the API.
4639         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4640         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4641         #pragma GCC poison.
4642         * malloc/malloc-hooks.h: New file.
4643         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4644         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4645         (old__malloc_initialize_hook): Rename from
4646         __malloc_initialize_hook to evade poisoning.  Turn into compat
4647         symbol.
4648         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4649         __malloc_initialize_hook.
4650         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4651         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4652         * manual/memory.texi (Hooks for Malloc): Remove
4653         __malloc_initialize_hook.  Adjust hook example.
4655 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4657         [BZ #20235]
4658         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4659         itself.
4660         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4661         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4663         [BZ #20234]
4664         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4665         infinity or NaN input to itself.
4667         [BZ #20233]
4668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4669         to itself.
4671         [BZ #20232]
4672         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4673         itself.
4675 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4677         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4678         __libc_start_main via GOT.
4680 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4682         * sysdeps/x86_64/memcopy.h: New file.
4683         * sysdeps/x86_64/wordcopy.c: Likewise.
4685 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4687         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4688         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4689         <cstdlib>.
4690         (optimization_barrier): New.
4691         (do_test): Use it.  Call quick_exit in the global namespace.
4692         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4693         instead of <cstdlib>, <thread>.
4694         (optimization_barrier): New.
4695         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4696         Call quick_exit in the global namespace.
4697         (do_test): Call optimization_barrier.  Use pthread_create,
4698         pthread_join instead of std::thread.
4700 2016-06-09  Andreas Schwab  <schwab@suse.de>
4702         [BZ #19755]
4703         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4704         new entries in auto-propagate mode.
4705         * nscd/grpcache.c (cache_addgr): Likewise.
4707 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4709         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4710         New functions.
4711         (add_temp_file): Use them.
4713 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4715         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4717 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4719         [BZ #20229]
4720         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4721         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4722         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4724         [BZ #20228]
4725         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4726         itself.
4727         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4728         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4730         [BZ #20227]
4731         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4732         itself.
4733         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4734         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4735         * math/libm-test.inc (log_test_data): Add sNaN tests.
4737         [BZ #20226]
4738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4739         itself.
4740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4741         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4742         (exp10_test_data): Likewise.
4743         (expm1_test_data): Likewise.
4745         [BZ #20225]
4746         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4747         itself.
4748         * math/s_ldexpf.c (__ldexpf): Likewise.
4749         * math/s_ldexpl.c (__ldexpl): Likewise.
4750         * math/w_scalbln.c (__w_scalbln): Likewise.
4751         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4752         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4753         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4754         (scalbln_test_data): Likewise.
4756         [BZ #20224]
4757         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4758         argument to itself.
4759         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4761 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4763         [BZ #19776]
4764         * sysdeps/x86_64/memcpy.S: Make it dummy.
4765         * sysdeps/x86_64/mempcpy.S: Likewise.
4766         * sysdeps/x86_64/memmove.S: New file.
4767         * sysdeps/x86_64/memmove_chk.S: Likewise.
4768         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4769         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4770         * sysdeps/x86_64/memmove.c: Removed.
4771         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4772         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4773         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4774         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4775         Likewise.
4776         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4777         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4779         memcpy-sse2-unaligned, memmove-avx-unaligned,
4780         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4782         (__libc_ifunc_impl_list): Replace
4783         __memmove_chk_avx512_unaligned_2 with
4784         __memmove_chk_avx512_unaligned.  Remove
4785         __memmove_chk_avx_unaligned_2.  Replace
4786         __memmove_chk_sse2_unaligned_2 with
4787         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4788         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4789         with __memmove_avx512_unaligned.  Replace
4790         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4791         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4792         with __memcpy_chk_avx512_unaligned.  Remove
4793         __memcpy_chk_avx_unaligned_2.  Replace
4794         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4795         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4796         Replace __memcpy_avx512_unaligned_2 with
4797         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4798         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4799         with __mempcpy_chk_avx512_unaligned.  Remove
4800         __mempcpy_chk_avx_unaligned_2.  Replace
4801         __mempcpy_chk_sse2_unaligned_2 with
4802         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4803         Replace __mempcpy_avx512_unaligned_2 with
4804         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4805         Replace __mempcpy_sse2_unaligned_2 with
4806         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4807         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4808         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4809         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4810         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4811         (ENTRY): Removed.
4812         (END): Likewise.
4813         (ENTRY_CHK): Likewise.
4814         (libc_hidden_builtin_def): Likewise.
4815         Don't include ../memcpy.S.
4816         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4817         __memcpy_chk_avx512_unaligned_erms and
4818         __memcpy_chk_avx512_unaligned.  Use
4819         __memcpy_chk_avx_unaligned_erms and
4820         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4821         Default to __memcpy_chk_sse2_unaligned.
4822         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4823         Change function suffix from unaligned_2 to unaligned.
4824         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4825         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4826         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4827         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4828         (ENTRY): Removed.
4829         (END): Likewise.
4830         (ENTRY_CHK): Likewise.
4831         (libc_hidden_builtin_def): Likewise.
4832         Don't include ../mempcpy.S.
4833         (mempcpy): New.  Add a weak alias.
4834         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4835         __mempcpy_chk_avx512_unaligned_erms and
4836         __mempcpy_chk_avx512_unaligned.  Use
4837         __mempcpy_chk_avx_unaligned_erms and
4838         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4839         Default to __mempcpy_chk_sse2_unaligned.
4841 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4843         [BZ #19881]
4844         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4845         into ...
4846         * sysdeps/x86_64/memset.S: This.
4847         (__bzero): Removed.
4848         (__memset_tail): Likewise.
4849         (__memset_chk): Likewise.
4850         (memset): Likewise.
4851         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4852         defined.
4853         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4854         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4855         (__memset_zero_constant_len_parameter): Check SHARED instead of
4856         PIC.
4857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4858         memset-avx2 and memset-sse2-unaligned-erms.
4859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4860         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4861         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4862         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4863         (__bzero): Enabled.
4864         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4865         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4866         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4867         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4868         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4869         (memset): Removed.
4870         (__memset_chk): Likewise.
4871         (MEMSET_SYMBOL): New.
4872         (libc_hidden_builtin_def): Replace __memset_sse2 with
4873         __memset_sse2_unaligned.
4874         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4875         __memset_chk_sse2 and __memset_chk_avx2 with
4876         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4877         Use __memset_chk_sse2_unaligned_erms or
4878         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4879         __memset_chk_avx512_unaligned_erms and
4880         __memset_chk_avx512_unaligned.
4882 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4884         * math/gen-auto-libm-test.c (fp_format_desc): remove
4885         suffix member.
4886         (output_generic_value): Remove usage of suffix member,
4887         and the resulting unuse of the fp_format argument.
4888         (output_for_one_input_case): Remove unused fp_format
4889         parameter.
4891         * math/auto-libm-test-out: Regenerate.
4893         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4894         usage with TEST_COND_ibm128.
4895         (TEST_COND_flt_32): Remove.
4896         (TEST_COND_dbl_64): Remove.
4897         (TEST_COND_ldbl_96_intel): Remove.
4898         (TEST_COND_ldbl_96_m68k): Remove.
4899         (TEST_COND_ldbl_128): Remove.
4901 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4903         * auto-libm-test-in:
4904         Replace flt-32 usage with binary32.
4905         Replace dbl-64 usage with binary64.
4906         Replace ldbl-intel-96 usage with intel96.
4907         Replace ldbl-m68k-96 usage with m68k96.
4908         Replace ldbl-128ibm usage with ibm128.
4909         Replace ldbl-128 usage with binary128.
4911         * auto-libm-test-out: Regenerate.
4913 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4915         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4916         (parse_ulps): Dynamically generate type name matching
4917         string from all_floats.
4918         (get_ulps): Generate the ulps as an array instead.
4919         (output_ulps): Dynamically compose the type based
4920         on the number of supported formats, and print
4921         the indices as type specific helper macros.
4923         * math/libm-test.inc: Remove comment about CHOOSE.
4924         (ulp_data): Generate the type in libm-test-ulps.h.
4925         (ULP_IDX): New macro.
4926         (find_ulps): Update usage of max_ulp.
4928         * math/test-double-vlen2.h (CHOOSE): Remove.
4929         * math/test-double-vlen4.h (CHOOSE): Likewise.
4930         * math/test-double-vlen8.h (CHOOSE): Likewise.
4931         * math/test-float.c (CHOOSE): Likewise.
4932         * math/test-float-finite.c (CHOOSE): Likewise.
4933         * math/test-double.c (CHOOSE): Likewise.
4934         * math/test-double-finite.c (CHOOSE): Likewise.
4935         * math/test-idouble.c (CHOOSE): Likewise.
4936         * math/test-ifloat.c (CHOOSE): Likewise.
4937         * math/test-ildoubl.c (CHOOSE): Likewise.
4938         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4939         * math/test-ldouble.c (CHOOSE): Likewise.
4941         * math/test-float.h (TEST_FLOAT): Remove.
4942         * math/test-double.h (TEST_DOUBLE): Likewise.
4943         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4945 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4947         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4948         (parse_args): Strip C suffix from floating point literals
4949         typed with 'f' and wrap them with LIT().
4951         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4952         (test_ff_f_data_nexttoward): Rename to
4953         (test_fj_f_data): New struct.
4954         (nexttoward_test_data): Relabel tests as
4955         TEST_fj_f instead of TEST_ff_f.
4957 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4959         Emacs bug 23726.
4960         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4961         (__libc_realloc): Correct size computation for dumped fake mmapped
4962         chunks.
4964 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4966         [BZ #20219]
4967         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4968         to itself.
4969         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4971         [BZ #20218]
4972         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4973         to itself.
4974         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4976 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4978         [BZ #20195]
4979         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4980         check to ...
4981         (init_cpu_features): Here.
4983 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4985         [BZ #20214]
4986         * sysdeps/unix/sysv/linux/bits/in.h
4987         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4988          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4989         Define to 1.
4990         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4991          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4992         Define to 0.
4993         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4994         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4996 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4998         [BZ #20198]
4999         * stdlib/Makefile (tests): Add tst-quick_exit, and
5000         tst-thread-quick_exit.
5001         [ifeq ($(have-cxx-thread_local),yes)]
5002         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5003         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5004         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5005         (LDLIBS-tst-thread-quick_exit): Likewise.
5006         [ifneq ($(have-cxx-thread_local),yes)]
5007         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5008         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5009         If run_dtors is true call __call_tls_dtors.
5010         (exit): Call __run_exit_handlers with run_dtors set to true.
5011         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5012         definition.
5013         * stdlib/quick_exit.c (quick_exit): Remove function.
5014         (__new_quick_exit): New function.
5015         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5016         function.
5017         * stdlib/tst-quick_exit.cc: New file.
5018         * stdlib/tst-thread-quick_exit.cc: New file.
5019         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5020         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5021         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5022         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5023         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5024         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5025         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5026         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5027         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5028         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5029         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5030         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5031         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5032         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5033         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5034         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5039         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5040         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5041         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5042         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5043         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5046         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5047         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5048         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5050 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5052         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5053         a typo in comments.
5055 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5057         [BZ #20213]
5058         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5059         argument to itself.
5060         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5062 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5064         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5065         required flags.
5066         (CFLAGS-pwritev64.c): Likewise.
5067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5069         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5070         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5071         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5072         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5073         syscall from auto-generation.
5074         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5075         [WORDSIZE == 64] (pwritev64): Remove macro.
5076         [!PWRITEV] (PWRITEV): Likewise.
5077         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5078         [!PWRITEV] (PWRITE): Likewise.
5079         [!PWRITEV] (OFF_T): Likewise.
5080         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5081         (LO_HI_LONG): Remove macro.
5082         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5083         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5084         (PWRITEV): Remove macro.
5085         (PWRITEV_REPLACEMENTE): Likewise.
5086         (PWRITE): Likewise.
5087         (OFF_T): Likewise.
5088         (pwritev64): New function.
5089         * nptl/tst-cancel4.c (tf_writev): Add test.
5091         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5092         required flags.
5093         (CFLAGS-preadv64.c): Likewise.
5094         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5095         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5096         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5097         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5098         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5099         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5100         syscall from auto-generation.
5101         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5102         [WORDSIZE == 64] (preadv64): Remove macro.
5103         [!PREADV] (PREADV): Likewise.
5104         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5105         [!PREADV] (PREAD): Likewise.
5106         [!PREADV] (OFF_T): Likewise.
5107         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5108         (LO_HI_LONG): Remove macro.
5109         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5110         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5111         (PREADV): Remove macro.
5112         (PREADV_REPLACEMENTE): Likewise.
5113         (PREAD): Likewise.
5114         (OFF_T): Likewise.
5115         (preadv64): New function.
5116         * nptl/tst-cancel4.c (tf_preadv): Add test.
5118 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5120         [BZ #20212]
5121         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5122         argument to itself.
5123         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5125 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5127         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5128         New symbol defined as libc_hidden_def.
5129         (strcasestr): Became a weak alias to __strcasestr.
5130         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5131         according to multi-arch support.  Move __stpncpy hidden
5132         definition from here to...
5133         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5134         symbol stpncpy.
5135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5136         libc_hidden_builtin_def.
5137         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5138         memset symbol to use when multi-arch support is available.
5140 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5142         * dlfcn/tst-rec-dlopen.c: Include string.h.
5144 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5146         * manual/install.texi: Remove mention of --without-tls
5147         * INSTALL: Regenerate.
5149 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5151         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5152         Remove.
5153         (call_function, interposed_malloc_called): New variables.
5154         (malloc): New function.
5155         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5156         and clear call_function as needed.
5158 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5160         * include/wchar.h (__wmemset): Use __typeof.
5162 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5164         * include/wchar.h (__wmemset): Declare function without typeof.
5166 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5168         [BZ #20205]
5169         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5170         exponent when incrementing negative subnormal with low mantissa
5171         word zero.
5172         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5173         Add another test.
5175 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5177         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5178         __wmemset instead of wmemset.
5180 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5182         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5183         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5184         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5185         __USE_KERNEL_IPV6_DEFS to 0.
5186         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5187         Update comment.
5189 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5191         [BZ #19861]
5192         Do not use IFUNC resolver with potentially unrelocated symbol.
5193         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5194         (DEFINE_FORK): Remove macro and inline definition.
5195         (fork_alias): Renamed from fork_ifunc.
5196         (__fork_alias): Renamed from __fork_ifunc.
5198 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5200         [BZ 19653]
5201         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5202         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5204 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5206         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5207         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5208         i386-linux-gnu).
5209         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5210         Set to no.
5211         * sysdeps/mach/hurd/configure: Refresh.
5213 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5215         [BZ #20178]
5216         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5217         on failure instead of exit.
5219 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5221         [BZ #3629]
5222         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5223         of POSIX.1-2008.
5225 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5227         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5228           Use PLT entry for calling _hurd_self_sigstate.
5230 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5232         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5233         available logical processors with SMT level type sharing L2
5234         cache for Intel processors.
5236 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5238         [BZ #20160]
5239         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5240         argument to itself before returning the result.
5241         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5242         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5243         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5245         Likewise.
5246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5247         Likewise.
5248         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5249         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5250         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5251         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5252         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5253         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5255         [BZ #20160]
5256         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5257         argument to itself before returning the result.
5258         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5259         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5260         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5261         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5262         Likewise.
5263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5264         Likewise.
5265         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5266         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5267         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5268         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5269         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5270         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5272 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5274         * libm-test.inc: Replace usage of M_El with
5275         (lit_e): New macro.
5277 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5279         * libm-test.inc: Replace usage of M_PI_4l with
5280         (lit_pi_4_d): New macro.
5282 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5284         * libm-test.inc: Replace usage of M_PIl with
5285         (lit_pi): New macro.
5287 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5289         * libm-test.inc: Replace usage of M_PI2l with
5290         (lit_pi_2_d): New macro.
5292         * math/test-double.h (LITM): New macro.
5293         * math/test-float.h (LITM): Likewise.
5294         * math/test-ldouble.h (LITM): Likewise.
5296 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5298         * libm-test.inc (M_PI_34l): Rename to
5299         (lit_pi_3_m_4_d): New Macro.
5300         (M_PI_34_LOG10El): Rename to
5301         (lit_pi_3_m_4_ln10_m_d): New Macro.
5302         (M_PI2_LOG10El): Rename to
5303         (lit_pi_2_ln10_m_d):  New Macro.
5304         (M_PI4_LOG10El): Rename to
5305         (lit_pi_4_ln10_m_d):  New Macro.
5306         (M_PI_LOG10El): Rename to
5307         (lit_pi_ln10_d):  New Macro.
5309 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5311         [BZ #20157]
5312         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5313         determine whether to negate low half if [_ARCH_PPCGR], and integer
5314         comparison otherwise.
5315         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5316         determine whether to negate low half.
5318         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5319         (NO_TEST_INLINE_DOUBLE): Likewise.
5320         (TEST_COND_x86_64): Likewise.
5321         (TEST_COND_x86): Likewise.
5322         (M_PI_6l): Likewise.
5324 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5326         * math/libm-test.inc:
5327         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5328         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5329         (TEST_LDOUBLE): Update usage to evaluate as true if
5330         the guarded tests match the property being tested.
5331         (LDBL_MAX_EXP): Change to MAX_EXP.
5332         (LDBL_MIN_EXP): Change to MIN_EXP.
5333         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5334         nexttoward tests.
5336 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5338         * math/libm-test.inc:
5339         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5340         (TYPE_MIN): Likewise.
5341         (TYPE_TRUE_MIN): Likewise.
5342         (TYPE_MAX): Likewise.
5343         (MIN_EXP): Likewise.
5344         (MAX_EXP): Likewise.
5345         (MANT_DIG): Likewise.
5347         (FSTR_MAX): New macro.
5348         (__CONCATX): Likewise.
5349         (QTYPE_STR): Likewise.
5350         (TEST_COND_binary32): Likewise.
5351         (TEST_COND_binary64): Likewise.
5352         (TEST_COND_binary128): Likewise.
5353         (TEST_COND_ibm128): Likewise.
5354         (TEST_COND_intel96): Likewise.
5355         (TEST_COND_m68k96): Likewise.
5357         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5358         (TEST_COND_dbl_64): Likewise.
5359         (TEST_COND_ldbl_96_intel): Likewise.
5360         (TEST_COND_ldbl_96_m68k): Likewise.
5361         (TEST_COND_ldbl_128): Likewise.
5362         (TEST_COND_ldbl_128ibm): Likewise.
5364         (plus_zero): Redefine using LIT macro.
5365         (minus_zero): Likewise.
5366         (plus_infty): Redefine as (INF).
5367         (minux_infty): Redefine as (-INF).
5368         (max_value): Redefine as TYPE_MAX.
5369         (min_value): Redefine as TYPE_MIN.
5370         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5372         (print_float): Refactor to use snprintf to convert FLOAT values
5373         to string. This brings it closer to dropin replacement of strtof
5374         for the TS 18661 defined types.
5375         (update_stats): Likewise.
5376         (print_complex_function_ulps): Likewise.
5377         (print_max_error): Likewise.
5378         (print_complex_max_error): Likewise.
5379         (check_float_internal): Likewise.
5381         * math/test-float.h (PREFIX): New macro.
5382         (LIT): Likewise.
5383         (TYPE_STR): Likewise.
5384         (FTOSTR): Likewise.
5386         * math/test-double.h (PREFIX): New macro.
5387         (LIT): Likewise.
5388         (TYPE_STR): Likewise.
5389         (FTOSTR): Likewise.
5391         * math/test-ldouble.h (PREFIX): New macro.
5392         (LIT): Likewise.
5393         (TYPE_STR): Likewise.
5394         (FTOSTR): Likewise.
5396 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #20156]
5399         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5400         to itself when zero or not finite.
5401         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5402         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5403         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5404         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5406 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5408         [BZ #20153]
5409         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5410         x * x + x for infinities and NaNs.
5412         [BZ #20151]
5413         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5414         argument to itself before returning result.
5415         (__ieee754_y0l): Likewise.
5416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5417         (__ieee754_y1l).
5419         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5420         (atan_test_data): Likewise.
5421         (ceil_test_data): Likewise.
5422         (cos_test_data): Likewise.
5423         (cosh_test_data): Likewise.
5424         (erf_test_data): Likewise.
5425         (exp2_test_data): Likewise.
5426         (fabs_test_data): Likewise.
5427         (floor_test_data): Likewise.
5428         (ilogb_test_data): Likewise.
5429         (j0_test_data): Likewise.
5430         (j1_test_data): Likewise.
5431         (jn_test_data): Likewise.
5432         (lgamma_test_data): Likewise.
5433         (lrint_test_data): Likewise.
5434         (llrint_test_data): Likewise.
5435         (logb_test_data): Likewise.
5436         (lround_test_data): Likewise.
5437         (llround_test_data): Likewise.
5438         (nearbyint_test_data): Likewise.
5439         (rint_test_data): Likewise.
5440         (round_test_data): Likewise.
5441         (sin_test_data): Likewise.
5442         (sincos_test_data): Likewise.
5443         (sinh_test_data): Likewise.
5444         (sqrt_test_data): Likewise.
5445         (tan_test_data): Likewise.
5446         (tanh_test_data): Likewise.
5447         (tgamma_test_data): Likewise.
5448         (trunc_test_data): Likewise.
5449         (y0_test_data): Likewise.
5450         (y1_test_data): Likewise.
5451         (yn_test_data): Likewise.
5453         * math/libm-test.inc: Update comment about NaN testing.
5454         (TEST_SNAN): New macro.
5455         (snan_value): Likewise.
5456         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5457         (fpclassify_test_data): Add sNaN tests.
5458         (isfinite_test_data): Likewise.
5459         (isinf_test_data): Likewise.
5460         (isnan_test_data): Likewise.
5461         (isnormal_test_data): Likewise.
5462         (issignaling_test_data): Likewise.
5463         (signbit_test_data): Likewise.
5464         * math/gen-libm-test.pl (%beautify): Add snan_value.
5465         (show_exceptions): Add argument $test_snan.
5466         (parse_args): Handle snan_value as non-finite.  Update call to
5467         show_exceptions.
5468         * math/Makefile (libm-test-no-inline-cflags): Add
5469         -fsignaling-nans.
5471 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5473         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5474         (CFLAGS-oldsendmsg.c): Add rule.
5475         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5476         Correct recvmsg symbol name.
5477         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5478         Likewise.
5480 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5482         * sysdeps/unix/sysv/linux/Makefile
5483         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5484         oldsendmmsg.
5485         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5486         sendmmsg.
5487         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5488         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5489         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5490         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5495         Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5497         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5498         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5499         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5500         iovlen and controllen fields to adjust to POSIX specification.
5501         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5503         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5504         and change to correct expected type.
5505         (msghdr.msg_controllen): Likewise.
5506         (cmsghdr.cmsg_len): Likewise.
5507         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5508         expected POSIX assumption about the size.
5509         (msghdr.msg_controllen): Likewise.
5510         (msghdr.__glibc_reserved1): Likewise.
5511         (msghdr.__glibc_reserved2): Likewise.
5512         (cmsghdr.cmsg_len): Likewise.
5513         (cmsghdr.__glibc_reserved1): Likewise.
5514         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5515         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5516         (CFLAGS-sendmsg.c): Remove rule.
5517         (CFLAGS-recvmsg.c): Likewise.
5518         (CFLAGS-oldsendmsg.c): Add rule.
5519         (CFLAGS-oldrecvmsg.c): Likewise.
5520         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5521         recvmsg and sendmsg.
5522         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5523         Likewise.
5524         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5525         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5526         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5527         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5528         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5529         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5530         Likewise.
5531         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5532         Likewise.
5533         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5534         Likewise.
5535         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5538         Likewise.
5539         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5540         Likewise.
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5542         (GLIBC_2.24): Likewise.
5543         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5544         Likewise.
5545         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5546         Likewise.
5547         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5548         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5549         Likewise.
5550         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5551         Likewise.
5552         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5555         (GLIBC_2.24): Likewise.
5556         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5559         Likewise.
5560         * sysdeps/unix/sysv/linux/Makefile
5561         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5562         (CFLAGS-sendmsg.c): Add rule.
5563         (CFLAGS-recvmsg.c): Likewise.
5564         (CFLAGS-oldsendmsg.c): Likewise.
5565         (CFLAGS-oldrecvmsg.c): Likewise.
5566         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5567         initialization.
5568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5569         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5570         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5571         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5572         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5573         iovlen and controllen fields to adjust to POSIX specification.
5574         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5575         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5576         added recvmsg and sendmsg.
5577         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5578         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5579         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5580         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5581         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5582         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5583         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5584         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5585         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5586         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5587         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5588         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5590         Likewise.
5591         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5593         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5594         Likewise.
5595         Likewise.
5596         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5597         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5598         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5599         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5600         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5601         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5603         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5605         Likewise.
5606         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5607         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5609         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5610         from auto-generation.
5611         (sendmsg): Likewise.
5612         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5613         (sendmsg): Likewise.
5614         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5615         (sendmsg): Likewise.
5616         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5617         (sendmsg): Likewise.
5618         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5619         (sendmsg): Likewise.
5620         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5621         (sendmsg): Likewise.
5622         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5623         Likewise.
5624         (sendmsg): Likewise.
5625         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5626         (sendmsg): Likewise.
5627         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5629         Remove.
5630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5631         Likewise.
5632         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5633         Undefine.
5634         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5635         Likewise.
5636         * sysdeps/unix/sysv/linux/kernel-features.h
5637         (__ASSUME_SENDMSG_SYSCALL): Define.
5638         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5639         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5641         Remove.
5642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5643         Likewise.
5644         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5645         Undefine.
5646         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5647         Likewise.
5648         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5650         Remove.
5651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5652         Likewise.
5653         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5654         Undefine.
5655         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5656         Likewise.
5657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5658         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5659         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5660         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5661         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5662         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5663         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5664         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5665         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5667 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5669         * stdlib/gen-tst-strtod-round.c: Add backslash to
5670         compile command in comment.
5671         (printfp): Remove the literal suffix, and define an infinite
5672         value as INF to avoid expansion clash with INFINITY.
5673         (round_str): Remove the literal suffix.
5674         (round_for_all): Likewise, remove the now duplicate ldbl-64
5675         entry, and remove some magic constants.
5677         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5678         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5679         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5680         (_CONCAT): New macro.
5681         (CONCAT): Likewise.
5682         (CHOOSE_ld): Likewise.
5683         (CHOOSE_f): Likewise.
5684         (CHOOSE_d): Likewise.
5685         (FTYPE_MEMBER): Likewise.
5686         (BOOL_MEMBER): Likewise.
5687         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5688         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5689         (_XNTRY): Likewise.
5690         (XNTRY): Likewise.
5691         (_ENTRY): Likewise.
5692         (ENTRY): Likewise.
5693         (test_exactness): Generate members via macro.
5694         (test_results): Likewise.
5695         (test): Update members.
5696         (TEST): Redefine using new macros.
5697         (INF): New macro.
5698         (fetestmodes): New structure.
5699         (do_test): Refactor to be type generic.
5700         (test_in_one_mode): Refactor duplicate code into
5701         (GEN_ONE_TEST): New macro.
5703         * stdlib/tst-strtod-round-data.h: Regenerate.
5705         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5706         Extend to pass additional arbitrary parameters to
5707         generators.
5709 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5711         [BZ #15479]
5712         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5713         floating-point state after first floating-point operation on
5714         input.  Restore full floating-point state instead of just rounding
5715         mode.
5716         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5717         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5718         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5719         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5720         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5722         [BZ #15479]
5723         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5724         floating-point state after first floating-point operation on
5725         input.  Restore full floating-point state instead of just rounding
5726         mode.
5727         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5728         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5729         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5730         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5731         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5733 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5735         [BZ #19727]
5736         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5737         valid high surrogate.
5738         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5739         of an utf16 surrogate.
5740         * iconv/gconv_simple.c (BODY): Likewise.
5741         * iconvdata/bug-iconv12.c: New file.
5742         * iconvdata/Makefile (tests): Add bug-iconv12.
5744 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5746         [BZ #19726]
5747         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5748         outptrp in case of an illegal input.
5749         * iconv/tst-iconv6.c: New file.
5750         * iconv/Makefile (tests): Add tst-iconv6.
5752 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5754         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5755         an error in case of a value in range of an utf16 low surrogate.
5757 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5759         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5760         an error in case of a value in range of an utf16 low surrogate.
5762 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5764         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5765         Move to ...
5766         * sysdeps/s390/Makefile: ... here.
5767         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5768         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5769         (BRANCH_ON_COUNT): New define.
5770         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5771         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5772         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5773         run on s390-32, too.
5774         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5775         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5776         run on s390-32, too.
5777         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5778         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5779         run on s390-32, too.
5781 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5783         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5784         etf3eh or new vector loop-variant.
5786 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5788         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5789         etf3eh or new vector loop-variant.
5791 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5793         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5794         or new vector loop-variant.
5796 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5798         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5799         Rename to TR_LOOP and usage of tr instead of troo instruction.
5801 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5803         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5804         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5806 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5808         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5809         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5810         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5811         New override define.
5812         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5814 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5816         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5817         * sysdeps/s390/configure.ac: Add test for S390 vector register
5818         support in gcc.
5819         * sysdeps/s390/configure: Regenerated.
5821 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5823         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5824         Install file from $(objpfx)gconv-modules.
5825         ($(objpfx)gconv-modules): Concatenate architecture specific file
5826         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5827         * sysdeps/s390/gconv-modules: New file.
5828         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5829         Deleted.
5830         ($(objpfx)gconv-modules-s390): Deleted.
5831         (sysdeps-gconv-modules): New variable.
5833 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5835         [BZ #15479]
5836         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5837         of immediate operand to rounding instruction.
5838         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5839         Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5841         Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5843         Likewise.
5845 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5847         * math/libm-test.inc (MIN_EXP): Directly define as
5848         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5850 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5852         * math/libm-test.inc (MANT_DIG): Directly define as
5853         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5855 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5857         * stdlib/gen-tst-strtod-round.c (main):
5858           Change usage to more closely match the generated
5859           output.  Add usage and compilation instructions.
5860           (string_to_fp): Add and use FILE* parameter as
5861           output target.
5862           (print_fp): Likewise.
5863           (round_str): Likewise.
5864           (round_for_all): Likewise.
5865         * stdlib/tst-strtod-round.c (tests): Move into
5866         * stdlib/tst-strtod-round-data.h: New file.
5868 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5870         [BZ #15479]
5871         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5872         (__round): Do not force "inexact" exception.
5873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5874         variable.
5875         (__round): Do not force "inexact" exception.
5876         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5877         (__roundf): Do not force "inexact" exception.
5878         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5879         (__roundl): Do not force "inexact" exception.
5880         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5881         (__roundl): Do not force "inexact" exception.
5882         * math/libm-test.inc (round_test_data): Do not allow spurious
5883         "inexact" exceptions.
5885         [BZ #15479]
5886         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5887         exception in comment.
5888         (huge): Remove variable.
5889         (__floor): Do not force "inexact" exception.
5890         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5891         "inexact" exception in comment.
5892         (huge): Remove variable.
5893         (__floor): Do not force "inexact" exception.
5894         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5895         exception in comment.
5896         (huge): Remove variable.
5897         (__floorf): Do not force "inexact" exception.
5898         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5899         exception in comment.
5900         (huge): Remove variable.
5901         (__floorl): Do not force "inexact" exception.
5903         [BZ #15479]
5904         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5905         exception in comment.
5906         (huge): Remove variable.
5907         (__ceil): Do not force "inexact" exception.
5908         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5909         "inexact" exception in comment.
5910         (huge): Remove variable.
5911         (__ceil): Do not force "inexact" exception.
5912         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5913         (__ceilf): Do not force "inexact" exception.
5914         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5915         exception in comment.
5916         (huge): Remove variable.
5917         (__ceill): Do not force "inexact" exception.
5919 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5921         * config.h.in (BIND_NOW): New.
5922         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5923         * configure: Regenerated.
5924         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5925         indirect branch via the GOT slot.
5927 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5929         [BZ #19765]
5930         * sysdeps/s390/mempcpy.S: New File.
5931         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5933         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5934         Add mempcpy variants.
5935         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5936         (memcpy): Adjust to be usable from mempcpy entry point.
5937         (__memcpy_mvcle): Likewise.
5938         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5939         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5940         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5941         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5942         (__memcpy_z10): Likewise.
5943         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5945 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5947         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5948         Remove __GI_ symbol.
5949         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5950         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5951         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5952         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5953         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5954         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5956 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5958         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5959         Use cghi instead of chi to compare 64bit value.
5961 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5963         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5964         Jump to 1MB check before executing mvc-loop.
5966 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5968         [BZ #6527]
5969         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5970         unconditionally.
5971         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5973 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5975         * stdlib/tst-strtod6.c (do_test): Use new type generic
5976         invocation of the test function.
5977         (test): Refactor into ...
5978         (TEST_STRTOD): New macro base function.
5980 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5982         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5983         (TEST_STRTOD): New macro.
5984         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5986 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5988         * stdlib/tst-strtod6.c (do_test): Use new type generic
5989         invocation of the test function.
5990         (test): Refactor into ...
5991         (TEST_STRTOD): New macro base function.
5993 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5995         CVE-2016-4429
5996         [BZ #20112]
5997         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5998         payload.
6000 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6002         [BZ #20111]
6003         * bits/sockaddr.h (_SS_SIZE): Define.
6004         * bits/socket.h (_SS_SIZE): Remove.
6005         (_SS_PADSIZE): Adjust to account for all padding.
6006         (struct sockaddr_storage): Update comment.  Avoid implicit
6007         padding.
6008         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6009         (_SS_PADSIZE): Adjust to account for all padding.
6010         (struct sockaddr_storage): Update comment.  Avoid implicit
6011         padding.
6012         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6013         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6014         (_SS_PADSIZE): Adjust to account for all padding.
6015         (struct sockaddr_storage): Update comment.  Avoid implicit
6016         padding.
6017         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6018         __SS_SIZE is 126 in this version.
6019         * inet/tst-sockaddr.c: New file.
6020         * inet/Makefile (tests): Add tst-sockaddr.c
6021         (tst-sockaddr.c): Compile with non-strict aliasing.
6023 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6025         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6026         [XPG3 || XPG4].
6027         (NL_ARGMAX): Also expect for [XPG3].
6028         (NL_LANGMAX): Likewise.
6029         (NL_MSGMAX): Likewise.
6030         (NL_NMAX): Likewise.
6031         (NL_SETMAX): Likewise.
6032         (NL_TEXTMAX): Likewise.
6033         (NZERO): Likewise.
6034         (TMP_MAX): Likewise.
6035         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6036         variable.
6038         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6039         (PF_MAX): Update value.
6040         (AF_KCM): New macro.
6041         (SOL_NETBEUI): Likewise.
6042         (SOL_LLC): Likewise.
6043         (SOL_DCCP): Likewise.
6044         (SOL_NETLINK): Likewise.
6045         (SOL_TIPC): Likewise.
6046         (SOL_RXRPC): Likewise.
6047         (SOL_PPPOL2TP): Likewise.
6048         (SOL_BLUETOOTH): Likewise.
6049         (SOL_PNPIPE): Likewise.
6050         (SOL_RDS): Likewise.
6051         (SOL_IUCV): Likewise.
6052         (SOL_CAIF): Likewise.
6053         (SOL_ALG): Likewise.
6054         (SOL_NFC): Likewise.
6055         (SOL_KCM): Likewise.
6056         (MSG_BATCH): New enum value and macro.
6058 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6060         [BZ #18185]
6061         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6062         sharing L2 cache to 2 for Knights Landing.
6064 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6066         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6067         (FTW_DP): Do not expect for [XPG3 || XPG4].
6068         (FTW_SL): Do not expect for [XPG3].
6069         (FTW_SLN): Likewise.
6070         (FTW_PHYS): Likewise.
6071         (FTW_MOUNT): Likewise.
6072         (FTW_DEPTH): Likewise.
6073         (FTW_CHDIR): Likewise.
6074         (nftw): Likewise.
6075         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6076         variable.
6078 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6080         * manual/errno.texi: Fix various typos & grammar errors.
6082 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6084         * manual/intro.texi: Fix duplicated typo.
6086 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6088         [BZ #13304]
6089         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6090         <float.h>, <math_private.h> and <stdlib.h>.
6091         (add_split): New function.
6092         (mul_split): Likewise.
6093         (ext_val): New typedef.
6094         (store_ext_val): New function.
6095         (mul_ext_val): New function.
6096         (compare): New function.
6097         (add_split_ext): New function.
6098         (__fmal): After checking for Inf, NaN and zero, compute result as
6099         an exact sum of scaled double values in round-to-nearest before
6100         adding those up and adjusting for other rounding modes.
6101         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6102         tests of fma.
6103         * math/auto-libm-test-out: Regenerated.
6105 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6107         [BZ #20119]
6108         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6109         processor level type mask for CPUID with EAX == 11.
6111 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6113         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6114         logical threads if the HTT bit is 0.
6115         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6116         (index_cpu_HTT): Likewise.
6117         (reg_HTT): Likewise.
6119 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6121         [BZ #20115]
6122         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6123         Remove alignments on jump targets.
6125 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6127         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6128         (getpwent): Likewise.
6129         (setpwent): Likewise.
6130         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6131         variable.
6133         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6134         (remque): Likewise.
6135         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6136         variable.
6138 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6140         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6141         not being tested.
6143 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6145         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6146         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6147         call.
6148         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6149         (__condvar_cleanup1): Likewise.
6151 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6153         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6154         New
6155         (__pthread_unwind): Renamed to ...
6156         (PTHREAD_UNWIND): This.
6157         (__pthread_enable_asynccancel): Replace
6158         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6160 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6162         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6163         (CLONE_NEWCGROUP): New macro.
6165         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6166         (Q_GETNEXTQUOTA): New macro.
6168 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6170         [BZ #19907]
6171         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6172         buffer updated by the previous run.
6173         * string/test-memcpy.c (do_one_test): Likewise.
6174         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6175         * string/test-memmove.c (do_one_test): Likewise.
6177 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6179         [BZ #20094]
6180         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6181         not [__USE_XOPEN].
6182         (unlockpt): Likewise.
6183         (ptsname): Likewise.
6184         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6185         variable.
6187         [BZ #20076]
6188         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6189         instead of [__USE_UNIX98].
6190         (S_ISSOCK): Likewise.
6191         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6192         variable.
6194         [BZ #20074]
6195         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6196         [__USE_POSIX].
6197         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6198         variable.
6200         [BZ #20051]
6201         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6202         (ttyslot): Do not declare.
6203         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6204         (ttyslot): New prototype.
6205         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6206         variable.
6207         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6209 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6211         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6213 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6215         Fix race condition in tst-mallocfork2, use fewer resources.
6216         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6217         to current process group.
6218         (signal_sender): Yield in the non-sleeping case.
6220 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6222         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6223         (ecvt): Likewise.
6224         (fcvt): Likewise.
6225         (gcvt): Likewise.
6226         (getsubopt): Likewise.
6227         (grantpt): Likewise.
6228         (initstate): Likewise.
6229         (l64a): Likewise.
6230         (mktemp): Likewise.
6231         (mkstemp): Likewise.
6232         (ptsname): Likewise.
6233         (random): Likewise.
6234         (realpath): Likewise.
6235         (setstate): Likewise.
6236         (srandom): Likewise.
6237         (ttyslot): Likewise.
6238         (unlockpt): Likewise.
6239         (valloc): Likewise.
6241         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6242         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6243         variable.
6245 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6247         [BZ #20072]
6248         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6249         init_cpu_features only if SHARED is defined.
6250         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6252 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6254         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6255         non-inclusive caches on Intel processors.
6257 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6259         * malloc/malloc.c (dumped_main_arena_start)
6260         (dumped_main_arena_end): New variables.
6261         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6262         (do_check_chunk): Skip dumped fake mmapped chunks.
6263         (munmap_chunk): Likewise.
6264         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6265         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6266         mmapped chunks.
6267         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6268         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6269         and dumped_main_arena_end to cover the dumped heap.
6271 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6273         * conform/data/time.h-data (getdate_err): Do not expect for
6274         [XPG3].
6275         (getdate): Likewise.
6276         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6277         variable.
6279         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6280         (F_ULOCK): Likewise.
6281         (F_TEST): Likewise.
6282         (F_TLOCK): Likewise.
6283         (useconds_t): Likewise.
6284         (intptr_t): Do not expect for [XPG3] or [XPG4].
6285         (brk): Do not expect for [XPG3]
6286         (fchown): Likewise.
6287         (fchdir): Likewise.
6288         (ftruncate): Likewise.
6289         (getdtablesize): Likewise.
6290         (gethostid): Likewise.
6291         (getpagesize): Likewise.
6292         (getpgid): Likewise.
6293         (getsid): Likewise.
6294         (getwd): Likewise.
6295         (lchown): Likewise.
6296         (lockf): Likewise.
6297         (readlink): Likewise.
6298         (sbrk): Likewise.
6299         (setpgrp): Likewise.
6300         (setregid): Likewise.
6301         (setreuid): Likewise.
6302         (symlink): Likewise.
6303         (sync): Likewise.
6304         (truncate): Likewise.
6305         (ualarm): Likewise.
6306         (usleep): Likewise.
6307         (vfork): Likewise.
6308         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6309         variable.
6311         [BZ #20054]
6312         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6313         not [__USE_UNIX98].
6314         * conform/data/unistd.h-data (gethostname): Do not expect for
6315         [XPG3].
6317         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6318         [!POSIX] (S_IFBLK): Likewise.
6319         [!POSIX] (S_IFCHR): Likewise.
6320         [!POSIX] (S_IFIFO): Likewise.
6321         [!POSIX] (S_IFREG): Likewise.
6322         [!POSIX] (S_IFDIR): Likewise.
6323         [!POSIX] (S_IFLNK): Likewise.
6324         [!POSIX] (S_IFSOCK): Likewise.
6325         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6326         variable.
6327         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6329 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6331         * sysdeps/aarch64/memset.S (__memset):
6332         Rewrite of optimized memset.
6334 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6336         [BZ #19703]
6337         Partially async-signal-safe fork for single-threaded processes.
6338         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6339         variable.  Do not acquire and reset/release malloc and libio locks
6340         in single-threaded processes.
6341         * malloc/tst-mallocfork2.c: New file.
6342         * malloc/Makefile (tests): Add it.
6344 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6346         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6347         argument.  Use scratch buffer instead of extend_alloca.
6348         (gethosts): Use scratch buffer instead of extend_alloca.
6349         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6350         extend_alloca.
6351         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6353 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6355         [BZ #20055]
6356         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6357         instead of [__USE_UNIX98].
6358         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6359         [__USE_UNIX98].
6360         * conform/data/termios.h-data (tcgetsid): Do not expect for
6361         [XPG3].
6362         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6363         variable.
6364         (test-xfail-XPG4/termios.h/conform): Likewise.
6366 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6368         Do not use mcheck in localedef.
6369         * locale/programs/localedef.c (turn_on_mcheck)
6370         (__malloc_initialize_hook): Remove.
6372 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6374         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6375         * sysdeps/s390/s390-64/Makefile: Likewise.
6377 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6379         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6380         Remove ifunc-defines.sym.
6381         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6382         Likewise.
6383         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6384         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6385         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6386         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6387         rtld-global-offsets.sym.
6388         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6389         * sysdeps/x86/cpu-features-offsets.sym: This.
6390         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6391         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6393 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6395         [BZ #20073]
6396         * io/sys/stat.h (fchmod): Declare for
6397         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6398         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6399         variable.
6401         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6402         [XPG3] (S_IFSOCK): Likewise.
6403         [XPG3] (S_ISVTX): Likewise.
6404         [XPG3] (S_ISLNK): Likewise.
6405         [XPG3] (S_ISSOCK): Likewise.
6406         [XPG3] (fchmod): Likewise.
6407         [XPG3] (lstat): Likewise.
6408         [XPG3] (mknod): Likewise.
6410         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6411         [XPG3].  Expect type long and XFAIL for [XPG4].
6412         (st_blocks): Likewise.
6414         [BZ #20044]
6415         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6416         (pthread_atfork): New prototype.
6417         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6418         variable.
6420         [BZ #20043]
6421         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6422         prototype.
6424 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6426         [BZ #20017]
6427         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6428         gmtime.
6430 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6432         [BZ #19994]
6433         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6434         flag in _res.options.
6436 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6438         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6439         [XPG3 || XPG4].
6440         (blksize_t): Likewise.
6441         (clockid_t): Likewise.
6442         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6443         variable.
6444         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6446 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6448         * sysdeps/unix/sysv/linux/s390/init-first.c:
6449         Add VDSO_SYMBOL(getcpu).
6450         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6451         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6452         Add VDSO_SYMBOL(getcpu).
6453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6454         New define HAVE_GETCPU_VSYSCALL.
6455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6457 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6459         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6460         instead of <sysdeps/x86_64/cacheinfo.c>.
6461         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6462         * sysdeps/x86/cacheinfo.c: Here.
6464 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6466         * malloc/malloc-internal.h: Adjust header file guard.
6468 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6470         [BZ #19787]
6471         * inet/getnameinfo.c (check_sprintf_result): New function.
6472         (CHECKED_SNPRINTF): New macro.
6473         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6474         to the host buffer.
6475         (gni_host_local): Use checked_copy to copy the host name.
6476         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6477         (gni_serv_local): Use checked_copy to copy the service name.
6478         (getnameinfo): Remove unnecessary truncation of result buffers.
6480 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6482         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6483         in case of inet_ntop failure.
6485 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6487         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6488         avoid long lines.
6489         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6490         variables.
6491         (gni_host_inet, gni_host_local): Add comment.
6492         (gni_host): Add comment.  Use temporary to avoid long lines.
6494 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6496         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6497         registers specifiers where general purpose registers specifiers should
6498         have been used.
6500 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6502         [BZ #19779]
6503         CVE-2016-1234
6504         Avoid copying names of directory entries.
6505         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6506         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6507         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6508         (struct readdir_result): New type.
6509         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6510         (GL_READDIR): New macros.
6511         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6512         (convert_dirent, convert_dirent64): New functions.
6513         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6514         convert_dirent64.  Adjust references to the readdir result.
6515         * sysdeps/unix/sysv/linux/i386/glob64.c:
6516         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6517         * posix/bug-glob2.c (LONG_NAME): Define.
6518         (filesystem): Add LONG_NAME.
6519         (my_DIR): Increase the size of room_for_dirent.
6521 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6523         [BZ #20041]
6524         * misc/sys/select.h (__need_timespec): Only define if
6525         [__USE_XOPEN2K].
6526         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6527         variable.
6528         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6529         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6530         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6532 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6533             Segher Boessenkool  <segher@gcc.gnu.org>
6535         [BZ #20004]
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6537         (__novec_swapcontext): Add missing load.
6539 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #20023]
6542         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6543         <time.h>.
6544         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6545         variable.
6546         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6548 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6551         flags CLONE_VM compare.
6553 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6555         [BZ #20031]
6556         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6557         completely empty.
6559 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6561         [BZ #19573]
6562         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6563         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6564         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6565         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6566         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6567         (hesiod_free_list): Mark as hidden.
6568         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6569         res_set, res_get.
6570         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6571         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6572         (hesiod_init): Remove obsolete res_ninit call.
6573         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6574         (hesiod_bind): Do not call init.
6575         (get_txt_records): Use res_mkquery, res_send instead of
6576         res_nmkquery, res_nsend.
6577         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6578         instead of _nss_hesiod_init.
6579         (_nss_hesiod_initgroups_dyn): Likewise.
6580         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6581         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6582         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6584 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6586         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6587         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6589 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6591         * hesiod/hesiod.h: Remove RCS keyword.
6592         * hesiod/hesiod_p.h: Likewise.
6594         * hesiod/hesiod.c: Likewise.
6596 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6598         [BZ #12450]
6599         * locale/iso-639.def: Add Samogitian/sgs.
6601 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6603         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6605         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6607 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6608             Carlos O'Donell  <carlos@redhat.com>
6610         [BZ #19072]
6611         * grp/Makefile (headers): Add grp-merge.h
6612         (routines): Add grp-merge.
6613         * grp/getgrgid_r.c: Include grp-merge.h.
6614         (DEEPCOPY_FN): Define.
6615         (MERGE_FN): Define.
6616         * grp/getgrname_r.c: Include grp-merge.h.
6617         (DEEPCOPY_FN): Define.
6618         (MERGE_FN): Define.
6619         * grp/grp-merge.c: New file.
6620         * grp/grp-merge.h: New file.
6621         * include/grp-merge.h: New file.
6622         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6623         __copy_grp@GLIBC_PRIVATE.
6624         * manual/nss.texi (Actions in the NSS configuration): Describe
6625         return, continue, and merge.
6626         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6627         (DEEPCOPY_FN): Define.
6628         (MERGE_FN): Define.
6629         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6630         (DEEPCOPY_FN): Define.
6631         (MERGE_FN): Define.
6632         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6633         [!MERGE_FN]: Define __merge_einval.
6634         (CHECK_MERGE): Define.
6635         (REENTRANT_NAME): Process merge if do_merge is true.
6636         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6637         (__nss_getent_r): Likewise.
6638         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6639         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6641 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6643         [BZ #20012]
6644         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6645         length to calculate the buffer to read.
6646         (fmemopen_write): Set the buffer position based on bytes written.
6647         (fmemopen_seek): Return EINVAL for invalid whence modes.
6649         [BZ #19957]
6650         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6651         tst-getpid2.
6652         (test): Add tst-clone2.
6653         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6654         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6655         pid/tid fields for CLONE_VM.
6656         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6657         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6658         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6659         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6660         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6661         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6662         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6663         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6665         Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6667         Likewise.
6668         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6669         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6670         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6671         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6672         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6673         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6674         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6675         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6677 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6679         [BZ #19642]
6680         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6681         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6682         (gni_serv_local, gni_serv): New functions extracted from
6683         getnameinfo.
6684         (getnameinfo): Call gni_host and gni_serv to perform the
6685         processing.  Always free scratch buffer.
6687 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6689         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6690         remaining bytes in the dest string, with zeros.
6692 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6694         [BZ #20010]
6695         CVE-2016-3706
6696         * sysdeps/posix/getaddrinfo.c
6697         (convert_hostent_to_gaih_addrtuple): New function.
6698         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6699         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6700         AF_INET data.
6702 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6704         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6705         callback function gl_readdir.
6706         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6707         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6708         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6709         memcpy to copy the name.
6710         * manual/pattern.texi (Calling Glob): Document requirements for
6711         implementations of the gl_readdir callback function.
6712         * manual/examples/mkdirent.c: New example.
6713         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6714         per the manual guidance.
6715         * posix/tst-gnuglob.c (my_readdir): Likewise.
6717 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6719         [BZ #20014]
6720         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6721         not [__USE_POSIX].
6722         (getchar_unlocked): Likewise.
6723         (putc_unlocked): Likewise.
6724         (putchar_unlocked): Likewise.
6725         (flockfile): Likewise.
6726         (ftrylockfile): Likewise.
6727         (funlockfile): Likewise.
6728         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6729         variable.
6730         (test-xfail-XPG4/stdio.h/conform): Likewise.
6732         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6733         Expect constant.
6734         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6735         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6736         variable.
6737         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6738         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6740         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6741         [__USE_LARGEFILE64] (off64_t): Likewise.
6742         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6743         variable.
6745 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6747         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6749 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6751         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6752         * resolv/res_init.c: Likewise.
6753         * resolv/res_mkquery.c: Likewise.
6755 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6757         * resolv/res_init.c (isascii): Do not define.  Use definition in
6758         <ctype.h>.
6759         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6760         (LOG_AUTH): Remove.
6761         (SPRINTF): Remove, adjust caller.
6762         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6764 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6767         SUNSECURITY conditional.
6768         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6770 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6772         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6773         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6774         Remove BSD-related preprocessor conditionals.
6775         * conf/portability.h: Remove.
6777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6779         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6780         * resolv/res_data.c: Likewise.
6782 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6784         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6785         * resolv/res_data.c: Remove code conditional on ultrix.
6787 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6789         * resolv/res_init.c (RFC1535): Do not define.  Remove
6790         RFC1535 preprocessor conditionals.
6791         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6792         because there configuration options which make the resolver
6793         behavior different.
6795 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6797         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6798         RESOLVSORT preprocessor conditionals.
6799         * resolv/nss_dns/dns-host.c: Likewise.
6800         * resolv/res_init.c: Likewise.
6802 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6804         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6805         is never defined.
6807 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6809         * inet/inet_lnaof.c: Remove SCSS keyword.
6810         * inet/inet_mkadr.c: Likewise.
6811         * inet/inet_net.c: Likewise.
6812         * inet/inet_netof.c: Likewise.
6813         * inet/rcmd.c: Likewise.
6814         * inet/rexec.c: Likewise.
6815         * inet/ruserpass.c: Likewise.
6817 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6819         * resolv/inet_addr.c: Remove _LIBC conditionals.
6820         * resolv/res_data.c: Likewise.
6821         * resolv/res_init.c: Likewise.
6822         * resolv/res_mkquery.c: Likewise.
6823         * resolv/res_libc.c: Update comment.
6824         * resolv/README: Update.
6826 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6828         * resolv/gethnamaddr.c: Remove SCSS keyword.
6829         * resolv/herror.c: Likewise.
6830         * resolv/inet_addr.c: Likewise.
6831         * resolv/inet_net_ntop.c: Likewise.
6832         * resolv/inet_net_pton.c: Likewise.
6833         * resolv/inet_neta.c: Likewise.
6834         * resolv/inet_ntop.c: Likewise.
6835         * resolv/inet_pton.c: Likewise.
6836         * resolv/ns_date.c: Remove RCS keyword.
6837         * resolv/ns_name.c: Likewise.
6838         * resolv/ns_netint.c: Likewise.
6839         * resolv/ns_parse.c: Likewise.
6840         * resolv/ns_print.c: Likewise.
6841         * resolv/ns_samedomain.c: Likewise.
6842         * resolv/ns_ttl.c: Likewise.
6843         * resolv/nsap_addr.c: Likewise.
6844         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6845         * resolv/res_data.c: Remove RCS keyword.
6846         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6847         * resolv/res_init.c: Likewise.
6848         * resolv/res_mkquery.c: Likewise.
6849         * resolv/res_query.c: Likewise.
6850         * resolv/res_send.c: Likewise.
6852 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6854         * conform/data/stdio.h-data (fdopen): Expect also for
6855         [XPG3 || XPG4].
6857         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6858         (fseeko): Likewise.
6859         (ftello): Likewise.
6860         (ftrylockfile): Likewise.
6861         (funlockfile): Likewise.
6862         (getc_unlocked): Likewise.
6863         (getchar_unlocked): Likewise.
6864         (putc_unlocked): Likewise.
6865         (putchar_unlocked): Likewise.
6867 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6869         [BZ #19868]
6870         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6871         DNS packet syntax checks (which were not needed before).  Skip
6872         over non-PTR records.
6874 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6876         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6877         definition.  Include <stddef.h> instead.
6879 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6881         [BZ #19831]
6882         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6883         function.
6884         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6885         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6887 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6889         [BZ #19862]
6890         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6891         (getanswer_r): Do not call syslog.
6892         (gaih_getanswer_slice): Likewise.
6893         * resolv/gethnamaddr.c (AskedForGot): Remove.
6894         (getanswer): Do not call syslog.
6895         (gethostbyaddr): Likewise.
6897 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6899         * conform/data/signal.h-data (union sigval): Expect also if
6900         [XOPEN2K].
6901         (struct sigevent): Likewise.
6902         (SIGEV_NONE): Likewise.
6903         (SIGEV_SIGNAL): Likewise.
6904         (SIGEV_THREAD): Likewise.
6905         (SIGRTMIN): Likewise.
6906         (SIGRTMAX): Likewise.
6907         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6908         variable.
6909         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6911 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6913         [BZ #19830]
6914         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6915         (gaih_getanswer_slice): Likewise.
6916         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6917         Also check for availability of RR metadata.
6919 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6921         [BZ #19825]
6922         * resolv/res_send.c (send_vc): Remove early *resplen2
6923         initialization.  Set *resplen2 on socket error.  Call
6924         close_and_return_error for other errors.
6926 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6928         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6929         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6930         (SCM_IUCV_TRGCLS): New define.
6932 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6934         [BZ #20005]
6935         * libio/fmemopen.c (fmemopen_write): Update internal position after
6936         write.
6937         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6938         * stdio-common/tst-fmemopen4.c: New file..
6940 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6942         [BZ #19996]
6943         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6944         not [__USE_XOPEN2K].
6945         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6946         variable.
6948         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6949         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6950         variable.
6952         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6953         [__USE_XOPEN2K8].
6954         [__USE_LARGEFILE64] (off64_t): Likewise.
6955         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6956         variable.
6958 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6960         [BZ #19989]
6961         * libio/stdio.h (cuserid): Do not declare if
6962         [__USE_XOPEN2K && !__USE_GNU].
6963         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6964         variable.
6966 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6968         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6969         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6971         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6972         ifunc'ed strcspn.
6973         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6974         [EALIGN]: Removed.
6975         [END]: Likewise
6976         [STRSPN]: Define instead of the above to control symbol name.
6977         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6978         New file.
6979         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6980         Likewise.
6981         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6982         Likewise.
6983         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6984         Likewise.
6985         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6986         [INITIAL_MASK]: New macro.
6987         [STRCSPN]: Likewise.
6988         [UPDATE_MASK]: Likewise.
6989         [USE_AS_STRCSPN]: Lisewise.
6991 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6993         [BZ #19931]
6994         * stdio-common/tst-vfprintf-width-prec.c: New file.
6995         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6996         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6997         (generated): Add mtrace-related files.
6998         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6999         (tst-%-mem.out): New pattern rule, replaces
7000         tst-printf-bz18872-mem.out.
7001         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7002         specifier, deallocate any previously allocated work buffer.
7004 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7006         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7007         Add nop before __startcontext, add explaining comments.
7009 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7011         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7012         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7013         completely different API.
7015         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7016         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7017         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7018         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7019         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7020         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7021         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7022         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7023         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7024         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7026 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7028         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7030 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7032         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7033         when it is the default of 0.
7035 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7037         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7038         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7039         (sysdep_routines): Add new strcasestr targets.
7040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7041         (__libc_ifunc_impl_list): Likewise.
7042         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7043         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7044         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7045         * sysdeps/powerpc/powerpc64/power8/Makefile:
7046         New file to add strcasestr-ppc64 to sysdep_routines.
7047         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7048         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7050 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7052         * benchtests/Makefile (wcsmbs-benchset): Include only for
7053         native builds and runs.
7054         (LOCALES): Likewise.
7055         (bench-build): Build timing-type here instead of the bench
7056         target.  Generate locale only for native builds.
7057         * benchtests/README: Add note for cross-building.
7059         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7061         * benchtests/README: Update README to include instructions on
7062         using bench-build.
7064         * Makefile.in (bench-build): New target.
7065         * Rules (PHONY): Add bench-build target.
7066         * benchtests/Makefile (bench): Depend on bench-build.
7067         (bench-build): New target.
7069 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7071         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7072         profil_reply_port.
7073         (profile_waiter): Do not initialize profil_reply_port.
7074         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7075         frequency instead of tick length in us.
7077 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7079         [BZ #18712]
7080         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7081         (__old_mempcpy_small): Likewise.
7082         (__old_strcpy_small): Likewise.
7083         (__old_stpcpy_small): Likewise.
7084         (__old_strpbrk_c2): Fix compat symbol name.
7085         (__old_strpbrk_c3): Likewise.
7086         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7087         (__mempcpy_small): Remove.
7088         (__strcpy_small): Remove.
7089         (__stpcpy_small): Remove.
7091 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7093         [BZ #19400]
7094         * locale/iso-639.def: Add the Talossan/tzl language.
7096 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7098         [BZ #16983]
7099         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7100         comment.  Add "ln" to strchr check on postal_fmt.
7102 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7104         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7105         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7106         tel_dom_fmt.
7108 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7110         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7111         (sysdep_routines): Added __strlen_power8.
7112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7113         __strlen_power8 entry.
7114         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7115         Implementation for POWER8.
7116         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7117         for __strlen_power8.
7118         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7119         Implementation for POWER8.
7121 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7123         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7125 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7127         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7128         Goldmont and Airmont processors.
7130 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7132         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7133         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7134         (__STRING2_SMALL_GET32): Remove.
7135         (memset): Remove.
7136         (__memset_1): Remove.
7137         (__memset_gc): Remove.
7138         (__mempcpy): Remove.
7139         (mempcpy): Remove.
7140         (__mempcpy_args): Remove.
7141         (strchr): Remove.
7142         (strcpy): Remove.
7143         (strcpy_args): Remove.
7144         (__stpcpy_args): Remove.
7145         (__strcmp_cc): Remove.
7146         (__strcmp_gc): Remove.
7147         (strstr): Remove.
7149 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7151         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7152         * nis/nis_call.c (nis_server_cache_add): Likewise.
7154 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7156         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7158 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7160         * malloc/arena.c (__malloc_fork_lock_parent)
7161         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7162         internal_function attribute.
7164 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7166         * stdio-common/printf_fp.c (__printf_fp_l):
7167         Rename ___printf_fp_l to __printf_fp_l and
7168         remove strong alias. Use libc_hidden_def instead
7169         of ldbl_hidden_def macro.
7171 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7173         Remove malloc hooks from fork handler.  They are no longer needed
7174         because malloc runs right before fork, and no malloc calls from
7175         other fork handlers are not possible anymore.
7176         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7177         declarations.
7178         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7179         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7180         (atfork_recursive_cntr): Remove.
7181         (__malloc_fork_lock_parent): Do not override malloc hooks and
7182         thread_arena.
7183         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7184         thread_arena.
7185         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7186         thread_arena instead of save_arena.
7188 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7190         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7191         (thread_atfork, thread_atfork_static): Remove.
7192         * sysdeps/mach/hurd/malloc-machine.h:
7193         (thread_atfork, thread_atfork_static): Remove.
7195 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7197         [BZ #19431]
7198         Run the malloc fork handler as late as possible to avoid deadlocks.
7199         * malloc/malloc-internal.h: New file.
7200         * malloc/malloc.c: Include it.
7201         * malloc/arena.c (ATFORK_MEM): Remove.
7202         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7203         Update comment.
7204         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7205         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7206         Remove outdated comment.
7207         (ptmalloc_init): Do not call thread_atfork.  Remove
7208         thread_atfork_static.
7209         * malloc/tst-malloc-fork-deadlock.c: New file.
7210         * Makefile (tests): Add tst-malloc-fork-deadlock.
7211         (tst-malloc-fork-deadlock): Link against libpthread.
7212         * manual/memory.texi (Aligned Memory Blocks): Update safety
7213         annotation comments.
7214         * sysdeps/nptl/fork.c (__libc_fork): Call
7215         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7216         __malloc_fork_unlock_child.
7217         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7219 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7221         [BZ #19613]
7222         Remove union wait.
7223         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7224         (w_stopsig, w_stopval): Remove.
7225         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7226         stat_loc argument.
7227         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7228         (__WAIT_STATUS_DEFN): Remove.
7229         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7230         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7231         (wait, wait3, wait4): Use int * for the stat_loc argument.
7232         * posix/wait.c (__wait): Likewise.
7233         * posix/wait3.c (__wait3): Likewise.
7234         * posix/wait4.c (__wait4): Likewise.
7235         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7236         (__WAIT_STATUS_DEFN): Remove.
7237         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7238         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7239         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7240         argument.
7241         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7242         * sysdeps/posix/wait3.c (__wait3): Likewise.
7243         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7244         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7245         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7246         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7247         stat_loc argument.
7248         * manual/process.texi (BSD Wait Functions): Remove union wait.
7250 2016-04-13  Andreas Schwab  <schwab@suse.de>
7252         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7253         (test-extras): Add tst-tlsalign-vars.
7254         * math/Makefile: Wrap long lines.
7255         (libm-vec-test-wrappers): Define.
7256         (test-extras): Add $(libm-vec-test-wrappers).
7257         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7258         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7259         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7260         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7261         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7262         (extra-test-objs): Add corresponding objects.
7264 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7266         [BZ #19928]
7267         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7268         New.
7269         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7270         times of shared cache size.
7271         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7272         (VMOVNT): New.
7273         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7274         (VMOVNT): Likewise.
7275         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7276         (VMOVNT): Likewise.
7277         (VMOVU): Changed to movups for smaller code sizes.
7278         (VMOVA): Changed to movaps for smaller code sizes.
7279         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7280         comments.
7281         (PREFETCH): New.
7282         (PREFETCH_SIZE): Likewise.
7283         (PREFETCHED_LOAD_SIZE): Likewise.
7284         (PREFETCH_ONE_SET): Likewise.
7285         Rewrite to use forward and backward loops, which move 4 vector
7286         registers at a time, to support overlapping addresses and use
7287         non temporal store if size is above the threshold and there is
7288         no overlap between destination and source.
7290 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7292         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7293         Include dl-vdso.
7294         * sysdeps/unix/sysv/linux/mips/Versions: Add
7295         __vdso_clock_gettime.
7296         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7297         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7298         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7299         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7300         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7301         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7302         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7303         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7304         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7306 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7308         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7309         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7312         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7313         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7316         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7318         syscalls generation.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7320         [__NR_pwrite64] (__NR_write): Remove define.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7322         [__NR_pwrite64] (__NR_write): Remove define.
7323         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7324         Remove define.
7325         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7326         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7327         Remove define.
7328         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7329         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7330         Linux implementation as base.
7331         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7333         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7334         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7339         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7341         syscall generation.
7342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7343         [__NR_pread64] (__NR_pread): Remove define.
7344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7345         [__NR_pread64] (__NR_pread): Likewise.
7346         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7347         define.
7348         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7349         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7350         Remove define.
7351         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7352         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7353         Linux implementation as base.
7354         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7355         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7356         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7358         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7359         definition.
7360         (__ALIGNMENT_COUNT): Likewise.
7361         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7362         (__ALIGNMENT_COUNT): Likewise.
7363         (SYSCALL_LL): New define.
7364         (SYSCALL_LL64): Likewise.
7365         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7366         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7367         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7368         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7371         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7372         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7373         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7374         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7375         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7377 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7379         [BZ #19865]
7380         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7381         original buffer before retry.
7383 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7385         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7386         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7387         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7388         GLRO(dl_auxv) list.
7389         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7390         including <ldsodefs.h>.
7391         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7393 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7395         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7396         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7397         $(CPPFLAGS).
7399 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7401         [BZ #17950]
7402         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7403         Add -mfpmath=387.
7405 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7407         * sysdeps/i386/configure.ac: Change == to = when calling test.
7408         * sysdeps/x86_64/configure.ac: Likewise.
7409         * sysdeps/i386/configure: Regenerated.
7410         * sysdeps/x86_64/configure: Likewise.
7412 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7414         [BZ #16137]
7415         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7416         * benchtests/bench-strcoll.c (input_files): Likewise.
7417         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7418         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7419         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7421 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7423         [BZ #19929]
7424         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7425         [__USE_XOPEN2K8 && !__USE_GNU].
7426         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7427         variable.
7429         [BZ #19925]
7430         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7431         define if [!__USE_MISC && __USE_XOPEN2K].
7432         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7433         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7434         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7435         Likewise.
7436         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7437         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7438         variable.
7439         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7441 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7443         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7444         (sysdep_routines): Add new strspn targets.
7445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7446         (__libc_ifunc_impl_list): Add strspn.
7447         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7448         New file.
7449         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7450         Likewise.
7451         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7452         Likewise.
7453         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7454         Likewise.
7456 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7458         * misc/hsearch_r.c: Include <limits.h>.
7460 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7462         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7464 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7466         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7467         (MEMCPY_SYMBOL): New.
7468         (MEMPCPY_SYMBOL): Likewise.
7469         (MEMMOVE_CHK_SYMBOL): Likewise.
7470         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7471         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7472         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7473         Provide alias for memcpy in libc.a and ld.so.
7475 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7477         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7478         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7479         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7480         Disabled fro now.
7481         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7482         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7484 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7486         * benchtests/Makefile (string-benchset): Add memcpy-large,
7487         memmove-large and memset-large.
7488         * benchtests/bench-memcpy-large.c: New file.
7489         * benchtests/bench-memmove-large.c: Likewise.
7490         * benchtests/bench-memmove-large.c: Likewise.
7491         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7493 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7495         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7496         32-bit displacement to avoid long nop between instructions.
7498 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7500         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7501         a comment on VMOVU and VMOVA.
7503 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7505         [BZ #19633]
7506         Use specified locale for number formatting in strfmon_l.
7507         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7508         (__nl_lookup_word): New inline functions.
7509         * include/printf.h (__print_fp_l): Declare.
7510         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7511         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7512         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7513         (___printf_fp): New function.
7514         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7515         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7516         * stdlib/tst-strfmon_l.c (do_test): New test.
7517         * stdlib/Makefile (tests): Add kt.
7518         (LOCALES): Build additional locales.
7519         (tst-strfmon_l.out): Require locales.
7521 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7523         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7524         if not in libc.
7525         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7526         Likewise.
7527         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7528         Likewise.
7529         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7530         Likewise.
7532 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7534         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7535         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7536         with unaligned_erms.
7537         (__memmove_erms): Skip if source == destination.
7538         (__memmove_unaligned_erms): Don't check source == destination
7539         first.
7541 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7543         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7544         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7546 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7548         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7549         * string/strspn.c (strspn): Likewise.
7551 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7553         * benchtests/bench-memset.c (do_test): Support 64-byte
7554         alignment.
7555         (test_main): Test 64-byte alignment.
7557 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7559         * benchtests/bench-memmove.c (test_main): Test 64-byte
7560         alignment.
7562 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7564         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7566 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7568         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7569         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7570         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7572         * string/strpbrk.c (strpbrk): Rewrite function.
7573         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7574         (__strpbrk_c2): Likewise.
7575         (__strpbrk_c3): Likewise.
7576         * string/string-inlines.c
7577         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7578         Likewise.
7579         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7580         Likewise.
7582         * string/strspn.c (strcspn): Rewrite function.
7583         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7584         (__strspn_c1): Remove inline function.
7585         (__strspn_c2): Likewise.
7586         (__strspn_c3): Likewise.
7587         * string/string-inlines.c
7588         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7589         compatibility symbol.
7590         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7591         Likewise.
7592         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7593         Likewise.
7594         * string/string-inlines.c: Include generic version.
7596 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7597             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7599         * string/Version (libc): Add GLIBC_2.24.
7600         * string/strcspn.c (strcspn): Rewrite function.
7601         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7602         (__strcspn_c1): Remove inline function.
7603         (__strcspn_c2): Likewise.
7604         (__strcspn_c3): Likewise.
7605         * string/string-inline.c
7606         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7607         compatibility symbol.
7608         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7609         Likewise.
7610         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7611         Likewise.
7612         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7614 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7616         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7617         Use ahi instead of aghi to adjust stack pointer.
7619 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7621         [BZ #19853]
7622         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7623         TEST to take significant digits as second parameter.
7624         [TEST]: Redefine in terms of TEST_N taking 30
7625         significant digits.
7626         (do_test): Add test case to demonstrate precision
7627         failure in the ldbl-128ibm printf.
7628         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7629         (__mpn_extract_long_double): Carry 7 extra intermediate
7630         bits of precision to aide computing difference when
7631         signs differ.
7633 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7635         [BZ #19881]
7636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7637         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7638         memset-avx512-unaligned-erms.
7639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7640         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7641         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7642         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7643         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7644         __memset_sse2_unaligned_erms, __memset_erms,
7645         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7646         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7647         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7648         file.
7649         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7650         Likewise.
7651         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7652         Likewise.
7653         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7654         Likewise.
7656 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7658         [BZ #19776]
7659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7660         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7661         memmove-avx512-unaligned-erms.
7662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7663         (__libc_ifunc_impl_list): Test
7664         __memmove_chk_avx512_unaligned_2,
7665         __memmove_chk_avx512_unaligned_erms,
7666         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7667         __memmove_chk_sse2_unaligned_2,
7668         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7669         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7670         __memmove_avx512_unaligned_erms, __memmove_erms,
7671         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7672         __memcpy_chk_avx512_unaligned_2,
7673         __memcpy_chk_avx512_unaligned_erms,
7674         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7675         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7676         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7677         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7678         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7679         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7680         __mempcpy_chk_avx512_unaligned_erms,
7681         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7682         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7683         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7684         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7685         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7686         __mempcpy_erms.
7687         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7688         file.
7689         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7690         Likwise.
7691         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7692         Likwise.
7693         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7694         Likwise.
7696 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7698         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7699         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7700         (La_s390_64_regs): Likewise.
7701         (La_s390_32_retval): Append vector register lrv_v24.
7702         (La_s390_64_retval): Likeweise.
7703         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7704         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7705         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7706         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7708 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7710         [BZ #19916]
7711         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7712         to create a non-vector/vector version for _dl_runtime_resolve and
7713         _dl_runtime_profile. Move implementation to ...
7714         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7715         (_dl_runtime_resolve) Save and restore fpr/vrs.
7716         (_dl_runtime_profile) Save and restore vrs and fix some issues
7717         if _dl_call_pltexit is called.
7718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7719         Choose the correct resolver function if running on a machine with vx.
7720         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7721         to create a non-vector/vector version for _dl_runtime_resolve and
7722         _dl_runtime_profile. Move implementation to ...
7723         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7724         (_dl_runtime_resolve) Save and restore fpr/vrs.
7725         (_dl_runtime_profile) Save and restore vrs and fix some issues
7726         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7727         Choose the correct resolver function if running on a machine with vx.
7729 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7731         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7733 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7735         [BZ #19509]
7736         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7737         skip_map != NULL.
7738         * elf/tst-dlsym-error.c: New file.
7739         * elf/Makefile (tests): Add tst-dlsym-error.
7740         (tst-dlsym-error): Link against libdl.
7742 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7745         (__ASSUME_FUTIMESAT): Remove macro.
7746         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7748 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7750         [BZ #19879]
7751         CVE-2016-3075
7752         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7753         copy name.
7755 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7757         [BZ #19837]
7758         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7759         error if parse_line fails.
7761 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7763         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7764         (index_cpu_ERMS): Likewise.
7765         (reg_ERMS): Likewise.
7767 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7769         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7770         PER_LINUX_FDPIC): Add.
7772 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7775         memcpy-avx512-no-vzeroupper.
7776         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7777         to ...
7778         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7779         (MEMCPY): Don't define.
7780         (MEMCPY_CHK): Likewise.
7781         (MEMPCPY): Likewise.
7782         (MEMPCPY_CHK): Likewise.
7783         (MEMPCPY_CHK): Renamed to ...
7784         (__mempcpy_chk_avx512_no_vzeroupper): This.
7785         (MEMPCPY_CHK): Renamed to ...
7786         (__mempcpy_chk_avx512_no_vzeroupper): This.
7787         (MEMCPY_CHK): Renamed to ...
7788         (__memmove_chk_avx512_no_vzeroupper): This.
7789         (MEMCPY): Renamed to ...
7790         (__memmove_avx512_no_vzeroupper): This.
7791         (__memcpy_avx512_no_vzeroupper): New alias.
7792         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7794 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7796         [BZ #18858]
7797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7798         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7799         and mempcpy-avx512-no-vzeroupper.
7800         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7801         New.
7802         (MEMPCPY): Likewise.
7803         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7804         (MEMPCPY_CHK): New.
7805         (MEMPCPY): Likewise.
7806         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7807         (MEMPCPY): Likewise.
7808         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7809         (MEMPCPY): Likewise.
7810         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7811         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7812         Likewise.
7813         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7814         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7816 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7817              Amit Pawar  <Amit.Pawar@amd.com>
7819         [BZ #19583]
7820         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7821         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7822         processors.  Set Fast_Copy_Backward for AMD Excavator
7823         processors.
7824         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7825         New.
7826         (index_arch_Fast_Unaligned_Copy): Likewise.
7827         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7828         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7830 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7832         [BZ #19791]
7833         * resolv/res_send.c (close_and_return_error): New function.
7834         (send_dg): Initialize *resplen2 after reopen failure.  Call
7835         close_and_return_error for error returns.  On error paths without
7836         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7837         successful return.
7839 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7841         [BZ# 19860]
7842         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7843         zero if the compiler does not provide the AVX512F bit.
7845 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7847         [BZ #19848]
7848         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7849         from 8 to 4.
7850         (__ieee754_powl): Compare integer exponent against 4 not 8.
7851         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7852         from 8 to 4.
7853         (__ieee754_powl): Compare integer exponent against 4 not 8.
7854         * math/auto-libm-test-in: Add more tests of pow.
7855         * math/auto-libm-test-out: Regenerated.
7856         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7859 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7861         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7862         Make code unconditional.
7863         [!__NR_utimensat]: Remove conditional code.
7864         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7865         Make code unconditional.
7866         [!__NR_utimensat]: Remove conditional code.
7867         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7868         Make code unconditional.
7869         [!__NR_utimensat]: Remove conditional code.
7871 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7873         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7874         Make code unconditional.
7876 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7878         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7879         call-clobbered %eax on retry path.
7880         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7882 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7884         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7885         Don't set %rcx twice before "rep movsb".
7887 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7889         [BZ #19583]
7890         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7891         inline.  Check family before setting family, model and
7892         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7893         bits here.
7894         (init_cpu_features): Replace HAS_CPU_FEATURE and
7895         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7896         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7897         for Intel processors with usable AVX2.  Call get_common_indeces
7898         for other processors with family == NULL.
7899         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7900         (CPU_FEATURES_ARCH_P): Likewise.
7901         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7902         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7904 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7906         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7907         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7908         $(shared-thread-library) instead of hardcoding the path to libpthread.
7910 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7912         * sysdeps/unix/sysv/linux/kernel-features.h
7913         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7914         * sysdeps/unix/sysv/linux/getdents.c
7915         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7916         [!have_no_getdents64_defined]: Likewise.
7917         (__GETDENTS): Remove __have_no_getdents64 conditional.
7919 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7921         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7922         Remove macro.
7923         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7924         <kernel-features.h>.
7925         (signalfd) [__NR_signalfd4]: Make code unconditional.
7926         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7928 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7930         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7931         style.
7933 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7935         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7936         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7937         __pthread_unwind.
7938         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7939         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7940         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7941         (__condvar_cleanup1): Likewise.
7943 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7945         [BZ #19822]
7946         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7947         move it to the final $@ location.
7949 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7951         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7952         access where posix_spawn success and pid argument is null.
7953         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7954         success case.
7956 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7958         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7960         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7962         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7963         and __fcntl.
7964         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7965         __fcntl only.
7966         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7967         adding attribute_hidden to __open and __fcntl.
7969         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7970         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7971         depend on libc-modules.h,
7972         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7974 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7977         Remove macro.
7978         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7979         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7980         entry.
7982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7983         Remove macro.
7984         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7985         include <kernel-features.h>.
7986         [!__ASSUME_FALLOCATE]: Remove conditional code.
7987         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7989 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7992         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7994         (_ZGVdN4v_cos_avx2): Likewise.
7995         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7996         (_ZGVdN4v_cos): Likewise.
7997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7998         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7999         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8000         (_ZGVdN4v_exp_avx2): Likewise.
8001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8002         (_ZGVdN4v_exp): Likewise.
8003         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8004         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8005         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8006         (_ZGVdN4v_log_avx2): Likewise.
8007         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8008         (_ZGVdN4v_log): Likewise.
8009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8010         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8011         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8012         (_ZGVdN4vv_pow_avx2): Likewise.
8013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8014         (_ZGVdN4vv_pow): Likewise.
8015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8016         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8018         (_ZGVdN4v_sin_avx2): Likewise.
8019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8020         (_ZGVdN4v_sin): Likewise.
8021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8022         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8024         (_ZGVdN4vvv_sincos_avx2): Likewise.
8025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8026         (_ZGVdN4vvv_sincos): Likewise.
8027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8028         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8030         (_ZGVbN4v_cosf_sse4): Likewise.
8031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8032         (_ZGVdN8v_cosf_avx2): Likewise.
8033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8034         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8036         (_ZGVbN4v_expf_sse4): Likewise.
8037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8038         (_ZGVdN8v_expf_avx2): Likewise.
8039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8040         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8041         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8042         (_ZGVbN4v_logf_sse4): Likewise.
8043         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8044         (_ZGVdN8v_logf_avx2): Likewise.
8045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8046         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8048         (_ZGVbN4vv_powf_sse4): Likewise.
8049         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8050         (_ZGVdN8vv_powf_avx2): Likewise.
8051         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8052         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8053         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8054         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8056         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8058         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8060         (_ZGVbN4v_sinf_sse4): Likewise.
8061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8062         (_ZGVdN8v_sinf_avx2): Likewise.
8063         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8064         Use JUMPTARGET to call callee.
8065         (WRAPPER_IMPL_SSE2_ff): Likewise.
8066         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8067         (WRAPPER_IMPL_AVX): Likewise.
8068         (WRAPPER_IMPL_AVX_ff): Likewise.
8069         (WRAPPER_IMPL_AVX_fFF): Likewise.
8070         (WRAPPER_IMPL_AVX512): Likewise.
8071         (WRAPPER_IMPL_AVX512_ff): Likewise.
8072         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8073         Likewise.
8074         (WRAPPER_IMPL_SSE2_ff): Likewise.
8075         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8076         (WRAPPER_IMPL_AVX): Likewise.
8077         (WRAPPER_IMPL_AVX_ff): Likewise.
8078         (WRAPPER_IMPL_AVX_fFF): Likewise.
8079         (WRAPPER_IMPL_AVX512): Likewise.
8080         (WRAPPER_IMPL_AVX512_ff): Likewise.
8081         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8083 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8085         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8086         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8087         qualifier.
8088         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8089         internal_function qualifiers.
8091 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8093         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8094         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8095         * math/atest-exp.c (exp_mpn): Mark chk unused.
8096         * math/atest-exp2.c (exp_mpn): Likwise.
8097         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8098         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8100 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8103         Remove macro.
8104         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8105         <kernel-features.h>.
8106         [__NR_ppoll]: Make code unconditional.
8107         [!__ASSUME_PPOLL]: Remove conditional code.
8109         * sysdeps/unix/sysv/linux/kernel-features.h
8110         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8111         (__ASSUME_ACCEPT4): Likewise.
8112         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8113         Define.
8114         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8115         Likewise.
8116         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8117         Likewise.
8118         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8119         Likewise.
8120         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8121         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8122         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8123         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8124         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8127         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8128         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8129         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8130         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8131         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8134         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8135         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8136         Likewise.
8137         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8138         Likewise.
8139         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8140         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8141         0x040300].
8142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8143         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8145         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8146         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8147         0x030300].
8148         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8149         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8150         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8151         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8152         0x040300].
8153         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8154         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8155         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8156         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8157         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8158         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8159         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8160         0x030300].
8161         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8162         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8165         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8166         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8169         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8170         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8171         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8172         0x040300].
8173         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8174         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8175         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8176         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8177         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8178         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8179         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8180         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8183         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8184         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8185         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8187         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8188         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8189         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8190         Likewise.
8191         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8192         Likewise.
8194 2016-03-15  Andreas Schwab  <schwab@suse.de>
8196         [BZ #19257]
8197         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8198         statp->_u._ext.nscount as loop count.
8200 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8202         * math/test-signgam-finite-c99.c: Also #undef
8203         __LIBC_INTERNAL_MATH_INLINES.
8204         * math/test-signgam-main.c: Likewise.
8206 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8208         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8209         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8210         (MADV_FREE): Likewise.
8211         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8212         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8213         EPOLLEXCLUSIVE.
8215 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8217         * timezone/README: Remove mention of checktab.awk. Mention wiki
8218         SharedSourceFiles.
8220 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8222         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8223         WUNTRACED.
8225 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8227         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8228         order to match the type of p when calling atomic_exchange_acq().
8230 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8232         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8233         cfi_offset calls.
8234         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8235         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8236         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8237         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8238         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8240 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8242         * timezone/checktab.awk: Removed.
8244 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8246         * manual/math.texi (Errors in Math Functions): Document relaxed
8247         accuracy goals for IBM long double.
8248         * math/libm-test.inc (test_exceptions): Always allow spurious
8249         "underflow" and "inexact" exceptions for IBM long double.
8251 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8253         [BZ #19762]
8254         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8255         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8256         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8257         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8258         (bit_arch_*): This for feature array.
8259         (bit_*): Renamed to ...
8260         (bit_cpu_*): This for cpu array.
8261         (index_*): Renamed to ...
8262         (index_arch_*): This for feature array.
8263         (index_*): Renamed to ...
8264         (index_cpu_*): This for cpu array.
8265         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8266         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8267         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8268         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8269         bit_##name with index_cpu_##name and bit_cpu_##name.
8270         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8271         bit_##name with index_arch_##name and bit_arch_##name.
8273 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8275         [BZ #19792]
8276         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8277         Terminate FDE before return label.
8279 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #19790]
8282         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8283         (rintl): Define as macro.
8284         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8285         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8286         of fesetround.  Ensure results are evaluated before end of scope.
8287         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8288         USE_AS_NEARBYINTL and include s_rintl.c.
8289         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8290         Disable exception traps in new environment.
8291         (libc_feholdsetround_ppc_ctx): Likewise.
8293 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8295         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8296         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8297         (tst_audit10_aux) [__AVX512F__]: ... here.
8299 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8301         * include/sys/auxv.h: New file.
8303 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8305         [BZ #19759]
8306         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8308 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8310         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8311         operand modifier.
8312         (feclearexcept): Likewise.
8314 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8316         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8317         to reflect the entire 32-bit HWCAP.
8318         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8319         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8321 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8323         [BZ #19783]
8324         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8325         $(test-via-rtld-prefix).
8326         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8328 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8330         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8331         union wait.  Report any non-zero exit status as error.
8333 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8335         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8336         configured with --enable-hardcoded-path-in-tests.
8338 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8340         [BZ #19677]
8341         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8342         (__ieee754_remainderl): Put zero low parts in canonical form.
8343         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8344         file.  Based on
8345         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8346         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8347         with wrapper round test-fmodrem-ldbl-128ibm.c.
8348         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8349         file.
8350         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8351         Likewise.
8352         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8353         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8355 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8357         [BZ #19610]
8358         * elf/ldconfig.c (opt_link): Update comment.
8359         (options): Update help string for option -X.
8360         (search_dir): Unlink stale symbolic link only if updating symbolic
8361         links.
8362         * elf/tst-ldconfig-X.sh: New file.
8363         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8364         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8366 2016-03-07  Andreas Schwab  <schwab@suse.de>
8368         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8369         needed arguments.
8371 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8373         [BZ #15333]
8374         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8375         to lstat64.
8377 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8379         * libio/filedoalloc.c (isatty): Remove.
8380         (local_isatty): Add comment.  Call __isatty directly.
8381         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8382         * libio/wfiledoalloc.c (isatty): Remove.
8383         (_IO_wfile_doallocate): Update comment.
8385 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8387         [BZ #19269]
8388         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8389         tst-audit4-aux.o.
8390         (tst-audit10): Depend on tst-audit10-aux.o.
8391         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8392         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8393         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8394         instead of inline AVX code.
8395         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8396         instead of inline AVX512 code.
8397         * sysdeps/x86_64/tst-audit4-aux.c: New file
8398         * sysdeps/x86_64/tst-audit10-aux.c: New file
8400         [BZ #19648]
8401         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8403 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8405         [BZ #14750]
8406         [BZ #10354]
8407         [BZ #18433]
8408         * include/sched.h (__clone): Add hidden prototype.
8409         (__clone2): Likewise.
8410         * include/unistd.h (__dup): Likewise.
8411         * posix/Makefile (tests): Add tst-spawn2.
8412         * posix/tst-spawn2.c: New file.
8413         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8414         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8415         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8416         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8417         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8418         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8419         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8420         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8421         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8422         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8423         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8425         Likewise.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8427         Likewise.
8428         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8429         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8430         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8431         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8432         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8433         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8434         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8435         * sysdeps/unix/sysv/linux/nptl-signals.h
8436         (____nptl_is_internal_signal): New function.
8437         * sysdeps/unix/sysv/linux/spawni.c: New file.
8439         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8440         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8441         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8442         * posix/tst-execvp2.c (do_test): Likewise.
8443         * posix/tst-execvp3.c (do_test): Likewise.
8444         * posix/tst-execvp4.c (do_test): Likewise.
8445         * posix/tst-execvpe1.c: New file.
8446         * posix/tst-execvpe2.c: Likewise.
8447         * posix/tst-execvpe3.c: Likewise.
8448         * posix/tst-execvpe4.c: Likewise.
8449         * posix/tst-execvpe5.c: Likewise.
8450         * posix/tst-execvpe6.c: Likewise.
8452         [BZ #19534]
8453         * posix/execl.c (execl): Remove dynamic memory allocation.
8454         * posix/execle.c (execle): Likewise.
8455         * posix/execlp.c (execlp): Likewise.
8457 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8459         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8460         Replace .text with .text.avx512.
8461         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8462         Likewise.
8464 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8466         * sysdeps/generic/libnsl.abilist: New file.
8467         * sysdeps/generic/libutil.abilist: New file.
8469 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8471         [BZ #19762]
8472         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8473         HAS_ARCH_FEATURE with Fast_Rep_String.
8474         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8475         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8476         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8477         Likewise.
8478         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8479         Likewise.
8480         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8481         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8482         Likewise.
8483         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8484         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8485         Likewise.
8487 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8489         [BZ #19745]
8490         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8491         with *%rax in call.
8493 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8495         [BZ #19745]
8496         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8497         with *__libc_start_main@GOTPCREL(%rip) in call.
8499 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8501         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8502         inside conditional for nonempty $(CXX).
8504         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8505         nonempty.
8507         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8508         to test for empty $(CXX) rather than $(CXX) of "no".
8510 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8512         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8514 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8515             H.J. Lu  <hongjiu.lu@intel.com>
8517         [BZ #18880]
8518         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8519         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8520         enable __memcpy_ssse3_back.
8522 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8524         [BZ #19758]
8525         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8526         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8528 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8530         [BZ #19490]
8531         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8532         (__fentry__): Likewise.
8534 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8536         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8537         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8539 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8542         __mcount_internal directly.
8543         (C_LABEL(__fentry__)): Likewise.
8544         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8545         directly.
8547 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8549         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8550         (__start_context): Call __setcontext directly.
8552 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8555         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8556         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8557         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8559         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8560         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8561         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8562         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8563         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8564         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8565         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8566         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8567         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8568         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8569         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8570         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8572         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8573         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8574         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8576         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8577         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8578         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8579         Remove conditional code.
8580         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8581         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8582         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8583         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8584         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8585         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8586         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8587         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8588         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8589         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8590         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8591         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8593 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8595         * NEWS (2.23): Fix typo in bug 19048 text.
8597 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8599         [BZ #14259]
8600         * Makeconfig: Rename msgcatdir to localedir.
8601         Rename inst_msgcatdir to inst_localedir.
8602         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8603         * config.make.in: Add localedir.
8604         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8605         (ldd-rewrite): Likewise.
8606         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8607         (install-others): Use inst_localedir.
8608         (CPPFLAGS): Use localedir.
8609         * locale/Makefile (locale-CPPFLAGS): Likewise.
8610         * po/Makefile (mo-installed): Use inst_localedir.
8612         [BZ #19575]
8613         * localedata/charmaps/GB18030: Update comments regarding PAU to
8614         non-PUA mappings.
8616 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8618         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8619         test for header.
8620         * sysdeps/unix/sysv/linux/configure: Regenerated.
8621         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8622         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8623         Remove conditional code.
8624         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8626         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8627         Define to 3.2.0.
8628         (arch_minimum_kernel): Likewise.
8629         * sysdeps/unix/sysv/linux/configure: Regenerated.
8630         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8631         Define to 2.6.32.
8632         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8633         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8634         (arch_minimum_kernel): Define to 2.6.32.
8635         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8636         * README: Document Linux 3.2 requirement.
8637         * manual/install.texi (Linux): Document Linux 3.2 headers
8638         requirement.
8639         * INSTALL: Regenerated.
8641 2016-02-24  Andreas Schwab  <schwab@suse.de>
8643         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8644         if !NO_LONG_DOUBLE.
8646 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8648         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8649         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8651 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8653         [BZ #19512]
8654         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8656 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8658         * posix/tst-dir.c: Include libc-internal.h.
8660 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8662         [BZ #19056]
8663         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8664         * manual/filesys.texi (Reading/Closing Directory): Mention
8665         deprecaion.
8666         * posix/tst-dir.c (main): Disable deprecation warning in test.
8668 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8670         [BZ #19679]
8671         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8672         Renamed to ...
8673         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8674         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8675         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8676         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8677         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8678         * sysdeps/x86_64/dl-trampoline.h
8679         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8680         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8682 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8684         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8686 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8688         * elf/elf.h (R_386_GOT32X): New.
8689         (R_386_NUM): Update.
8690         (R_X86_64_GOTPCRELX: New.
8691         (R_X86_64_REX_GOTPCRELX): New.
8692         (R_X86_64_NUM): Update.
8694 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8696         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8698 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8700         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8701         assign attr->stackaddr to it, and adjust it down when
8702         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8703         [_STACK_GROWS_UP]: Delete assert.
8704         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8705         Implement stack grows up logic.
8706         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8707         stack grows up logic.
8709 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8711         * NEWS: Update with 2.24 template.
8713 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8715         [BZ #19678]
8716         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8717         Ensure +0.0 is returned when taking the next value below the least
8718         positive value.
8720 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8722         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8723         available.  Do not define NO_THREADS.
8724         * malloc/malloc.c: Do not check NO_THREADS.
8725         * malloc/arena.c: Likewise.
8727 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8729         * malloc/malloc.c (__libc_mallinfo): Update comment.
8730         (struct malloc_par): Remove max_total_mem member, it was always 0.
8731         (int_mallinfo): Store 0 into usmblks (no functional change).
8732         * malloc/hooks.c (struct malloc_state): Document that
8733         max_total_mem is always 0.
8734         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8735         always 0.
8736         * manual/memory.texi (Statistics of Malloc): Likewise.
8738 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8740         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8741         * malloc/arena.c (arena_max): Remove.
8742         (heap_trim, _int_new_arena): Do not update arena_max.
8744 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8746         * resolv/res_init.c (res_ninit): Update comment.
8748 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8750         [BZ #19505]
8751         * posix/spawn_int.h: Add headers and include guard.
8752         (__spawn_valid_fd): New function.
8753         * posix/spawn_faction_addopen.c
8754         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8755         * posix/spawn_faction_addclose.c
8756         (posix_spawn_file_actions_addclose): Likewise.
8757         * posix/spawn_faction_adddup2.c
8758         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8759         second file descriptor.
8760         * posix/spawn_valid_fd.c: New file.
8761         * posix/tst-posix_spawn-fd.c: New file.
8762         * posix/Makefile (routines): Add spawn_valid_fd.
8763         (tests): Add tst-posix_spawn-fd.
8765 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8767         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8768         (do_test): Limit the number of arenas, so that we can use fewer
8769         outer threads.  Limit timeout to 3 seconds, in preparation for a
8770         larger TIMEOUT value.
8772 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8774         [BZ #19674]
8775         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8776         sign in overflowing and underflowing results when overflow or
8777         underflow is detected early.  Include sign in result before rather
8778         than after scaling.
8780         [BZ #19603]
8781         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8782         (__ieee754_remainderl): Adjust sign of integer version of low part
8783         when taking absolute value of high part.
8784         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8785         * math/libm-test.inc (remainder_test_data): Add another test.
8786         (remquo_test_data): Likewise.
8788 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8790         [BZ #19602]
8791         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8792         equal high parts and both low parts zero specially.
8793         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8794         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8795         Add test-fmodl-ldbl-128ibm.
8797         [BZ #19595]
8798         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8799         common logic for all cases of shifting subnormal results.  Do not
8800         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8801         exponent to ldbl_insert_mantissa in subnormal case.
8803         [BZ #19594]
8804         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8805         on high and low parts then adjust result and use
8806         ldbl_canonicalize_int if needed.
8808         [BZ #19593]
8809         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8810         on high part and __floor or __ceil on low part then use
8811         ldbl_canonicalize_int if needed.
8813         [BZ #19592]
8814         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8815         high and low parts then use ldbl_canonicalize_int if needed.
8817         [BZ #17899]
8818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8819         New function.
8820         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8821         on high and low parts then use ldbl_canonicalize_int if needed.
8823 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8825         * configure: Regenerated.
8827         * po/libc.pot: Regenerated.
8829         * po/be.po: Updated translation.
8830         * po/bg.po: Likewise.
8831         * po/ca.po: Likewise.
8832         * po/cs.po: Likewise.
8833         * po/da.po: Likewise.
8834         * po/el.po: Likewise.
8835         * po/eo.po: Likewise.
8836         * po/es.po: Likewise.
8837         * po/fi.po: Likewise.
8838         * po/fr.po: Likewise.
8839         * po/gl.po: Likewise.
8840         * po/hr.po: Likewise.
8841         * po/hu.po: Likewise.
8842         * po/ia.po: Likewise.
8843         * po/id.po: Likewise.
8844         * po/it.po: Likewise.
8845         * po/ja.po: Likewise.
8846         * po/lt.po: Likewise.
8847         * po/nb.po: Likewise.
8848         * po/nl.po: Likewise.
8849         * po/pt_BR.po: Likewise.
8850         * po/rw.po: Likewise.
8851         * po/sk.po: Likewise.
8852         * po/sl.po: Likewise.
8853         * po/sv.po: Likewise.
8854         * po/tr.po: Likewise.
8855         * po/zh_CN.po: Likewise.
8856         * po/zh_TW.po: Likewise.
8858         * version.h (RELEAES): Set to "development".
8859         (VERSION): Set to 2.23.90.
8861         * version.h (RELEASE): Set to "stable".
8862         (VERSION): Set to 2.23.
8863         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8865         * NEWS: Updated fixed bugs.
8867 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8868             Wilco Dijkstra  <wdijkstr@arm.com>
8870         [BZ #19462]
8871         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8872         (_STRING_INLINE_unaligned): This.
8873         * include/string.h: Include <string_private.h>.
8874         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8875         _STRING_INLINE_unaligned.
8876         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8877         (_STRING_INLINE_unaligned): New.
8878         * sysdeps/aarch64/string_private.h: New file.
8879         * sysdeps/generic/string_private.h: Likewise.
8880         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8881         * sysdeps/s390/string_private.h: Likewise.
8882         * sysdeps/x86/string_private.h: Likewise.
8883         * sysdeps/m68k/m680x0/m68020/bits/string.h
8884         (_STRING_ARCH_unaligned): Renamed to ...
8885         (_STRING_INLINE_unaligned): This.
8886         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8887         to ...
8888         (_STRING_INLINE_unaligned): This.
8889         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8890         to ...
8891         (_STRING_INLINE_unaligned): This.
8892         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8893         to ...
8894         (_STRING_INLINE_unaligned): This.
8896 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8897             H.J. Lu  <hongjiu.lu@intel.com>
8899         [BZ #19590]
8900         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8901         relocation.
8903 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8905         [BZ #18665]
8906         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8907         *herrno_p.
8908         (gaih_getanswer): Document functional behviour. Return tryagain
8909         if any result is tryagain.
8910         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8911         when freed.
8912         * resolv/res_send.c: Add copyright text.
8913         (__libc_res_nsend): Document that MAXPACKET is expected.
8914         (send_vc): Document. Remove buffer reuse.
8915         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8916         size of the buffer. Add Dprint for truncated UDP buffer.
8918 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8920         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8921         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8922         * INSTALL: Regenerate.
8924 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8925             Jonathan Wakely  <jwakely@redhat.com>
8926             Carlos O'Donell  <carlos@redhat.com>
8928         [BZ 19439]
8929         * math/Makefile (tests): Add test-math-isinff.
8930         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8931         * math/bits/mathcalls.h [__USE_MISC]: Use
8932         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8933         functions not in C++11 and which don't conflict e.g. isinff,
8934         isinfl etc.
8935         * math/test-math-isinff.cc: New file.
8937 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8939         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8941 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8943         [BZ #19529]
8944         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8946 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8948         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8950 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8952         [BZ #19550]
8953         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8954         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8955         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8956         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8957         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8958         New syscall entry.
8959         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8960         New syscall entry.
8961         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8962         syscall entry.
8964 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8966         [BZ #18240]
8967         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8968         unsigned int wraparound.
8970 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8972         [BZ #18240]
8973         * misc/bug18240.c: New test.
8974         * misc/Makefile (tests): Add it.
8976 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8977             Joseph Myers  <joseph@codesourcery.com>
8979         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8980         load in branch delay slot when less than a word of input left.
8982 2016-01-27  Andreas Schwab  <schwab@suse.de>
8984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8985         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8986         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8987         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8989 2016-01-26  David S. Miller  <davem@davemloft.net>
8991         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8993 2016-01-25  David S. Miller  <davem@davemloft.net>
8995         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8996         __sqrtl_finite.
8997         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8998         instead using versioned_symbol.
8999         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9000         of entries.
9002         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9003         __sqrtl_finite to GLIBC_2.23
9005 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9007         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9009 2016-01-25  Andreas Schwab  <schwab@suse.de>
9011         [BZ #17514]
9012         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9013         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9014         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9015         * nptl/tst-mutex-errorcheck.c: New file.
9017 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9019         [BZ #18560]
9020         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9021         (IPCOP_semop): Likewise.
9022         (IPCOP_semget): Likewise.
9023         (IPCOP_semctl): Likewise.
9024         (IPCOP_msgsnd): Likewise.
9025         (IPCOP_msgrcv): Likewise.
9026         (IPCOP_msgget): Likewise.
9027         (IPCOP_msgctl): Likewise.
9028         (IPCOP_shmat): Likewise.
9029         (IPCOP_shmdt): Likewise.
9030         (IPCOP_shmget): Likewise.
9031         (IPCOP_shmctl): Likewise.
9033 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9035         * string/tst-endian.c: Include <libc-internal.h>.
9036         (do_test): Ignore tautological-compare warnings around
9037         "htobeXX (beXXtoh (i)) != i" and
9038         "htoleXX (leXXtoh (i)) != i" if-statements.
9040 2016-01-24  David S. Miller  <davem@davemloft.net>
9042         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9043         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9044         alias.
9045         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9046         __sqrtl_finite.
9048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9050 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9052         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9053         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9054         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9056 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9058         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9059         (thread_func): Use new function to simplify barrier check.
9060         (do_test): Use new function to simplify checking barrier exit
9061         code, and actually join the child thread.
9063 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9065         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9066         semicolon.
9067         (__libc_tend): Likewise.
9068         (__libc_tabort): Likewise.
9070 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9072         * sysdeps/nios2/libm-test-ulps: Update.
9073         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9074         (__gtsf2): Likewise.
9075         (__unorddf2): Likewise.
9076         (__unordsf2): Likewise.
9077         (__ledf2): Likewise.
9079 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9081         * nis/nis_table.c (__follow_path): Disable diagnostic for
9082         uninitialized variable that is a false positive for gcc 4.7.
9083         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9085 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9087         * sysdeps/nacl/lowlevellock-futex.h
9088         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9089         Always evaluate PRIVATE argument.
9091 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9093         [BZ #19490]
9094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9095         (pthread_cond_broadcast): Use ENTRY/END
9096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9097         (pthread_cond_signal): Likewise.
9098         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9099         Likewise.
9100         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9101         Likewise.
9102         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9103         Likewise.
9105 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9107         * sysdeps/ieee754/dbl-64/s_finite.c
9108         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9109         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9110         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9111         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9112         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9115         (__gtsf2): Add as optional for libc.so.
9116         (__unordsf2): Likewise.
9117         (__signbit): Remove for libc.so.
9118         (__signbitl): Likewise.
9120 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9122         * iconvdata/bug-iconv11.c (test_ibm93x):
9123         Use %zu printf format specifier for size_t argument.
9125 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9127         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9128         already-recorded ulps.
9129         * sysdeps/arm/libm-test-ulps: Regenerated.
9130         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9131         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9132         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9134 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9135             Paul Pluzhnikov  <ppluzhnikov@google.com>
9137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9138         assembler not supporting AVX-512.
9140 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9142         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9144 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9146         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9147         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9149         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9151         * sysdeps/arm/libm-test-ulps: Regenerated.
9153 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9155         [BZ #19451]
9156         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9158 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9160         [BZ #19486]
9161         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9162         * sysdeps/generic/fix-fp-int-convert-overflow.h
9163         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9164         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9165         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9166         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9167         Likewise.
9168         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9169         Avoid conversions to long int where inexact exceptions
9170         could be raised.
9171         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9172         Likewise.
9173         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9174         Avoid conversions to long long int where inexact exceptions
9175         could be raised.
9176         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9177         Likewise.
9179 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9181         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9182         * configure: Regenerated.
9184 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9188 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9190         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9191         outside of comment.
9193 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9195         * nptl/tst-barrier1.c: Add description on first line.
9196         * nptl/tst-barrier2.c: Likewise.
9197         * nptl/tst-barrier3.c: Likewise.
9198         * nptl/tst-barrier4.c: Likewise.
9199         * nptl/tst-barrier5.c: Likewise.
9201 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9203         [BZ #18868]
9204         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9206 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9210         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9211         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9212         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9213         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9214         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9215         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9216         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9217         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9220 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9222         [BZ #13065]
9223         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9224         new implementation.
9225         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9226         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9227         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9228         (BARRIER_IN_THRESHOLD): New macro.
9229         * nptl/pthread_barrierattr_setpshared.c
9230         (pthread_barrierattr_setpshared): Clean up.
9231         * nptl/tst-barrier4.c: Correct comment.
9232         * nptl/tst-barrier5.c: New file.
9233         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9234         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9235         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9236         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9237         * nptl/lowlevelbarrier.sym: Remove.
9238         * nptl/DESIGN-barrier.txt: Remove.
9239         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9240         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9241         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9242         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9243         error.
9244         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9245         implementation.
9247 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9249         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9250         (do_child): Mask SIGRTMIN while thr is running.
9252 2016-01-15  Martin Sebor  <msebor@redhat.com>
9254         [BZ #19432]
9255         * iconvdata/Makefile: Add bug-iconv11.
9256         * iconvdata/bug-iconv11.c: New test.
9257         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9258         * iconvdata/ibm933.c: Same.
9259         * iconvdata/ibm935.c: Same.
9260         * iconvdata/ibm937.c: Same.
9261         * iconvdata/ibm939.c: Same.
9263 2016-01-15  Martin Sebor  <msebor@redhat.com>
9265         [BZ #19443]
9266         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9267         [DEBUG] (_ufc_set_bits): Declare used.
9268         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9269         [DEBUG] (print_all): Declare used.
9270         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9271         operands of the ternary ?: expression to target type.
9272         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9273         calling the undeclared abort.
9274         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9276 2016-01-15  Martin Sebor  <msebor@redhat.com>
9278         [BZ #18755]
9279         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9280         warnings.
9281         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9282         (__gai_create_helper_thread): Same.
9283         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9284         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9285         to suppress -Wmaybe-uninitialized warnings.
9287 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9289         [BZ #19465]
9290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9291         inside if.
9292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9296 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9298         [BZ #19466]
9299         * time/tst-mktime2.c (time_t_max): Removed.
9300         (time_t_min): Likewise.
9301         (TYPE_SIGNED): New.
9302         (TYPE_MINIMUM): Likewise.
9303         (TYPE_MAXIMUM): Likewise.
9304         (TIME_T_MIN): Likewise.
9305         (TIME_T_MAX): Likewise.
9306         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9307         and TIME_T_MIN.
9308         (do_test): Likewise.
9310 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9312         [BZ #19467]
9313         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9314         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9316 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9318         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9320 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9322         * benchtests/Makefile (PYTHON): Define.
9323         (bench-func): Use $(PYTHON) to run python scripts.
9324         ($(objpfx)bench-%.c): Likewise.
9326 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9328         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9329         leading slash when `file_name' is "/".
9331 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9333         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9334         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9335         Likewise.
9336         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9337         Likewise.
9338         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9339         Likewise.
9340         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9341         enum constant and macro.
9342         (PTRACE_SETSIGMASK): Likewise.
9343         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9344         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9345         (PTRACE_GETSIGMASK): Likewise.
9346         (PTRACE_SETSIGMASK): Likewise.
9347         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9348         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9349         Likewise.
9350         (PTRACE_SETSIGMASK): Likewise.
9351         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9352         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9353         (PTRACE_GETSIGMASK): Likewise.
9354         (PTRACE_SETSIGMASK): Likewise.
9355         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9357         Likewise.
9358         (PTRACE_SETSIGMASK): Likewise.
9359         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9361         Likewise.
9362         (PTRACE_SETSIGMASK): Likewise.
9363         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9364         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9365         Likewise.
9366         (PTRACE_SETSIGMASK): Likewise.
9367         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9369 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9370             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9372         [BZ #19439]
9373         * math/bits/mathcalls.h
9374         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9375         prototype.
9376         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9378 2016-01-11  Andreas Schwab  <schwab@suse.de>
9380         [BZ #19253]
9381         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9382         cache when TZDEFRULES was used.
9383         * time/tst-tzname.c: New file.
9384         * time/Makefile (test): Add tst-tzname.
9385         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9386         * timezone/Makefile (test-zones): Add $(posixrules-file).
9387         ($(testdata)/$(posixrules-file)): New rule.
9389 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9391         Fix doc quoting problems with Texinfo 5
9392         Without this change, in the info file output, Texinfo 5 quotes code
9393         in text with undirected single quotes 'like this' and generates
9394         code examples that with many PDF readers cannot be cut out of PDFs
9395         and pasted into code.
9396         * manual/libc.texinfo: Configure the libc manual like the GNU
9397         Emacs manual, by using @documentencoding and setting
9398         txicodequoteundirected and txicodequotebacktick.  This way,
9399         Texinfo 5 quotes code in text with directed single quotes ‘like
9400         this’ and produces examples that can be cut out of PDFs.  This
9401         change causes Texinfo 5 to generate info files that contain UTF-8
9402         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9403         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9405 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9407         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9408         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9409         barriers to their respective compiler built-ins.
9410         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9411         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9412         * sysdeps/powerpc/sysdep.h: Likewise.
9413         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9414         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9415         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9417 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9419         * scripts/config.guess: Revert previous shebang change.
9420         * scripts/config.sub: Likewise.
9421         * scripts/mkinstalldirs: Likewise.
9423 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9425         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9426         PPC_FEATURE2_HAS_IEEE128.
9427         * sysdeps/powerpc/dl-procinfo.c:
9428         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9430 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9432         [BZ #19415]
9433         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9434         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9435         (_dl_lookup_address): Rewrite using function resolver trampoline.
9436         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9437         two bits in address.
9439 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9441         * longlong.h: Change !__SHMEDIA__ to
9442         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9443         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9445 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9446             Joseph Myers  <joseph@codesourcery.com>
9447             Mark Shinwell  <shinwell@codesourcery.com>
9448             Andrew Stubbs  <ams@codesourcery.com>
9449             Rich Felker <dalias@libc.org>
9451         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9453 2016-01-07  Richard Henderson  <rth@redhat.com>
9455         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9457 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9459         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9460         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9461         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9462         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9463         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9465 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9466             Joseph Myers  <joseph@codesourcery.com>
9468         * timezone/private.h: Update from tzcode 2015g.
9469         * timezone/tzfile.h: Likewise.
9470         * timezone/tzselect.ksh: Likewise.
9471         * timezone/zdump.c: Likewise.
9472         * timezone/zic.c: Likewise.
9473         * timezone/ialloc.c: Remove file.
9474         * timezone/scheck.c: Likewise.
9475         * timezone/Makefile (extra-objs): Remove variable.
9476         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9477         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9478         -Wno-maybe-uninitialized.
9479         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9480         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9481         (CFLAGS-ialloc.c): Remove variable.
9482         (CFLAGS-scheck.c): Likewise.
9483         * timezone/README: Update list of files from tzcode.
9485 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9487         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9488         instead of __fxprintf when _LIBC is undefined.
9490 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9492         * catgets/test-gencat.sh: Remove space after shebang.
9493         * conform/GlibcConform.pm: Likewise.
9494         * conform/check-header-lists.sh: Likewise.
9495         * conform/conformtest.pl: Likewise.
9496         * conform/linknamespace.pl: Likewise.
9497         * conform/list-header-symbols.pl: Likewise.
9498         * debug/catchsegv.sh: Likewise.
9499         * elf/genrtldtbl.awk: Likewise.
9500         * elf/tst-pathopt.sh: Likewise.
9501         * elf/tst-rtld-load-self.sh: Likewise.
9502         * grp/tst_fgetgrent.sh: Likewise.
9503         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9504         * iconvdata/gen-8bit-gap.sh: Likewise.
9505         * iconvdata/gen-8bit.sh: Likewise.
9506         * iconvdata/run-iconv-test.sh: Likewise.
9507         * intl/tst-gettext.sh: Likewise.
9508         * intl/tst-gettext2.sh: Likewise.
9509         * intl/tst-gettext4.sh: Likewise.
9510         * intl/tst-gettext6.sh: Likewise.
9511         * intl/tst-translit.sh: Likewise.
9512         * io/ftwtest-sh: Likewise.
9513         * libio/test-freopen.sh: Likewise.
9514         * locale/gen-translit.pl: Likewise.
9515         * malloc/tst-mtrace.sh: Likewise.
9516         * manual/check-safety.sh: Likewise.
9517         * manual/libc-texinfo.sh: Likewise.
9518         * manual/tsort.awk: Likewise.
9519         * manual/xtract-typefun.awk: Likewise.
9520         * nptl/tst-cancel-wrappers.sh: Likewise.
9521         * nptl/tst-tls6.sh: Likewise.
9522         * posix/globtest.sh: Likewise.
9523         * posix/tst-getconf.sh: Likewise.
9524         * posix/wordexp-tst.sh: Likewise.
9525         * scripts/check-c++-types.sh: Likewise.
9526         * scripts/check-local-headers.sh: Likewise.
9527         * scripts/config.guess: Likewise.
9528         * scripts/config.sub: Likewise.
9529         * scripts/cpp: Likewise.
9530         * scripts/cross-test-ssh.sh: Likewise.
9531         * scripts/documented.sh: Likewise.
9532         * scripts/evaluate-test.sh: Likewise.
9533         * scripts/gen-libc-abis: Likewise.
9534         * scripts/gen-sorted.awk: Likewise.
9535         * scripts/list-fixed-bugs.py: Likewise.
9536         * scripts/merge-test-results.sh: Likewise.
9537         * scripts/mkinstalldirs: Likewise.
9538         * scripts/rellns-sh: Likewise.
9539         * scripts/test-installation.pl: Likewise.
9540         * scripts/update-copyrights: Likewise.
9541         * stdio-common/tst-printf.sh: Likewise.
9542         * stdio-common/tst-unbputc.sh: Likewise.
9543         * stdlib/tst-fmtmsg.sh: Likewise.
9544         * stdlib/tst-setcontext3.sh: Likewise.
9545         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9546         * sysdeps/unix/make-syscalls.sh: Likewise.
9548 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9550         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9551         asm stw with atomic_exchange_rel.  Add explanatory comment.
9552         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9553         Likewise.
9555 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9557         [BZ #19122]
9558         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9559         * sysdeps/generic/dl-unistd.h: New file.
9560         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9562 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9564          [BZ #19122]
9565          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9566          * sysdeps/generic/dl-mman.h: New file.
9567          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9569 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9571         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9572         trailing whitespace removed.
9573         * scripts/config.guess: Update to version 2016-01-01.
9574         * scripts/config.sub: Update to version 2016-01-01.
9575         * scripts/move-if-change: Update from gnulib.
9577 2016-01-04  Anton Blanchard  <anton@samba.org>
9579         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9580         for array indices.
9581         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9583 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9585         * NEWS: Update copyright dates.
9586         * catgets/gencat.c (print_version): Likewise.
9587         * csu/version.c (banner): Likewise.
9588         * debug/catchsegv.sh: Likewise.
9589         * debug/pcprofiledump.c (print_version): Likewise.
9590         * debug/xtrace.sh (do_version): Likewise.
9591         * elf/ldconfig.c (print_version): Likewise.
9592         * elf/ldd.bash.in: Likewise.
9593         * elf/pldd.c (print_version): Likewise.
9594         * elf/sotruss.sh: Likewise.
9595         * elf/sprof.c (print_version): Likewise.
9596         * iconv/iconv_prog.c (print_version): Likewise.
9597         * iconv/iconvconfig.c (print_version): Likewise.
9598         * locale/programs/locale.c (print_version): Likewise.
9599         * locale/programs/localedef.c (print_version): Likewise.
9600         * login/programs/pt_chown.c (print_version): Likewise.
9601         * malloc/memusage.sh (do_version): Likewise.
9602         * malloc/memusagestat.c (print_version): Likewise.
9603         * malloc/mtrace.pl: Likewise.
9604         * manual/libc.texinfo: Likewise.
9605         * nptl/version.c (banner): Likewise.
9606         * nscd/nscd.c (print_version): Likewise.
9607         * nss/getent.c (print_version): Likewise.
9608         * nss/makedb.c (print_version): Likewise.
9609         * posix/getconf.c (main): Likewise.
9610         * scripts/test-installation.pl: Likewise.
9611         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9613         * All files with FSF copyright notices: Update copyright dates
9614         using scripts/update-copyrights.
9615         * intl/plural.c: Regenerated.
9616         * locale/programs/charmap-kw.h: Likewise.
9617         * locale/programs/locfile-kw.h: Likewise.
9619 2016-01-02  Helge Deller  <deller@gmx.de>
9621         [BZ #19285]
9622         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9623         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9624         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9625         (MADV_xxK_PAGES): Remove.
9627 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9629         [BZ #15421]
9630         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9631         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9632         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9633         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9635 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9637         [BZ #19408]
9638         * sysdeps/unix/sysv/linux/personality.c: New file.
9639         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9640         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9641         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9642         (sysdep_routines): Add personality.
9643         (tests): Add tst-personality.
9644         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9646         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9647         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9648         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9649         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9650         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9653         Likewise.
9654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9655         Likewise.
9656         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9658         Likewise.
9660 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9662         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9663         (PATH_ARM_SYSTYPE): Remove.
9664         (PATH_CPUINFO): Likewise.
9665         (IO_BASE_FOOTBRIDGE): Likewise.
9666         (IO_SHIFT_FOOTBRIDGE): Likewise.
9667         (struct platform): Likewise.
9668         (init_iosys): Remove compatibility code for 2.4 kernels.
9669         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9671 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9673         * malloc/tst-malloc-thread-fail.c: New file.
9674         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9675         (tst-malloc-thread-fail): Link against libpthread.
9677 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9679         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9680         (get_parser): New function.
9681         (main): New function.
9683 2015-12-29  Rob Wu  <rob@robwu.nl>
9685         [BZ #19369]
9686         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9688 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9690         [BZ #19270]
9691         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9693 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9695         [BZ #15421]
9696         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9698 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9700         [BZ #13690]
9701         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9702         after releasing it.
9703         (__lll_robust_unlock): Likewise.
9704         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9705         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9706         (lll_robust_unlock): Likewise.
9707         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9708         Prevent warnings in callers.
9710 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9712         * malloc/arena.c (list_lock): Update comment.
9714 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9716         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9717         __parse_hwcap_and_convert_at_platform to libc.a.
9719 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9721         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9722         platform and feature support for POWER9.
9723         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9724         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9725         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9726         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9727         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9728         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9729         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9730         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9732 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9734         Harmonize generic stdio-lock support with nptl
9736         This fixes build when _IO_funlockfile is a macro, fixes build where
9737         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9738         stack unwind.
9740         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9741         _IO_release_lock ): Use cleanup attribute on new
9742         _IO_acquire_lock_file variable instead of assuming that
9743         _IO_release_lock will be called.
9744         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9745         _IO_acquire_lock_needs_exceptions_enabled.
9746         (_IO_acquire_lock_clear_flags2): New macro.
9748 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9750         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9752 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9754         [BZ #19182]
9755         * malloc/arena.c (list_lock): Document lock ordering requirements.
9756         (free_list_lock): New lock.
9757         (ptmalloc_lock_all): Comment on free_list_lock.
9758         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9759         (detach_arena): Update comment.  free_list_lock is now needed.
9760         (_int_new_arena): Use free_list_lock around detach_arena call.
9761         Acquire arena lock after list_lock.  Add comment, including FIXME
9762         about incorrect synchronization.
9763         (get_free_list): Switch to free_list_lock.
9764         (reused_arena): Acquire free_list_lock around detach_arena call
9765         and attached threads counter update.  Add two FIXMEs about
9766         incorrect synchronization.
9767         (arena_thread_freeres): Switch to free_list_lock.
9768         * malloc/malloc.c (struct malloc_state): Update comments to
9769         mention free_list_lock.
9771 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9773         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9774         Remove functions.
9775         (sloww, sloww1): Accept argument to offset quadrant.
9776         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9777         quadrant.
9778         (__sin, __cos): Consolidate common code into new functions.
9779         (reduce_sincos_1, do_sincos_1): New functions.
9780         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9783         code to new functions.
9784         (reduce_sincos_2, do_sincos_2): New functions.
9785         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9787         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9788         common code for sincos.
9789         (__cos) [!IN_SINCOS]: Likewise.
9790         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9791         New function.
9792         (__sincos): Use it.
9794 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9796         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9797         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9798         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9800 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9802         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9805         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9806         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9807         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9808         index_Prefer_No_VZEROUPPER): New feature.
9809         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9810         Prefer_No_VZEROUPPER for Knights Landing.
9812 015-12-18  Torvald Riegel  <triegel@redhat.com>
9814         * math/atest-exp2.c (mp_exp_m1): Remove.
9816 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9818         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9819         syscalls.
9820         (__SYSCALL0): New macro.
9821         (__SYSCALL1): Likewise.
9822         (__SYSCALL2): Likewise.
9823         (__SYSCALL3): Likewise.
9824         (__SYSCALL4): Likewise.
9825         (__SYSCALL5): Likewise.
9826         (__SYSCALL6): Likewise.
9827         (__SYSCALL_CONCAT_X): Likewise.
9828         (__SYSCALL_CONCAT): Likewise.
9829         (__SYSCALL_DIST): Likewise.
9830         (__SYSCALL_CALL): Likewise.
9832 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9834         [BZ #19363]
9835         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9837 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9839         [BZ #19375]
9840         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9841         negative subnormals.
9843 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9846         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9847         (INTERNAL_SYSCALL_NCS): Use it.
9848         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9850 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9852         [BZ #19243]
9853         * malloc/arena.c (get_free_list): Remove assert and adjust
9854         reference count handling.  Add comment about reused_arena
9855         interaction.
9856         (reused_arena): Add comments abount get_free_list interaction.
9857         * malloc/tst-malloc-thread-exit.c: New file.
9858         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9859         (tst-malloc-thread-exit): Link against libpthread.
9861 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9863         [BZ #19367]
9864         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9865         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9866         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9867         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9868         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9870 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9872         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9873         Silvermont optimizations for Knights Landing.
9875 2015-12-15  Andreas Schwab  <schwab@suse.de>
9877         [BZ #17197]
9878         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9879         immediately after emitting SI.
9880         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9881         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9882         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9883         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9884         * iconvdata/bug-iconv10.c: New file.
9885         * iconvdata/Makefile (tests): Add bug-iconv10.
9886         ($(objpfx)bug-iconv10.out): New rule.
9888 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9890         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9891         aliasing violation.
9893 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9895         [BZ #18472]
9896         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9897         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9898         conditionals for them.
9899         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9900         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9902         sys/kdaemon.h.
9903         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9904         compat-only syscall, obsoleted in glibc 2.23.
9905         (create_module): Likewise.
9906         (get_kernel_syms): Likewise.
9907         (query_module): Likewise.
9908         (uselib): Likewise.
9909         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9911 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9913         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9914         <linux/version.h>.
9915         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9916         conditional code.
9917         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9918         and ioshift_name initialization.
9920 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9922         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9923         Fix indentation.
9925 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9927         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9929 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9931         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9933 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9934             Jakub Wilk  <jwilk@debian.org>
9936         [BZ #19347]
9937         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9938         to change the group of the device to the tty group.
9940 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9942         Split large string section; add truncation advice
9943         * manual/examples/strncat.c: Remove.
9944         This example was misleading, as the code would have undefined
9945         behavior if "hello" was longer than SIZE.  Anyway, the manual
9946         shouldn't encourage strncpy+strncat for this sort of thing.
9947         * manual/string.texi (Copying Strings and Arrays): Split into
9948         three sections Copying Strings and Arrays, Concatenating Strings,
9949         and Truncating Strings, as this section was way too long.  All
9950         cross-referenced changed.  Add advice about string-truncation
9951         functions.  Remove misleading strncat example.
9953 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9955         * manual/nss.texi (NSS Modules Interface): Document
9956         NSS_STATUS_NOTFOUND and SUCCESS.
9958 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9960         [BZ 18568]
9961         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9962         201505L, for Unicode 8.
9964 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9966         * locale/C-translit.h: Regenerate.
9968 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9970         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9971         and U+0153.
9973 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9975         [BZ #19351]
9976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9977         expanding log(1+z), compare z rather than its square with epsilon
9978         to determine when to avoid evaluating the expansion.
9980         [BZ #19350]
9981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9982         Increase overflow threshold.
9984         [BZ #19349]
9985         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9986         when small.
9988         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9990         New macro.
9991         [__LINUX_KERNEL_VERSION >= 0x040300]
9992         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9994         Likewise.
9995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9996         Likewise.
9997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9998         Likewise.
9999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10000         Likewise.
10001         [__LINUX_KERNEL_VERSION >= 0x040300]
10002         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10003         [__LINUX_KERNEL_VERSION >= 0x040300]
10004         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10005         [__LINUX_KERNEL_VERSION >= 0x040300]
10006         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10007         [__LINUX_KERNEL_VERSION >= 0x040300]
10008         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10009         [__LINUX_KERNEL_VERSION >= 0x040300]
10010         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10011         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10012         Likewise.
10013         [__LINUX_KERNEL_VERSION >= 0x040300]
10014         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10016         Likewise.
10017         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10018         Likewise.
10019         [__LINUX_KERNEL_VERSION >= 0x040300]
10020         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10021         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10022         Likewise.
10023         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10024         Likewise.
10025         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10027         Likewise.
10028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10029         Likewise.
10030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10031         Likewise.
10032         [__LINUX_KERNEL_VERSION >= 0x040300]
10033         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10035         Likewise.
10036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10037         Likewise.
10038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10039         Likewise.
10040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10041         Likewise.
10042         [__LINUX_KERNEL_VERSION >= 0x040300]
10043         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10044         [__LINUX_KERNEL_VERSION >= 0x040300]
10045         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10046         [__LINUX_KERNEL_VERSION >= 0x040300]
10047         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10048         [__LINUX_KERNEL_VERSION >= 0x040300]
10049         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10050         [__LINUX_KERNEL_VERSION >= 0x040300]
10051         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10052         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10053         Likewise.
10054         [__LINUX_KERNEL_VERSION >= 0x040300]
10055         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10057         Likewise.
10058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10059         Likewise.
10060         [__LINUX_KERNEL_VERSION >= 0x040300]
10061         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10062         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10063         Likewise.
10064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10065         Likewise.
10066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10067         (__ASSUME_SOCKET_SYSCALL): Likewise.
10068         (__ASSUME_BIND_SYSCALL): Likewise.
10069         (__ASSUME_CONNECT_SYSCALL): Likewise.
10070         (__ASSUME_LISTEN_SYSCALL): Likewise.
10071         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10072         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10073         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10074         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10075         (__ASSUME_SEND_SYSCALL): Likewise.
10076         (__ASSUME_SENDTO_SYSCALL): Likewise.
10077         (__ASSUME_RECV_SYSCALL): Likewise.
10078         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10079         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10080         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10081         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10082         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10083         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10084         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10086         Likewise.
10087         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10088         Likewise.
10089         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10090         Likewise.
10091         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10092         Likewise.
10093         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10094         Likewise.
10095         [__LINUX_KERNEL_VERSION >= 0x020625]
10096         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10097         [__LINUX_KERNEL_VERSION >= 0x020625]
10098         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10099         [__LINUX_KERNEL_VERSION >= 0x020625]
10100         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10101         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10102         Likewise.
10103         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10104         Likewise.
10105         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10106         Likewise.
10107         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10108         Likewise.
10109         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10110         Likewise.
10111         [__LINUX_KERNEL_VERSION >= 0x020625]
10112         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10113         [__LINUX_KERNEL_VERSION >= 0x020625]
10114         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10115         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10116         Likewise.
10117         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10118         Likewise.
10120 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10122         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10123         record the current if the current ABI and CPU support the FP64
10124         extension.
10125         (has-modd-spreg): Define to record the current if the current ABI and
10126         CPU support 32-bit floating point values in odd FPU registers.
10127         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10128         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10129         $(has-modd-spreg) equals yes.
10130         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10131         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10132         $(has-modd-spreg) equal yes.
10134 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10136         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10137         basename.
10139 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10141         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10142         (bench-string): ... here.
10143         (bench): Add bench-string.
10144         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10145         to *-benchset to reflect what they are.
10146         (benchset): Adjust.
10148         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10149         cos-inputs.
10151 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10153         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10154         __attribute__ ((__simd__)) for vector math function declarations.
10156 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10158         Fix typo in strncat, wcsncat manual entries
10159         * manual/string.texi (Copying and Concatenation): Fix typos in
10160         sample implementations of strncat and wcsncat, by having them use
10161         the old value of the destination length, not the new one.
10163 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10165         [BZ #16961]
10166         [BZ #16962]
10167         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10168         string on the stack for strtod.
10169         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10170         a string on the stack for strtof.
10171         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10172         constructing a string on the stack for strtold.
10173         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10174         __strtold_nan to GLIBC_PRIVATE.
10175         * math/test-nan-overflow.c: New file.
10176         * math/test-nan-payload.c: Likewise.
10177         * math/Makefile (tests): Add test-nan-overflow and
10178         test-nan-payload.
10180 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10182         Consistency about byte vs character in string.texi
10183         * manual/string.texi (String and Array Utilities):
10184         Distinguish more carefully among bytes, multibyte characters,
10185         and wide characters.  Use "byte" when talking about C 'char',
10186         to distinguish it more clearly from multibyte characters.
10187         Say "wide character" or "multibyte character" instead of
10188         "character", when a wide or multibyte character is intended.
10189         Similarly for "multibyte string" versus "string".
10190         Define these terms more carefully.
10192 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10194         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10195         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10196         Likewise.
10197         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10198         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10199         * sysdeps/sh/math_private.h: New file.
10200         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10201         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10202         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10203         long double function name.
10204         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10205         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10206         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10208         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10210         Remove __finitel, __isinfl, and __isnanl.
10211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10212         Likewise.
10213         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10215         Remove __finitel.
10216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10217         Likewise.
10218         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10220 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10222         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10223         installed libmvec_nonshared.a.
10225 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10227         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10228         (sysdep_routines): Likewise.
10229         (sysdep-rtld-routines): Likewise.
10230         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10231         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10232         * sysdeps/powerpc/Versions: Added new
10233         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10234         * sysdeps/powerpc/hwcapinfo.c: New file.
10235         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10236         and parse hwcap, hwcap2 and platform number information.
10237         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10238         to store HWCAP+HWCAP2 and platform number.
10239         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10240         for HWCAP+HWCAP2 and platform number in the TCB.
10241         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10242         the HWCAP, HWCAP2 and platform number in the TCB.
10243         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10244         (TLS_INIT_TP): Included calls to add the hwcap and
10245         at_platform values in the TCB in TP initialization.
10246         (TLS_DEFINE_INIT_TP): Likewise.
10247         (THREAD_GET_HWCAP): New macro.
10248         (THREAD_SET_HWCAP): Likewise.
10249         (THREAD_GET_AT_PLATFORM): Likewise.
10250         (THREAD_SET_AT_PLATFORM): Likewise.
10251         * sysdeps/powerpc/powerpc32/dl-machine.h:
10252         (dl_platform_init): New function that calls
10253         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10254         powerpc32.
10255         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10256         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10257         this functionality, static linking case.
10258         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10259         linking case.
10260         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10261         __parse_hwcap_and_convert_at_platform for the static linking case.
10262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10263         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10264         ABI list for GLIBC 2.23.
10265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10266         Likewise.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10268         Likewise.
10270 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10272         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10273         * configure: Regenerate.
10274         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10275         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10277 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10279         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10280         * iconvdata/ibm933.c: Likewise.
10281         * iconvdata/ibm935.c: Likewise.
10282         * iconvdata/ibm937.c: Likewise.
10283         * iconvdata/ibm939.c: Likewise.
10285 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10287         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10288         pthread_join.
10289         * nptl/tst-cancel21.c (tf): Likewise.
10291 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10293         [BZ #19313]
10294         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10295         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10296         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10297         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10300         Likewise.
10301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10304         Likewise.
10305         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10306         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10307         unsigned long int with __CPU_MASK_TYPE.
10309 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10311         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10313 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10315         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10316         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10317         t512.x.
10318         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10320 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10322         [BZ #19214]
10323         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10324         argument to return extended model.  Update family and model
10325         with extended family and model when family == 0x0f.
10326         (init_cpu_features): Updated.
10328 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10330         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10331         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10333         * sysdeps/mach/hurd/mmap64.c: New file.
10335 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10337         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10338         rights for its main user thread in NEWTASK.
10340 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10342         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10343         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10345 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10347         [BZ #14259]
10348         * Makeconfig: Rename localedir to complocaledir.
10349         Rename inst_localedir to inst_complocaledir.
10350         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10351         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10352         * configure.ac: Use libc_cv_complocaledir.
10353         * configure: Regenerate.
10354         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10355         -DCOMPLOCALEDIR.
10356         * locale/findlocale.c: Use COMPLOCALEDIR.
10357         * locale/loadarchive.c: Likewise.
10358         * locale/programs/locale.c: Likewise.
10359         * locale/programs/localedef.c: Likewise.
10360         * locale/programs/locarchive.c: Likewise.
10361         * localedata/Makefile: Use inst_complocaledir.
10362         * sysdeps/gnu/configure: Regenerate.
10363         * sysdeps/hppa/configure: Regenerate.
10364         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10365         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10367         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10368         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10369         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10370         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10372 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10374         [BZ #19058]
10375         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10376         AS_NEEDED.
10377         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10378         workaround.
10379         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10380         libmvec-static-only-routines): Added new file.
10381         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10383 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10385         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10386         of interrupted RPC instead of restoring it.
10388         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10389         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10390         libc_hidden_def.
10391         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10392         into initialized data instead of common. Define rtld_hidden_data_def.
10393         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10394         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10395         libc_hidden_def.
10396         (if_freenameindex): Add libc_hidden_weak.
10397         (if_nameindex): Add libc_hidden_weak.
10398         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10399         __open64.
10400         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10401         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10402         * sysdeps/mach/nanosleep.c: Include <time.h>
10403         (__nanosleep): Rename to __libc_nanosleep.
10404         (__nanosleep): Add weak_alias.
10405         (nanosleep): Update alias.
10407 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10409         * stdlib/strtod_nan.c: New file.
10410         * stdlib/strtod_nan_double.h: Likewise.
10411         * stdlib/strtod_nan_float.h: Likewise.
10412         * stdlib/strtod_nan_main.c: Likewise.
10413         * stdlib/strtod_nan_narrow.h: Likewise.
10414         * stdlib/strtod_nan_wide.h: Likewise.
10415         * stdlib/strtof_nan.c: Likewise.
10416         * stdlib/strtold_nan.c: Likewise.
10417         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10418         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10419         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10420         * wcsmbs/wcstod_nan.c: Likewise.
10421         * wcsmbs/wcstof_nan.c: Likewise.
10422         * wcsmbs/wcstold_nan.c: Likewise.
10423         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10424         strtold_nan.
10425         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10426         wcstof_nan.
10427         * include/stdlib.h (__strtof_nan): Declare and use
10428         libc_hidden_proto.
10429         (__strtod_nan): Likewise.
10430         (__strtold_nan): Likewise.
10431         (__wcstof_nan): Likewise.
10432         (__wcstod_nan): Likewise.
10433         (__wcstold_nan): Likewise.
10434         * include/wchar.h (____wcstoull_l_internal): Declare.
10435         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10436         (____strtoull_l_internal): Remove declaration.
10437         (STRTOF_NAN): Define macro.
10438         (SET_MANTISSA): Remove macro.
10439         (STRTOULL): Likewise.
10440         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10441         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10442         (STRTOF_NAN): Define macro.
10443         (SET_MANTISSA): Remove macro.
10444         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10445         (SET_MANTISSA): Remove macro.
10446         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10447         macro.
10448         (SET_MANTISSA): Remove macro.
10449         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10450         macro.
10451         (SET_MANTISSA): Remove macro.
10452         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10453         (SET_MANTISSA): Remove macro.
10454         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10455         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10456         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10458         [BZ #19266]
10459         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10460         upper case and lower case letters inside NAN(), not using TOLOWER.
10461         * stdlib/tst-strtod-nan-locale-main.c: New file.
10462         * stdlib/tst-strtod-nan-locale.c: Likewise.
10463         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10464         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10465         Depend on $(gen-locales).
10466         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10467         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10468         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10469         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10470         Depend on $(gen-locales).
10471         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10473 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10475         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10477         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10479         __finitel, __isinfl, and __isnanl.
10480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10481         Likewise.
10482         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10484         __finitel.
10485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10486         Likewise.
10487         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10489 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10491         * malloc/memusage.c (me): Remove redundant getenv call.
10493 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10495         [BZ #19143]
10496         [BZ #19164]
10497         * nptl/check-cpuset.h: Remove.
10498         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10499         Remove CPU set size check.
10500         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10501         Likewise.
10502         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10503         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10504         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10505         (__pthread_setaffinity_new): Remove CPU set size check.
10506         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10507         (__kernel_cpumask_size): Remove.
10508         (__sched_setaffinity_new): Remove CPU set size check.
10509         * manual/threads.texi (Default Thread Attributes): Remove stale
10510         reference to check_cpuset_attr, determine_cpumask_size in comment.
10511         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10512         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10513         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10514         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10515         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10516         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10517         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10518         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10519         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10520         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10521         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10522         skeleton test file.
10523         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10524         tst-affinity-pid.
10526 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10528         * scripts/update-abilist.sh: New file.
10529         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10530         * Makerules (update-all-abi-%, update-all-abi)
10531         (subdir_update-all-abi): New targets.
10532         * elf/Makefile (update-all-abi): New target.
10534 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10536         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10537         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10538         (__libc_lock_define_initialized): Use it.
10539         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10540         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10541         * malloc/malloc.c (main_arena): Likewise.
10542         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10543         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10545 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10547         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10548         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10549         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10550         (PTRACE_O_MASK): Update value.
10551         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10552         New value in enum __ptrace_setoptions.
10553         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10554         (PTRACE_O_MASK): Update value.
10555         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10556         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10557         (PTRACE_O_MASK): Update value.
10558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10559         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10560         (PTRACE_O_MASK): Update value.
10561         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10562         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10563         (PTRACE_O_MASK): Update value.
10564         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10565         New value in enum __ptrace_setoptions.
10566         (PTRACE_O_MASK): Update value.
10567         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10568         New value in enum __ptrace_setoptions.
10569         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10570         (PTRACE_O_MASK): Update value.
10572         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10573         New macro.
10574         (PACKET_AUXDATA): Likewise.
10575         (PACKET_ORIGDEV): Likewise.
10576         (PACKET_VERSION): Likewise.
10577         (PACKET_HDRLEN): Likewise.
10578         (PACKET_RESERVE): Likewise.
10579         (PACKET_TX_RING): Likewise.
10580         (PACKET_LOSS): Likewise.
10581         (PACKET_VNET_HDR): Likewise.
10582         (PACKET_TX_TIMESTAMP): Likewise.
10583         (PACKET_TIMESTAMP): Likewise.
10584         (PACKET_FANOUT): Likewise.
10585         (PACKET_TX_HAS_OFF): Likewise.
10586         (PACKET_QDISC_BYPASS): Likewise.
10587         (PACKET_ROLLOVER_STATS): Likewise.
10588         (PACKET_FANOUT_DATA): Likewise.
10589         (PACKET_MR_UNICAST): Likewise.
10591         [BZ #19242]
10592         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10593         (TOUPPER): Likewise.
10594         * stdlib/tst-strtol-locale-main.c: New file.
10595         * stdlib/tst-strtol-locale.c: Likewise.
10596         * stdlib/Makefile (tests): Add tst-strtol-locale.
10597         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10598         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10599         Depend on $(gen-locales).
10600         * wcsmbs/tst-wcstol-locale.c: New file.
10601         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10602         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10603         tr_TR.ISO-8859-9.
10604         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10605         Depend on $(gen-locales).
10607 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10609         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10610         __glibc_likely instead of __builtin_expect.  After falling back to
10611         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10612         system interface to register the code pages as occupied.
10614 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10616         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10617         [!ARM_MATH_PRIVATE_H].
10618         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10619         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10620         [!HPPA_MATH_PRIVATE_H].
10621         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10622         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10623         to [!I386_MATH_PRIVATE_H].
10624         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10625         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10626         Change guard to [!M68K_MATH_PRIVATE_H].
10627         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10628         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10629         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10630         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10631         macro.
10632         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10633         [!MIPS_MATH_PRIVATE_H].
10634         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10635         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10636         [!NIO2_MATH_PRIVATE_H].
10637         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10638         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10639         [!TILE_MATH_PRIVATE_H].
10640         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10642         [BZ #15421]
10643         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10644         initialize with 0 and define as weak alias of __signgam.
10645         * include/math.h [!_ISOMAC] (__signgam): Declare.
10646         * math/Makefile (libm-calls): Add w_lgamma_compat.
10647         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10648         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10649         test-signgam-ullong-init.
10650         (tests-static): Add test-signgam-uchar-static,
10651         test-signgam-uchar-init-static, test-signgam-uint-static,
10652         test-signgam-uint-init-static, test-signgam-ullong-static and
10653         test-signgam-ullong-init-static.
10654         (CFLAGS-test-signgam-uchar.c): New variable.
10655         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10656         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10657         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10658         (CFLAGS-test-signgam-uint.c): Likewise.
10659         (CFLAGS-test-signgam-uint-init.c): Likewise.
10660         (CFLAGS-test-signgam-uint-static.c): Likewise.
10661         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10662         (CFLAGS-test-signgam-ullong.c): Likewise.
10663         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10664         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10665         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10666         * math/Versions (libm): Add GLIBC_2.23.
10667         * math/lgamma-compat.h: New file.
10668         * math/test-signgam-main.c: Likewise.
10669         * math/test-signgam-uchar-init-static.c: Likewise.
10670         * math/test-signgam-uchar-init.c: Likewise.
10671         * math/test-signgam-uchar-static.c: Likewise.
10672         * math/test-signgam-uchar.c: Likewise.
10673         * math/test-signgam-uint-init-static.c: Likewise.
10674         * math/test-signgam-uint-init.c: Likewise.
10675         * math/test-signgam-uint-static.c: Likewise.
10676         * math/test-signgam-uint.c: Likewise.
10677         * math/test-signgam-ullong-init-static.c: Likewise.
10678         * math/test-signgam-ullong-init.c: Likewise.
10679         * math/test-signgam-ullong-static.c: Likewise.
10680         * math/test-signgam-ullong.c: Likewise.
10681         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10682         wrapper of w_lgamma_main.c.
10683         * math/w_lgamma_compat.c: New file.
10684         * math/w_lgamma_compatf.c: Likewise.
10685         * math/w_lgamma_compatl.c: Likewise.
10686         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10687         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10688         defining compatibility symbols.
10689         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10690         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10691         wrapper of w_lgammaf_main.c.
10692         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10693         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10694         defining compatibility symbols.
10695         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10696         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10697         wrapper of w_lgammal_main.c.
10698         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10699         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10700         defining compatibility symbols.
10701         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10702         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10703         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10704         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10705         <lgamma-compat.h>.
10706         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10707         (__ieee754_gamma): Define as alias.
10708         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10709         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10710         <lgamma-compat.h>.
10711         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10712         (__ieee754_gammaf): Define as alias.
10713         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10714         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10715         <lgamma-compat.h>.
10716         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10717         (__ieee754_gammal): Define as alias.
10718         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10719         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10720         <math/w_lgamma_compat.c>.
10721         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10722         Define as alias of __lgamma_compat and use in defining lgammal.
10723         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10724         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10725         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10726         (USE_AS_COMPAT): New macro.
10727         (LGAMMA_OLD_VER): Undefine and redefine.
10728         (lgammal): Do not define here.
10729         (gammal): Only define here if [GAMMA_ALIAS].
10730         * conform/linknamespace.pl (@whitelist): Remove signgam.
10731         * sysdeps/nacl/libm.abilist: Update.
10732         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10733         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10734         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10735         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10737         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10738         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10739         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10740         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10741         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10742         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10743         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10745         Likewise.
10746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10747         Likewise.
10748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10749         Likewise.
10750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10751         Likewise.
10752         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10753         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10754         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10755         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10756         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10758         Likewise.
10759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10760         Likewise.
10761         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10762         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10763         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10765 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10767         [BZ #16364]
10768         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10769         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10771 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10773         * sysdeps/s390/fpu/bits/mathinline.h:
10774         Use __asm__ [__volatile__] instead of asm [volatile].
10775         * sysdeps/s390/abort-instr.h: Likewise.
10776         * sysdeps/s390/atomic-machine.h: Likewise.
10777         * sysdeps/s390/bits/string.h: Likewise.
10778         * sysdeps/s390/dl-tls.h: Likewise.
10779         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10780         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10781         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10782         * sysdeps/s390/fpu/fesetround.c: Likewise.
10783         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10784         * sysdeps/s390/fpu/s_fma.c: Likewise.
10785         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10786         * sysdeps/s390/memusage.h: Likewise.
10787         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10788         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10789         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10790         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10791         * sysdeps/s390/nptl/tls.h: Likewise.
10792         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10793         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10794         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10795         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10796         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10797         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10798         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10799         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10800         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10801         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10802         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10803         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10804         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10805         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10806         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10807         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10808         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10809         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10810         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10812         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10814         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10816 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10817             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10819         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10820         Add lwarx hint, and use macro for acquire instruction.
10821         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10822         Likewise.
10823         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10824         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10825         update to use new atomic macros.
10827 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10829         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10830         (__lll_trylock_elision): Fix setting of adapt_count.
10831         * sysdeps/unix/sysv/linux/powerpc/htm.h
10832         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10833         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10834         (_ABORT_SYSCALL): Renumber, and clarify definition.
10835         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10837 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10839         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10840         after system headers to prevent MIN/MAX redefinition.  Define
10841         HAVE_ALLOCA to preserve builtin alloca usage.
10843 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10846         static and don't set or restore rounding.
10847         (__cos)[IN_SINCOS]: Likewise.
10848         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10849         (__sincos): Set and restore rounding mode.  Remove check for infinite
10850         or NaN input.
10852         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10854         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10855         as used.
10857 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10859         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10861 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10863         * config.make.in (have-glob-dat-reloc): New.
10864         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10865         target supports GLOB_DAT relocaton. AC_SUBST.
10866         * configure: Regenerated.
10867         * elf/Makefile (tests): Add tst-prelink.
10868         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10869         (tst-prelink-ENV): New.
10870         ($(objpfx)tst-prelink-conflict.out): Likewise.
10871         ($(objpfx)tst-prelink-cmp.out): Likewise.
10872         * sysdeps/x86/tst-prelink.c: Moved to ...
10873         * elf/tst-prelink.c: Here.
10874         * sysdeps/x86/tst-prelink.exp: Moved to ...
10875         * elf/tst-prelink.exp: Here.
10876         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10877         (tst-prelink-ENV): Removed.
10878         ($(objpfx)tst-prelink-conflict.out): Likewise.
10879         ($(objpfx)tst-prelink-cmp.out): Likewise.
10880         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10882 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10884         [BZ #14551]
10885         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10886         (__mpn_construct_long_double): If high part overflows to infinity,
10887         set errno and recompute overflowed result of the correct sign.
10888         * sysdeps/ieee754/ldbl-128ibm/Makefile
10889         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10890         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10891         $(libm).
10892         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10894 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10896         [BZ #15479]
10897         [BZ #19238]
10898         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10899         floating-point state after first operation on input.  Restore full
10900         state rather than just rounding mode.
10901         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10902         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10903         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10905         [BZ #19235]
10906         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10907         add 0.5 to integer arguments.
10908         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10909         Likewise.
10910         (.LC2): New object.
10912 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10914         * scripts/pylintrc (reports): Set to no.
10916 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10918         * elf/dl-load.c (open_verify): Take new argument FD.
10919         Skip __open call if passed FD is not -1.
10920         (_dl_map_object, open_path): Update callers.
10921         * elf/dl-sysdep-open.h: New file.
10922         * elf/dl-load.c: Include it.
10923         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10924         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10925         * sysdeps/nacl/dl-sysdep-open.h: New file.
10926         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10927         from libc to rtld.
10929 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10931         [BZ #19228]
10932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10933         and restore full floating-point state.
10934         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10935         Likewise.
10936         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10937         Likewise.
10938         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10939         Likewise.
10940         * math/test-nearbyint-except-2.c: New file.
10941         * math/Makefile (tests): Add test-nearbyint-except-2.
10943 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10945         [BZ #19178]
10946         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10947         (tst-prelink-ENV): New.
10948         ($(objpfx)tst-prelink-conflict.out): Likewise.
10949         ($(objpfx)tst-prelink-cmp.out): Likewise.
10950         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10951         * sysdeps/x86/tst-prelink.c: New file.
10952         * sysdeps/x86/tst-prelink.exp: Likewise.
10954 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10956         * math/auto-libm-test-in: Add another test of pow.
10957         * math/auto-libm-test-out: Regenerated.
10958         * math/libm-test.inc (pow_test_data): Add another test.
10960 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10962         [BZ #19219]
10963         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10964         weak_alias to nearbyintl.
10966 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10968         * sysdeps/aarch64/bits/string.h: New file.
10969         (_STRING_ARCH_unaligned): Define.
10971 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10973         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10974         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10975         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10976         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10979 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10981         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10982         for original name of the DSO.  Add it to the name list of the DSO
10983         if it is actually given.
10984         (_dl_map_object): Keep track of whether an audit module rewrote
10985         the file name.  If yes, pass the original name to
10986         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10987         debugging is enabled, log the change of the file name.
10988         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10989         _dl_map_object_from_fd.
10990         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10991         * elf/tst-audit11.c: New file
10992         * elf/tst-auditmod11.c: New file.
10993         * elf/tst-audit11mod1.c: New file.
10994         * elf/tst-audit11mod2.c: New file.
10995         * elf/tst-audit11mod2.map: New file.
10996         * elf/tst-audit12.c: New file
10997         * elf/tst-auditmod12.c: New file.
10998         * elf/tst-audit12mod1.c: New file.
10999         * elf/tst-audit12mod2.c: New file.
11000         * elf/tst-audit12mod2.map: New file.
11001         * elf/tst-audit12mod3.c: New file.
11003 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11005         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11006         Don't create weak aliases,
11007         because versioned symbols are created later.
11008         * sysdeps/s390/s390-32/setjmp.S
11009         (setjmp, _setjmp): Remove weak and rename to an unique name
11010         in SHARED case due to existing versioned symbols.
11011         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11013         (getcontext): Create weak alias only in non SHARED case.
11014         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11016 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11018         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11019         (__ASSUME_*_SYSCALL) Define new macros.
11020         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11021         Remove socketcall syscalls.
11022         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11023         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11024         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11025         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11026         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11027         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11029 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11031         [BZ #12926]
11032         Terminate process on invalid netlink response.
11033         * sysdeps/unix/sysv/linux/netlinkaccess.h
11034         (__netlink_assert_response): Declare.
11035         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11036         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11037         (sysdep_routines): Add netlink_assert_response.
11038         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11039         __netlink_assert_response.
11040         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11041         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11042         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11043         __netlink_assert_response.
11045 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11047         [BZ #19178]
11048         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11049         (RTYPE_CLASS_PLT): Likewise.
11050         (RTYPE_CLASS_COPY): Likewise.
11051         (RTYPE_CLASS_TLS): Likewise.
11052         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11053         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11054         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11055         DL_DEBUG_PRELINK.
11057 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11059         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11060         calls with argument -0.5.
11061         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11063         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11064         (libc_cv_z_nodlopen): Likewise.
11065         (libc_cv_z_initfirst): Likewise.
11066         * configure: Regenerated.
11068 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11070         Simplify abilist format to be line-based.
11071         * scripts/abilist.awk: Collect descriptors in the descs variable.
11072         (emit): Write descs variable and sort it
11073         externally, with sort.
11074         * sysdeps/**/*.abilist: Convert to new format.
11076 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11078         [BZ #11460]
11079         * io/Makefile (routines): Add fts64.
11080         (tests): Add tst-fts and tst-fts-lfs.
11081         (CFLAGS-fts64.c): New.
11082         * io/Versions (GLIBC_2.23): New.
11083         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11084         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11085         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11086         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11087         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11088         (FTSENT64): Likewise.
11089         (fts64_children): Likewise.
11090         (fts64_close): Likewise.
11091         (fts64_open): Likewise.
11092         (fts64_read): Likewise.
11093         (fts64_set): Likewise.
11094         * io/fts64.c: New file.
11095         * io/tst-fts.c: New test.
11096         * io/tst-fts-lfs.c: Likewise.
11097         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11098         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11099         fts64_set.
11100         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11101         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11102         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11103         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11104         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11106         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11107         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11108         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11109         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11110         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11111         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11112         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11114         Likewise.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11116         Likewise.
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11119         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11120         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11121         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11122         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11123         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11126         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11127         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11128         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11129         * sysdeps/wordsize-64/fts.c: New file.
11130         * sysdeps/wordsize-64/fts64.c: Likewise.
11131         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11132         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11133         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11134         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11136 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11138         * math/libm-test.inc (NON_FINITE): New macro.
11139         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11140         * math/gen-libm-test.pl (show_exceptions): Add argument
11141         $non_finite.
11142         (parse_args): Update call to show_exceptions.
11143         * math/test-math-finite.h: New file.
11144         * math/test-math-no-finite.h: Likewise.
11145         * math/test-double-finite.c: Likewise.
11146         * math/test-float-finite.c: Likewise.
11147         * math/test-ldouble-finite.c: Likewise.
11148         * math/test-double.c: Include "test-math-no-finite.h".
11149         * math/test-float.c: Include "test-math-no-finite.h".
11150         * math/test-ldouble.c: Include "test-math-no-finite.h".
11151         * math/test-math-inline.h (TEST_FINITE): New macro.
11152         * math/test-math-vector.h (TEST_FINITE): Likewise.
11153         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11154         (libm-tests): Add test-float-finite and test-double-finite.
11155         ($(objpfx)test-float-finite.o): New dependency on
11156         $(objpfx)libm-test.stmp.
11157         ($(objpfx)test-double-finite.o): Likewise.
11158         ($(objpfx)test-ldouble-finite.o): Likewise.
11159         (libm-test-no-inline-cflags): New variable.
11160         (libm-test-finite-cflags): Likewise.
11161         (CFLAGS-test-float-finite.c): Likewise.
11162         (CFLAGS-test-double-finite.c): Likewise.
11163         (CFLAGS-test-ldouble-finite.c): Likewise.
11164         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11165         (CFLAGS-test-double.c): Likewise.
11166         (CFLAGS-test-ldouble.c): Likewise.
11168 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11170         * io/fcntl.c (__fcntl): Add ... to prototype.
11171         * misc/ioctl.c (__ioctl): Likewise.
11172         * misc/syscall.c (syscall): Likewise.
11174 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11176         * scripts/list-fixed-bugs.py: New file.
11178         [BZ #19213]
11179         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11180         returned for argument 1.
11181         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11182         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11183         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11184         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11185         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11186         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11188         [BZ #19211]
11189         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11190         __USE_XOPEN], not if [!__USE_ISOC99].
11191         (lgammaf): Likewise.
11192         (lgammal): Likewise.
11193         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11194         (gammaf): Likewise.
11195         (gammal): Likewise.
11196         * math/test-signgam-finite-c11.c: New file.
11197         * math/test-signgam-finite-c99.c: Likewise.
11198         * math/test-signgam-finite.c: Likewise.
11199         * math/Makefile (tests): Add test-signgam-finite,
11200         test-signgam-finite-c99 and test-signgam-finite-c11.
11201         (CFLAGS-test-signgam-finite.c): New variable.
11202         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11203         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11205         [BZ #19212]
11206         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11207         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11208         500].
11209         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11210         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11211         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11212         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11213         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11214         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11215         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11216         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11217         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11218         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11220         [BZ #19209]
11221         * math/bits/math-finite.h (ldexp): Remove declaration.
11222         (ldexpf): Likewise.
11223         (ldexpl): Likewise.
11225         [BZ #19205]
11226         * math/bits/math-finite.h (acosf): Condition declaration on
11227         [__USE_ISOC99].
11228         (acosl): Likewise.
11229         (acoshf): Likewise.
11230         (acoshl): Likewise.
11231         (asinf): Likewise.
11232         (asinl): Likewise.
11233         (atan2f): Likewise.
11234         (atan2l): Likewise.
11235         (atanhf): Likewise.
11236         (atanhl): Likewise.
11237         (coshf): Likewise.
11238         (coshl): Likewise.
11239         (expf): Likewise.
11240         (expl): Likewise.
11241         (fmodf): Likewise.
11242         (fmodl): Likewise.
11243         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11244         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11245         (j0l): Likewise.
11246         (y0f): Likewise.
11247         (y0l): Likewise.
11248         (j1f): Likewise.
11249         (j1l): Likewise.
11250         (y1f): Likewise.
11251         (y1l): Likewise.
11252         (jnf): Likewise.
11253         (jnl): Likewise.
11254         (ynf): Likewise.
11255         (ynl): Likewise.
11256         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11257         (lgammal_r): Likewise.
11258         (__lgamma_r_finite): New declaration.
11259         (__lgammaf_r_finite): Likewise.
11260         (__lgammal_r_finite): Likewise.
11261         (lgamma): Use __lgamma_r_finite.
11262         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11263         __lgammaf_r_finite.
11264         (lgammal): Condition definition on [__USE_ISOC99].  Use
11265         __lgammal_r_finite.
11266         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11267         __lgamma_r_finite.
11268         (gammaf): Condition definition on [__USE_ISOC99].  Use
11269         __lgammaf_r_finite.
11270         (gammal): Condition definition on [__USE_ISOC99].  Use
11271         __lgammal_r_finite.
11272         (logf): Condition declaration on [__USE_ISOC99].
11273         (logl): Likewise.
11274         (log10f): Likewise.
11275         (log10l): Likewise.
11276         (ldexpf): Likewise.
11277         (ldexpl): Likewise.
11278         (powf): Likewise.
11279         (powl): Likewise.
11280         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11281         __USE_ISOC99].
11282         (remainderf): Condition declaration on [__USE_ISOC99].
11283         (remainderl): Likewise.
11284         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11285         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11286         (scalbl): Likewise.
11287         (sinhf): Condition declaration on [__USE_ISOC99].
11288         (sinhl): Likewise.
11289         (sqrtf): Likewise.
11290         (sqrtl): Likewise.
11292 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11294         * sysdeps/arm/atomic-machine.h
11295         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11296         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11297         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11298         Remove conditional code.
11299         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11300         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11301         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11302         Change conditional to [__ASSEMBLER__].
11303         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11304         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11305         [!__ASSEMBLER__].
11306         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11307         code.
11308         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11309         conditional macro definitions.
11310         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11311         (__arch_compare_and_exchange_val_16_acq): Likewise.
11312         (__arch_compare_and_exchange_val_32_acq): Likewise.
11313         (atomic_exchange_and_add): Likewise.
11314         (atomic_add): Likewise.
11315         (atomic_add_negative): Likewise.
11316         (atomic_add_zero): Likewise.
11317         (atomic_bit_set): Likewise.
11318         (atomic_bit_test_set): Likewise.
11319         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11320         code unconditional.
11321         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11323         * math/test-math-errno.h: New file.
11324         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11325         empty.
11326         (TEST_ERRNO): New macro.
11327         (TEST_EXCEPTIONS): Likewise.
11328         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11329         (TEST_EXCEPTIONS): Likewise.
11330         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11331         * math/test-double.c: Include "test-math-errno.h".
11332         * math/test-float.c: Likewise.
11333         * math/test-ldouble.c: Likewise.
11334         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11335         code unconditional.
11336         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11337         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11338         unconditional.
11339         (test_errno): Only run code if TEST_ERRNO.
11340         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11342 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11344         * nptl/tst-once5.cc: Remove attribution.
11346 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11348         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11349         sqrt, tan, tanh, y0, y1 and yn.
11350         * math/auto-libm-test-out: Regenerated.
11351         * math/libm-test.inc (scalb_test_data): Add more tests.
11352         (scalbn_test_data): Likewise.
11353         (scalbln_test_data): Likewise.
11354         (signbit_test_data): Likewise.
11355         (sin_test_data): Likewise.
11356         (sincos_test_data): Likewise.
11357         (sinh_test_data): Likewise.
11358         (sqrt_test_data): Likewise.
11359         (tan_test_data): Likewise.
11360         (tanh_test_data): Likewise.
11361         (tgamma_test_data): Likewise.
11362         (y0_test_data): Likewise.
11363         (y1_test_data): Likewise.
11364         (yn_test_data): Likewise.
11365         (significand_test_data): Likewise.
11366         * sysdeps/i386/fpu/libm-test-ulps: Update.
11368 2015-11-03  David Kastrup  <dak@gnu.org>
11370         [BZ #18604]
11371         * assert/assert.h (assert): Don't macro-expand failed assertion
11372         expression in error message.
11373         * malloc/malloc.c (assert): Likewise.
11375 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11377         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11378         test.
11379         * configure: Regenerated.
11381 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11383         * math/libm-test.inc (modf_test_data): Add more tests.
11384         (nearbyint_test_data): Likewise.
11385         (nextafter_test_data): Likewise.
11386         (nexttoward_test_data): Likewise.
11387         (pow_test_data): Likewise.
11388         (remainder_test_data): Likewise.
11389         (remquo_test_data): Likewise.
11390         (rint_test_data): Likewise.
11392         [BZ #19201]
11393         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11394         Check for zero remainder in case of large exponents and ensure
11395         correct sign of result in that case.
11396         * math/libm-test.inc (remainder_test_data): Add more tests.
11398         [BZ #6799]
11399         * math/s_nextafter.c: Include <errno.h>.
11400         (__nextafter): Set errno on overflow and underflow.
11401         * math/s_nexttowardf.c: Include <errno.h>.
11402         (__nexttowardf): Set errno on overflow and underflow.
11403         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11404         (__nextafterl): Set errno on overflow and underflow.
11405         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11406         (__nexttoward): Set errno on overflow and underflow.
11407         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11408         (__nexttowardf): Set errno on overflow and underflow.
11409         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11410         (__nextafterf): Set errno on overflow and underflow.
11411         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11412         (__nextafterl): Set errno on overflow and underflow.
11413         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11414         (__nexttoward): Set errno on overflow and underflow.
11415         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11416         (__nexttowardf): Set errno on overflow and underflow.
11417         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11418         (__nextafterl): Set errno on overflow and underflow.
11419         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11420         (__nexttoward): Set errno on overflow and underflow.
11421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11422         (__nexttowardf): Set errno on overflow and underflow.
11423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11424         (__nexttoward): Set errno on overflow and underflow.
11425         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11426         (__nexttowardf): Set errno on overflow and underflow.
11427         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11428         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11429         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11430         (__nextafterl): Set errno on overflow and underflow.
11431         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11432         setting to be missing on overflow.  Add more tests.
11433         (nexttoward_test_data): Likewise.
11435         * configure.ac (libc_cv_initfini_array): Remove configure test.
11436         * configure: Regenerated.
11438 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11440         [BZ #19189]
11441         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11442         non-finite argument handle arguments with negative sign.
11444         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11445         result from infinite argument.
11446         (j1_test_data): Likewise.
11447         (jn_test_data): Likewise.
11448         (y0_test_data): Likewise.
11449         (y1_test_data): Likewise.
11450         (yn_test_data): Likewise.
11452         [BZ #16171]
11453         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11454         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11455         * math/w_remainderf.c (dremf): Define as weak alias of
11456         __remainderf.
11457         * math/w_remainderl.c (dreml): Define as weak alias of
11458         __remainderl.
11459         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11460         __remainder.
11461         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11462         __remainderf.
11463         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11464         __remainderl.
11465         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11466         weak alias of remainderl.
11467         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11468         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11469         alias of __remainder.
11470         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11471         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11472         strong alias of __remainderl.
11473         (dreml): Use long_double_symbol.
11474         * math/Makefile (libm-calls): Remove w_drem.
11475         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11476         (CFLAGS-nldbl-drem.c): Remove variable.
11477         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11478         * math/w_drem.c: Remove file.
11479         * math/w_dremf.c: Likewise.
11480         * math/w_dreml.c: Likewise.
11481         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11482         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11483         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11485         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11486         * sysdeps/i386/configure: Regenerated.
11487         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11488         * sysdeps/x86_64/configure: Regenerated.
11490         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11491         test.
11492         (libc_cv_visibility_attribute): Likewise.
11493         (libc_cv_protected_data): Test unconditionally.
11494         (libc_cv_broken_visibility_attribute): Remove configure test.
11495         (libc_cv_have_sdata_section): Test unconditionally.
11496         * configure: Regenerated.
11498         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11499         * include/scratch_buffer.h: Include <stddef.h> instead of
11500         <libc-internal.h>.
11501         (struct scratch_buffer): Use max_align_t instead of
11502         libc_max_align_t.
11504 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11506         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11507         instead of extend_alloca.  Change control flow to avoid a goto.
11508         Remove assert which is trivially always true.
11510 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11512         [BZ #16068]
11513         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11514         (FE_ALL_EXCEPT_X86): New macro.
11515         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11516         FE_ALL_EXCEPT.  Ensure precision control is included in
11517         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11518         handle "denormal operand exception" and clear FZ and DAZ bits.
11519         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11520         (FE_ALL_EXCEPT_X86): New macro.
11521         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11522         FE_ALL_EXCEPT.  Ensure precision control is included in
11523         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11524         handle "denormal operand exception" and clear FZ and DAZ bits.
11525         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11526         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11527         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11528         test-fenv-x87 and test-fenv-sse-2.
11529         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11531         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11532         * math/test-double.h (BUILD_COMPLEX): New macro.
11533         * math/test-float.h (BUILD_COMPLEX): Likewise.
11534         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11536         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11537         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11538         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11540         instead of DBL_DENORM_MIN in comment.
11541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11542         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11543         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11544         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11545         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11546         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11548 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11550         [BZ# 19048]
11551         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11552         attached_threads member.
11553         (main_arena): Initialize attached_threads.
11554         * malloc/arena.c (list_lock): Update comment.
11555         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11556         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11557         (deattach_arena): New function.
11558         (_int_new_arena): Initialize arena reference count and deattach
11559         replaced arena.
11560         (get_free_list, reused_arena): Update reference count and deattach
11561         replaced arena.
11562         (arena_thread_freeres): Update arena reference count and only put
11563         unreferenced arenas on the free list.
11565 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #19181]
11568         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11569         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11570         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11571         * math/test-fenv-clear-main.c: New file.
11572         * math/test-fenv-clear.c: Likewise.
11573         * math/Makefile (tests): Add test-fenv-clear.
11574         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11575         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11576         test-fenv-clear-sse.
11577         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11579         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11580         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11581         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11583 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11585         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11586         static libc.
11588 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11590         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11591         test.
11592         * sysdeps/i386/configure: Regenerated.
11593         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11594         test.
11595         * sysdeps/x86_64/configure: Regenerated.
11596         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11598         memset-avx2 unconditionally instead of conditionally on
11599         [$(config-cflags-avx2) = yes].
11600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11601         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11602         unconditional.
11603         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11604         * sysdeps/x86_64/multiarch/memset_chk.S
11605         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11606         to [IS_IN (libc) && SHARED].
11608 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11610         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11611         configure test.
11612         * sysdeps/arm/configure: Regenerated.
11613         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11614         Define variable if not already defined.
11616         [BZ #17404]
11617         * sysdeps/mips/atomic-machine.h
11618         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11619         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11620         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11622         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11623         unconditional.
11624         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11625         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11626         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11627         unconditional.
11628         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11629         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11630         unconditional.
11631         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11632         * stdlib/setenv.c
11633         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11634         code unconditional.
11635         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11636         Remove conditional code.
11637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11638         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11639         unconditional.
11640         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11641         code.
11642         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11643         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11644         unconditional.
11645         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11646         code.
11647         * sysdeps/ieee754/ldbl-128/k_tanl.c
11648         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11649         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11650         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11651         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11652         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11653         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11654         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11655         unconditional.
11656         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11657         code.
11658         * sysdeps/ieee754/ldbl-96/k_tanl.c
11659         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11660         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11662         * nptl/tst-initializers1-c11.c: New file.
11663         * nptl/tst-initializers1-gnu11.c: Likewise.
11664         * nptl/Makefile (tests): Add these new tests.
11665         (CFLAGS-tst-initializers1-c11.c): New variable.
11666         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11668         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11669         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11670         instead of -std=gnu99.
11671         * configure.ac (systemtap): Test with -std=gnu11 instead of
11672         -std=gnu99.
11673         * configure: Regenerated.
11674         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11675         in compilation command in comment.
11677         * sysdeps/nptl/configure.ac: Remove file.
11678         * sysdeps/nptl/configure: Remove generated file.
11679         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11680         * configure: Regenerated.
11681         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11682         * config.make.in (have-forced-unwind): Remove variable.
11683         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11684         unconditional.
11685         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11686         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11687         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11688         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11689         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11690         unconditional.
11692 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11694         [BZ #19174]
11695         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11696         .skip_lock_out_of_tbegin_retries.
11697         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11698         (__lll_lock_elision): Likewise, and respect a value of
11699         try_tbegin <= 0.
11701 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11703         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11704         statement.
11706 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11708         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11709         variable.
11710         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11711         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11713         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11714         of -std=c1x -D_ISOC11_SOURCE.
11716         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11717         * configure: Regenerated.
11718         * manual/install.texi (Tools for Compilation): Document
11719         requirement for GCC 4.7 or later.
11720         * INSTALL: Regenerated.
11722 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11724         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11725         on CNT to a conditional jump to 'puntdata'.
11727 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11729         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11730         (libc_cv_gcc_tls_model_attr): Likewise.
11731         * configure: Regenerated.
11733         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11734         * configure: Regenerated.
11735         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11737 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11739         * configure.ac (old_glibc_headers): Remove configure test.
11740         * configure: Regenerated.
11741         * config.make.in (old-glibc-headers): Remove variable.
11742         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11743         (install): Remove dependency on remove-old-headers.
11744         (headers2_0): Remove variable.
11745         (remove-old-headers): Remove rule.
11747         * configure.ac (libc_cv_dot_text): Remove configure test.
11748         (libc_cv_asm_set_directive): Use .text instead of
11749         ${libc_cv_dot_text} in configure test.
11750         * configure: Regenerated.
11752 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11754         [BZ #19168]
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11757 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11759         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11760         not support static linking.
11761         * configure: Regenerate.
11763 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11765         * math/libm-test.inc (check_float_internal): Do not special-case
11766         errors up to 0.5 ulp.
11768         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11769         log2.
11770         * math/auto-libm-test-out: Regenerated.
11771         * math/libm-test.inc (MAX_EXP): New macro.
11772         (ilogb_test_data): Add more tests.
11773         (isfinite_test_data): Likewise.
11774         (isgreater_test_data): Likewise.
11775         (isgreaterequal_test_data): Likewise.
11776         (isinf_test_data): Likewise.
11777         (isless_test_data): Likewise.
11778         (islessequal_test_data): Likewise.
11779         (islessgreater_test_data): Likewise.
11780         (isnan_test_data): Likewise.
11781         (isnormal_test_data): Likewise.
11782         (issignaling_test_data): Likewise.
11783         (isunordered_test_data): Likewise.
11784         (j0_test_data): Likewise.
11785         (j1_test_data): Likewise.
11786         (jn_test_data): Likewise.
11787         (lgamma_test_data): Likewise.
11788         (log_test_data): Likewise.
11789         (log10_test_data): Likewise.
11790         (log1p_test_data): Likewise.
11791         (log2_test_data): Likewise.
11792         (logb_test_data): Likewise.
11793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11795         [BZ #18611]
11796         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11797         avoid excess range and precision on underflow.
11798         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11799         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11800         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11801         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11802         underflow.
11803         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11805         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11806         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11807         * math/auto-libm-test-in: Do not allow missing errno setting for
11808         tests of j1 and jn.
11809         * math/auto-libm-test-out: Regenerated.
11811 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11813         [BZ #15491]
11814         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11815         floating-point environment instead of clearing all exceptions.
11816         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11817         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11818         merging in "invalid" exceptions from frndint.
11819         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11820         * math/test-nearbyint-except.c: New file.
11821         * math/Makefile (tests): Add test-nearbyint-except.
11823 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11825         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11827         * sysdeps/tile/libm-test-ulps: Regenerated.
11829 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11832         (__NR_sync_file_range2): Assume it is always defined.
11833         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11834         (__NR_sync_file_range): Assume it is always defined.
11836 2015-10-22  Andreas Schwab  <schwab@suse.de>
11838         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11839         INTERNAL_SYSCALL_ERRNO.
11840         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11841         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11842         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11843         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11844         Likewise.
11845         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11847 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11849         * io/tst-fcntl.c (fd): New static variable.
11850         (do_prepare): Open temporary file here....
11851         (do_test): ...not here.
11853         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11855 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11857         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11858         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11859         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11860         Moved before "#ifdef __ASSEMBLER__".
11862 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11864         [BZ #19156]
11865         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11866         arguments very close to 0.
11868 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11870         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11871         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11873 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11875         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11876         New.  Defined for GCC 5 and above when not compiling for
11877         profiling.
11878         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11880         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11881         Renamed to ...
11882         (CFLAGS-epoll_pwait.o): This.
11883         (CFLAGS-mmap.c): Renamed to ...
11884         (CFLAGS-mmap.o): This.
11885         (CFLAGS-mmap64.c): Renamed to ...
11886         (CFLAGS-mmap64.o): This.
11887         (CFLAGS-epoll_pwait.os): New.
11888         (CFLAGS-mmap.os): Likewise.
11889         (CFLAGS-mmap64.os): Likewise.
11890         (CFLAGS-semtimedop.os): Likewise.
11891         (CFLAGS-semtimedop.c): Renamed to ...
11892         (CFLAGS-semtimedop.o): This.
11894 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11896         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11897         warning message.
11899 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11901         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11902         * Makefile ($(objpfx)c++-types-check.out): Filter out
11903         $(+gccwarn-c) instead of -Wstrict-prototypes.
11905         * io/fts.c (fts_open): Convert to prototype-style function
11906         definition.
11907         * malloc/mcheck.c (mcheck): Likewise.
11908         (mcheck_pedantic): Likewise.
11909         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11910         internal_function.
11911         (re_search_internal): Likewise.
11912         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11913         prototype-style function definition.
11914         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11915         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11916         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11917         (xdr_utmpptr): Likewise.
11918         (xdr_utmparr): Likewise.
11919         (xdr_utmpidle): Likewise.
11920         (xdr_utmpidleptr): Likewise.
11921         (xdr_utmpidlearr): Likewise.
11923         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11924         log, log10 and log2.
11925         * math/auto-libm-test-out: Regenerated.
11926         * math/libm-test.inc (fmod_test_data): Add more tests.
11927         (fpclassify_test_data): Likewise.
11928         (frexp_test_data): Likewise.
11929         (hypot_test_data): Likewise.
11930         (ilogb_test_data): Likewise.
11932 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11934         * debug/fortify_fail.c (__fortify_fail): Convert to
11935         prototype-style function definition.  Use internal_function.
11936         * libio/genops.c (save_for_backup): Convert to prototype-style
11937         function definition.
11938         * libio/wgenops.c (save_for_wbackup): Likewise.
11939         * login/grantpt.c (grantpt): Likewise.
11940         * login/ptsname.c (ptsname): Likewise.
11941         (__ptsname_r): Likewise.
11942         * login/unlockpt.c (unlockpt): Likewise.
11943         * mach/msgserver.c (__mach_msg_server): Likewise.
11944         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11945         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11946         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11947         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11948         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11949         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11950         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11951         Likewise.
11952         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11953         internal_function.
11954         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11955         prototype-style function definition.
11956         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11957         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11958         (__pthread_create_2_0): Likewise.
11959         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11960         * nptl/register-atfork.c (__register_atfork): Likewise.
11961         * posix/glob.c (glob): Likewise.
11962         * posix/regcomp.c (re_comp): Likewise.
11963         * posix/regexec.c (re_exec): Likewise.
11964         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11965         [!__STDC__]: Remove conditional code.
11966         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11967         [!__STDC__]: Remove conditional code.
11968         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11969         [!__STDC__]: Remove conditional code.
11970         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11971         [!__STDC__]: Remove conditional code.
11972         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11973         [!__STDC__]: Remove conditional code.
11974         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11975         [!__STDC__]: Remove conditional code.
11976         * stdlib/mul.c [__STDC__]: Make code unconditional.
11977         [!__STDC__]: Remove conditional code.
11978         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11979         [!__STDC__]: Remove conditional code.
11980         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11981         [!__STDC__]: Remove conditional code.
11982         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11983         function definition.
11984         (STRTOF): Likewise.
11985         * stdlib/strtod_l.c (__STRTOF): Likewise.
11986         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11987         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11988         (__strtol_l): Likewise.
11989         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11990         [!__STDC__]: Remove conditional code.
11991         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11992         definition.
11993         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11994         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11995         type.
11996         (__strcasecmp): Convert to prototype-style function definition.
11997         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11998         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11999         type.
12000         (__strncasecmp): Convert to prototype-style function definition.
12001         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12002         * sunrpc/xdr.c (xdr_union): Likewise.
12003         * sunrpc/xdr_array.c (xdr_array): Likewise.
12004         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12005         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12006         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12007         Likewise.
12008         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12009         Likewise.
12010         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12011         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12012         Likewise.
12013         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12014         (LOCALE_PARAM_PROTO): Likewise.
12015         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12016         argument type.
12017         (ut_argument_spec): Remove macro.
12018         (ut_argument_spec_iso): Rename to ut_argument_spec.
12019         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12020         prototype-style function definition.
12021         (memcpy_uppcase): Likewise.
12022         (__strftime_internal): Likewise.
12023         (my_strftime): Likewise.
12024         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12025         (LOCALE_PARAM_DECL): Likewise.
12026         [_LIBC] (LOCALE_PARAM): Include argument type.
12027         (__strptime_internal): Convert to prototype-style function
12028         definition.
12029         (strptime): Likewise.
12030         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12031         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12032         type.
12033         (__wcscasecmp): Convert to prototype-style function definition.
12034         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12035         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12036         type.
12037         (__wcsncasecmp): Convert to prototype-style function definition.
12039         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12040         function definition.
12041         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12042         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12043         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12044         * elf/dl-minimal.c (_itoa): Likewise.
12045         * hurd/hurdmalloc.c (malloc): Likewise.
12046         (free): Likewise.
12047         (realloc): Likewise.
12048         * inet/inet6_option.c (inet6_option_space): Likewise.
12049         (inet6_option_init): Likewise.
12050         (inet6_option_append): Likewise.
12051         (inet6_option_alloc): Likewise.
12052         (inet6_option_next): Likewise.
12053         (inet6_option_find): Likewise.
12054         * io/ftw.c (FTW_NAME): Likewise.
12055         (NFTW_NAME): Likewise.
12056         (NFTW_NEW_NAME): Likewise.
12057         (NFTW_OLD_NAME): Likewise.
12058         * libio/iofwide.c (_IO_fwide): Likewise.
12059         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12060         (_IO_str_init_static): Likewise.
12061         (_IO_str_init_readonly): Likewise.
12062         (_IO_str_overflow): Likewise.
12063         (_IO_str_underflow): Likewise.
12064         (_IO_str_count): Likewise.
12065         (_IO_str_seekoff): Likewise.
12066         (_IO_str_pbackfail): Likewise.
12067         (_IO_str_finish): Likewise.
12068         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12069         (_IO_wstr_overflow): Likewise.
12070         (_IO_wstr_underflow): Likewise.
12071         (_IO_wstr_count): Likewise.
12072         (_IO_wstr_seekoff): Likewise.
12073         (_IO_wstr_pbackfail): Likewise.
12074         (_IO_wstr_finish): Likewise.
12075         * locale/programs/localedef.c (normalize_codeset): Likewise.
12076         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12077         (add_locales_to_archive): Likewise.
12078         (delete_locales_from_archive): Likewise.
12079         * malloc/malloc.c (__libc_mallinfo): Likewise.
12080         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12081         * misc/tsearch.c (__tfind): Likewise.
12082         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12083         * nptl/pthread_attr_getdetachstate.c
12084         (__pthread_attr_getdetachstate): Likewise.
12085         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12086         Likewise.
12087         * nptl/pthread_attr_getinheritsched.c
12088         (__pthread_attr_getinheritsched): Likewise.
12089         * nptl/pthread_attr_getschedparam.c
12090         (__pthread_attr_getschedparam): Likewise.
12091         * nptl/pthread_attr_getschedpolicy.c
12092         (__pthread_attr_getschedpolicy): Likewise.
12093         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12094         Likewise.
12095         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12096         Likewise.
12097         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12098         Likewise.
12099         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12100         Likewise.
12101         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12102         (__pthread_attr_init_2_0): Likewise.
12103         * nptl/pthread_attr_setdetachstate.c
12104         (__pthread_attr_setdetachstate): Likewise.
12105         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12106         Likewise.
12107         * nptl/pthread_attr_setinheritsched.c
12108         (__pthread_attr_setinheritsched): Likewise.
12109         * nptl/pthread_attr_setschedparam.c
12110         (__pthread_attr_setschedparam): Likewise.
12111         * nptl/pthread_attr_setschedpolicy.c
12112         (__pthread_attr_setschedpolicy): Likewise.
12113         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12114         Likewise.
12115         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12116         Likewise.
12117         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12118         Likewise.
12119         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12120         Likewise.
12121         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12122         Likewise.
12123         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12124         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12125         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12126         use internal_function.
12127         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12128         prototype-style function definition.
12129         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12130         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12131         internal_function.
12132         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12133         Convert to prototype-style function definition.
12134         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12135         Likewise.
12136         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12137         Likewise.
12138         (__pthread_mutex_unlock): Likewise.
12139         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12140         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12141         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12142         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12143         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12144         * nss/makedb.c (process_input): Likewise.
12145         * posix/fnmatch.c (__strchrnul): Likewise.
12146         (__wcschrnul): Likewise.
12147         (fnmatch): Likewise.
12148         * posix/fnmatch_loop.c (FCT): Likewise.
12149         * posix/glob.c (globfree): Likewise.
12150         (__glob_pattern_type): Likewise.
12151         (__glob_pattern_p): Likewise.
12152         * posix/regcomp.c (re_compile_pattern): Likewise.
12153         (re_set_syntax): Likewise.
12154         (re_compile_fastmap): Likewise.
12155         (regcomp): Likewise.
12156         (regerror): Likewise.
12157         (regfree): Likewise.
12158         * posix/regexec.c (regexec): Likewise.
12159         (re_match): Likewise.
12160         (re_search): Likewise.
12161         (re_match_2): Likewise.
12162         (re_search_2): Likewise.
12163         (re_search_stub): Likewise.  Use internal_function
12164         (re_copy_regs): Likewise.
12165         (re_set_registers): Convert to prototype-style function
12166         definition.
12167         (prune_impossible_nodes): Likewise.  Use internal_function.
12168         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12169         prototype-style function definition.
12170         (inet_net_pton_ipv4): Likewise.
12171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12172         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12173         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12174         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12175         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12176         Make variadic.
12177         * time/strptime_l.c (localtime_r): Convert to prototype-style
12178         function definition.
12179         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12180         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12181         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12182         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12184         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12185         definition.
12186         (_ufc_doit_r): Likewise.
12187         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12188         (_ufc_output_conversion_r): Likewise.
12189         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12190         * inet/rcmd.c (rcmd_af): Likewise.
12191         (rcmd): Likewise.
12192         (ruserok_af): Likewise.
12193         (ruserok): Likewise.
12194         (ruserok2_sa): Likewise.
12195         (ruserok_sa): Likewise.
12196         (iruserok_af): Likewise.
12197         (iruserok): Likewise.
12198         (__ivaliduser): Likewise.
12199         (__validuser2_sa): Likewise.
12200         * inet/rexec.c (rexec_af): Likewise.
12201         (rexec): Likewise.
12202         * inet/ruserpass.c (ruserpass): Likewise.
12203         * locale/programs/xmalloc.c (xcalloc): Likewise.
12204         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12205         * math/w_drem.c (__drem): Likewise.
12206         * math/w_dremf.c (__dremf): Likewise.
12207         * math/w_dreml.c (__dreml): Likewise.
12208         * misc/daemon.c (daemon): Likewise.
12209         * resolv/res_debug.c (p_fqnname): Likewise.
12210         * stdlib/div.c (div): Likewise.
12211         * string/memcmp.c (memcmp_bytes): Likewise.
12212         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12213         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12215         * crypt/cert.c (main): Convert to prototype-style function
12216         definition.
12217         * io/pipe.c (__pipe): Likewise.
12218         * io/pipe2.c (__pipe2): Likewise.
12219         * misc/futimesat.c (futimesat): Likewise.
12220         * misc/utimes.c (__utimes): Likewise.
12221         * posix/execve.c (__execve): Likewise.
12222         * posix/execvp.c (execvp): Likewise.
12223         * posix/execvpe.c (__execvpe): Likewise.
12224         * posix/fexecve.c (fexecve): Likewise.
12225         * socket/socketpair.c (socketpair): Likewise.
12226         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12227         * stdlib/erand48.c (erand48): Likewise.
12228         * stdlib/erand48_r.c (__erand48_r): Likewise.
12229         * stdlib/jrand48.c (jrand48): Likewise.
12230         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12231         * stdlib/lcong48.c (lcong48): Likewise.
12232         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12233         * stdlib/nrand48.c (nrand48): Likewise.
12234         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12235         * stdlib/seed48.c (seed48): Likewise.
12236         * stdlib/seed48_r.c (__seed48_r): Likewise.
12237         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12238         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12239         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12241 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12243         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12244         * configure: Regenerated.
12245         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12246         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12247         unconditional.
12248         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12249         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12250         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12251         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12252         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12253         unconditional.
12254         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12256         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12257         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12259         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12260         function definition.
12261         * crypt/crypt_util.c (__encrypt_r): Likewise.
12262         * libio/genops.c (_IO_no_init): Likewise.
12263         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12264         (_IO_old_fopencookie): Likewise.
12265         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12266         * libio/iogetline.c (_IO_getline): Likewise.
12267         (_IO_getline_info): Likewise.
12268         * libio/iogetwline.c (_IO_getwline): Likewise.
12269         (_IO_getwline_info): Likewise.
12270         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12271         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12272         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12273         (find_entry): Likewise.
12274         (iterate_table): Likewise.
12275         (lookup): Likewise.
12276         * login/forkpty.c (forkpty): Likewise.
12277         * misc/hsearch_r.c (__hsearch_r): Likewise.
12278         * misc/select.c (__select): Likewise.
12279         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12280         Likewise.
12281         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12282         Likewise.
12283         * nptl/old_pthread_cond_timedwait.c
12284         (__pthread_cond_timedwait_2_0): Likewise.
12285         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12286         * nptl/pthread_barrierattr_getpshared.c
12287         (pthread_barrierattr_getpshared): Likewise.
12288         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12289         Likewise.
12290         * nptl/pthread_mutex_setprioceiling.c
12291         (pthread_mutex_setprioceiling): Likewise.
12292         * nptl/pthread_mutexattr_getprioceiling.c
12293         (pthread_mutexattr_getprioceiling): Likewise.
12294         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12295         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12296         Likewise.
12297         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12298         Likewise.
12299         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12300         Likewise.
12301         * socket/recvfrom.c (__recvfrom): Likewise.
12302         * socket/sendto.c (__sendto): Likewise.
12303         * socket/setsockopt.c (__setsockopt): Likewise.
12304         * stdio-common/_itoa.c (_itoa): Likewise.
12305         * stdio-common/_itowa.c (_itowa): Likewise.
12306         * stdio-common/reg-printf.c (__register_printf_specifier):
12307         Likewise.
12308         (__register_printf_function): Likewise.
12309         * stdio-common/tempname.c (__path_search): Likewise.
12310         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12311         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12312         * stdlib/random_r.c (__initstate_r): Likewise.
12313         * stdlib/setenv.c (__add_to_environ): Likewise.
12314         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12315         * streams/getpmsg.c (getpmsg): Likewise.
12316         * streams/putmsg.c (putmsg): Likewise.
12317         * streams/putpmsg.c (putpmsg): Likewise.
12318         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12319         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12320         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12321         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12322         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12323         * sunrpc/svc_udp.c (cache_get): Likewise.
12324         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12325         * sysdeps/mach/hurd/getcwd.c
12326         (__canonicalize_directory_name_internal): Likewise.
12327         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12328         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12329         * sysdeps/mach/hurd/select.c (__select): Likewise.
12330         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12331         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12332         * sysdeps/sparc/nptl/pthread_barrier_init.c
12333         (__pthread_barrier_init): Likewise.
12334         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12335         (__pthread_cond_timedwait): Likewise.
12336         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12337         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12340         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12341         Likewise.
12342         * sysvipc/semtimedop.c (semtimedop): Likewise.
12343         * time/setitimer.c (__setitimer): Likewise.
12344         * time/strftime_l.c (emacs_strftime): Likewise.
12346 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12348         * config.make.in (have-ssp): Delete.
12349         (stack-protector): New variable.
12350         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12351         cache test for -fstack-protector-strong.  Export stack_protector to
12352         the best ssp flag.
12353         * configure: Regenerated.
12354         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12355         * nscd/Makefile (CFLAGS-nscd): Likewise.
12356         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12358 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12360         [BZ #19122]
12361         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12362         attribute_hidden.
12364 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12366         [BZ #18743]
12367         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12368         code to...
12369         (ELIDE_LOCK): ...here.
12370         (__get_new_count): New function with part of the code from
12371         __elide_lock that updates the value of adapt_count after a
12372         transaction abort.
12373         (__elided_trylock): Moved this code to...
12374         (ELIDE_TRYLOCK): ...here.
12376 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12378         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12379         * configure: Regenerate.
12380         * INSTALL: Regenerate.
12381         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12382         and tweak grammar.
12384 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12386         * login/programs/pt_chown.c: Include signal.h
12387         (main): Clear any signal mask from the parent process.
12389 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12391         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12392         * configure: Regenerated.
12393         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12394         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12395         $(gnu89-inline-CFLAGS).
12397         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12398         test.
12399         (libc_cv_asm_weakext_directive): Likewise.
12400         * configure: Regenerated.
12401         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12402         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12403         * include/libc-symbols.h
12404         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12405         #error.
12406         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12407         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12409         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12410         prototype-style function definition.
12411         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12412         * sysdeps/i386/ffs.c (__ffs): Likewise.
12413         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12414         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12415         Likewise.
12416         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12417         Likewise.
12418         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12419         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12420         Likewise.
12421         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12422         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12423         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12424         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12425         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12426         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12427         * sysdeps/mach/hurd/access.c (__access): Likewise.
12428         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12429         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12430         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12431         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12432         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12433         (cthread_getspecific): Likewise.
12434         (cthread_setspecific): Likewise.
12435         (__libc_getspecific): Likewise.
12436         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12437         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12438         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12439         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12440         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12441         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12442         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12443         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12444         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12445         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12446         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12447         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12448         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12449         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12450         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12451         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12452         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12453         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12454         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12455         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12456         * sysdeps/mach/hurd/link.c (__link): Likewise.
12457         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12458         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12459         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12460         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12461         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12462         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12463         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12464         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12465         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12466         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12467         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12468         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12469         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12470         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12471         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12472         * sysdeps/mach/hurd/send.c (__send): Likewise.
12473         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12474         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12475         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12476         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12477         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12478         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12479         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12480         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12481         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12482         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12483         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12484         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12485         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12486         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12487         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12488         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12489         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12490         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12491         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12492         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12493         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12494         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12495         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12496         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12497         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12498         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12499         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12500         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12501         * sysdeps/posix/alarm.c (alarm): Likewise.
12502         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12503         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12504         * sysdeps/posix/dup.c (__dup): Likewise.
12505         * sysdeps/posix/dup2.c (__dup2): Likewise.
12506         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12507         (main): Likewise.
12508         * sysdeps/posix/flock.c (__flock): Likewise.
12509         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12510         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12511         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12512         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12513         * sysdeps/posix/isatty.c (__isatty): Likewise.
12514         * sysdeps/posix/killpg.c (killpg): Likewise.
12515         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12516         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12517         * sysdeps/posix/raise.c (raise): Likewise.
12518         * sysdeps/posix/remove.c (remove): Likewise.
12519         * sysdeps/posix/rename.c (rename): Likewise.
12520         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12521         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12522         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12523         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12524         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12525         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12526         * sysdeps/posix/sigset.c (sigset): Likewise.
12527         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12528         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12529         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12530         * sysdeps/posix/time.c (time): Likewise.
12531         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12532         (ttyname): Likewise.
12533         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12534         * sysdeps/posix/utime.c (utime): Likewise.
12535         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12536         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12537         Likewise.
12538         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12539         (pthread_spin_trylock): Likewise.
12540         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12541         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12542         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12543         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12544         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12545         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12546         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12547         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12548         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12549         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12550         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12551         * sysdeps/s390/ffs.c (__ffs): Likewise.
12552         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12553         Likewise.
12554         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12555         Likewise.
12556         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12557         Likewise.
12558         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12559         (pthread_barrier_destroy): Likewise.
12560         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12561         (__pthread_barrier_wait): Likewise.
12562         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12563         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12564         (__pthread_barrier_wait): Likewise.
12565         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12566         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12567         (memcmp_not_common_alignment): Likewise.
12568         (MEMCMP): Likewise.
12569         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12570         (_wordcopy_fwd_dest_aligned): Likewise.
12571         (_wordcopy_bwd_aligned): Likewise.
12572         (_wordcopy_bwd_dest_aligned): Likewise.
12573         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12574         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12575         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12576         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12577         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12578         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12579         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12580         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12581         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12582         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12583         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12584         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12585         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12586         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12587         * sysdeps/unix/stime.c (stime): Likewise.
12588         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12589         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12590         Likewise.  Use internal_function.
12591         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12592         Convert to prototype-style function definition.
12593         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12594         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12595         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12596         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12597         Likewise.  Use internal_function.
12598         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12599         prototype-style function definition
12600         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12601         Likewise.
12602         (__getlogin_r): Likewise.
12603         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12605         (__pthread_cond_broadcast): Likewise.
12606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12607         (__pthread_cond_destroy): Likewise.
12608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12609         (__pthread_cond_init): Likewise.
12610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12611         (__pthread_cond_signal): Likewise.
12612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12613         (__pthread_cond_wait): Likewise.
12614         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12615         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12616         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12617         Likewise.
12618         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12619         Likewise.
12620         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12621         Likewise.
12622         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12623         Likewise.
12624         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12626         (__ftruncate64): Likewise.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12628         (truncate64): Likewise.
12629         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12630         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12631         (pthread_getcpuclockid): Likewise.
12632         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12633         Likewise.
12634         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12635         Likewise.
12636         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12637         Likewise.
12638         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12641         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12642         (__libc_sigaction): Likewise.
12643         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12644         Likewise.
12645         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12646         (__sigprocmask): Likewise.
12647         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12648         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12649         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12650         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12651         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12652         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12653         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12654         Likewise.
12655         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12656         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12657         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12658         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12660         Likewise.
12661         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12662         (__sigprocmask): Likewise.
12663         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12664         (cfgetispeed): Likewise.
12665         (cfsetospeed): Likewise.
12666         (cfsetispeed): Likewise.
12667         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12668         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12669         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12670         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12671         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12672         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12673         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12674         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12675         Likewise.
12676         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12677         Likewise.
12678         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12679         Likewise.
12680         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12681         Likewise.
12682         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12684 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12686         sunrpc: Rewrite with explicit TLS access using __thread.
12687         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12688         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12689         directly.
12690         (__rpc_thread_variables): Access thread_rpc_vars directly.
12691         Eliminate redundant assignment of the tvp variable.
12693 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12695         malloc: Rewrite with explicit TLS access using __thread.
12696         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12697         (tsd_setspecific, tsd_getspecific): Remove.
12698         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12699         (tsd_setspecific, tsd_getspecific): Likewise.
12700         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12701         (tsd_setspecific, tsd_getspecific): Likewise.
12702         * malloc/arena.c (thread_arena): New TLS variable.
12703         (arena_key): Remove variable.
12704         (arena_get): Use thread_arena.
12705         (arena_lookup): Remove macro.
12706         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12707         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12708         (_int_new_arena, get_free_list, reused_arena)
12709         (arena_thread_freeres): Use thread_arena.
12710         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12711         tsd_getspecific, tsd_setspecific from safety annotations.
12712         (Allocating Cleared Space): Remove arena_lookup from safety
12713         annotations.
12715 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12717         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12718         struct scratch_buffer instead of extend_alloca.
12720 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12722         * sysdeps/unix/sysv/linux/kernel-features.h
12723         (__ASSUME_SOCK_CLOEXEC): Remove.
12724         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12725         (__have_paccept): Remove unused macro.
12726         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12727         * misc/syslog.c (openlog_internal): Remove fallback code for
12728         !__ASSUME_SOCK_CLOEXEC.
12729         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12730         missing SOCK_CLOEXEC.
12731         * nscd/connections.c (have_sock_cloexec): Remove definition.
12732         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12733         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12734         !__ASSUME_SOCK_CLOEXEC.
12735         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12736         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12737         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12738         definition.
12739         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12740         code for !__ASSUME_SOCK_CLOEXEC.
12742 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12744         [BZ #18982]
12745         * manual/stdio.texi (Variable Arguments Output): Add portability
12746         note, explaining that vfprintf clobbers the va_list pointer.
12748 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12750         * math/libm-test.inc (fabs_test_data): Add more tests.
12751         (fdim_test_data): Likewise.
12752         (fma_test_data): Likewise.
12753         (fmax_test_data): Likewise.
12754         (fmin_test_data): Likewise.
12755         (fmod_test_data): Likewise.
12757 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12759         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12760         data.
12762 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12764         * math/libm-test.inc (ceil_test_data): Add more tests and more
12765         expectations for "inexact".
12766         (floor_test_data): Add more tests.
12767         (round_test_data): Likewise.
12768         (trunc_test_data): Likewise.
12770         * crypt/cert.c (good_bye): Convert to prototype-style function
12771         definition.
12772         (get8): Likewise.
12773         (put8): Likewise.
12774         * crypt/crypt-entry.c (crypt): Likewise.
12775         (__fcrypt): Likewise.
12776         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12777         (_ufc_set_bits): Likewise.
12778         (_ufc_clearmem): Likewise.
12779         (__init_des_r): Likewise.
12780         (shuffle_sb): Likewise.
12781         (shuffle_sb): Likewise.
12782         (_ufc_setup_salt_r): Likewise.
12783         (_ufc_mk_keytab_r): Likewise.
12784         (_ufc_dofinalperm_r): Likewise.
12785         (encrypt): Likewise.
12786         (__setkey_r): Likewise.
12787         (setkey): Likewise.
12788         * crypt/md5.c (md5_init_ctx): Likewise.
12789         (md5_read_ctx): Likewise.
12790         (md5_finish_ctx): Likewise.
12791         (md5_stream): Likewise.
12792         (md5_buffer): Likewise.
12793         (md5_process_bytes): Likewise.
12794         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12795         (__sha256_finish_ctx): Likewise.
12796         (__sha256_process_bytes): Likewise.
12797         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12798         (__sha512_finish_ctx): Likewise.
12799         (__sha512_process_bytes): Likewise.
12800         * ctype/isctype.c (__isctype): Likewise.
12801         * debug/backtrace.c (__backtrace): Likewise.
12802         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12803         * debug/fgets_chk.c (__fgets_chk): Likewise.
12804         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12805         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12806         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12807         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12808         * debug/memset_chk.c (__memset_chk): Likewise.
12809         * debug/strcat_chk.c (__strcat_chk): Likewise.
12810         * debug/strncat_chk.c (__strncat_chk): Likewise.
12811         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12812         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12813         * dirent/dirfd.c (dirfd): Likewise.
12814         * dirent/getdents.c (__getdirentries): Likewise.
12815         * dirent/getdents64.c (getdirentries64): Likewise.
12816         * dirent/rewinddir.c (__rewinddir): Likewise.
12817         * dirent/seekdir.c (seekdir): Likewise.
12818         * dirent/telldir.c (telldir): Likewise.
12819         * elf/sln.c (makesymlinks): Likewise.
12820         (makesymlink): Likewise.
12821         * gmon/gmon.c (__moncontrol): Likewise.
12822         (__monstartup): Likewise.
12823         (write_hist): Likewise.
12824         (write_call_graph): Likewise.
12825         (write_bb_counts): Likewise.
12826         * grp/setgroups.c (setgroups): Likewise.
12827         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12828         * inet/inet_net.c (inet_network): Likewise.
12829         * inet/inet_netof.c (inet_netof): Likewise.
12830         * inet/rcmd.c (rresvport_af): Likewise.
12831         (rresvport): Likewise.
12832         * io/access.c (__access): Likewise.
12833         * io/chdir.c (__chdir): Likewise.
12834         * io/chmod.c (__chmod): Likewise.
12835         * io/chown.c (__chown): Likewise.
12836         * io/close.c (__close): Likewise.
12837         * io/creat.c (creat): Likewise.
12838         * io/creat64.c (creat64): Likewise.
12839         * io/dup.c (__dup): Likewise.
12840         * io/dup2.c (__dup2): Likewise.
12841         * io/dup3.c (__dup3): Likewise.
12842         * io/euidaccess.c (__euidaccess): Likewise.
12843         * io/faccessat.c (faccessat): Likewise.
12844         * io/fchmod.c (__fchmod): Likewise.
12845         * io/fchmodat.c (fchmodat): Likewise.
12846         * io/fchown.c (__fchown): Likewise.
12847         * io/fchownat.c (fchownat): Likewise.
12848         * io/fcntl.c (__fcntl): Likewise.
12849         * io/flock.c (__flock): Likewise.
12850         * io/fts.c (fts_load): Likewise.
12851         (fts_close): Likewise.
12852         (fts_read): Likewise.
12853         (fts_set): Likewise.
12854         (fts_children): Likewise.
12855         (fts_build): Likewise.
12856         (fts_stat): Likewise.
12857         (fts_sort): Likewise.
12858         (fts_alloc): Likewise.
12859         (fts_lfree): Likewise.
12860         (fts_palloc): Likewise.
12861         (fts_padjust): Likewise.
12862         (fts_maxarglen): Likewise.
12863         (fts_safe_changedir): Likewise.
12864         * io/getwd.c (getwd): Likewise.
12865         * io/isatty.c (__isatty): Likewise.
12866         * io/lchown.c (__lchown): Likewise.
12867         * io/link.c (__link): Likewise.
12868         * io/linkat.c (linkat): Likewise.
12869         * io/lseek.c (__libc_lseek): Likewise.
12870         * io/mkdir.c (__mkdir): Likewise.
12871         * io/mkdirat.c (mkdirat): Likewise.
12872         * io/mkfifo.c (mkfifo): Likewise.
12873         * io/mkfifoat.c (mkfifoat): Likewise.
12874         * io/open.c (__libc_open): Likewise.
12875         * io/open64.c (__libc_open64): Likewise.
12876         * io/readlink.c (__readlink): Likewise.
12877         * io/readlinkat.c (readlinkat): Likewise.
12878         * io/rmdir.c (__rmdir): Likewise.
12879         * io/symlink.c (__symlink): Likewise.
12880         * io/symlinkat.c (symlinkat): Likewise.
12881         * io/ttyname.c (ttyname): Likewise.
12882         * io/ttyname_r.c (__ttyname_r): Likewise.
12883         * io/umask.c (__umask): Likewise.
12884         * io/unlink.c (__unlink): Likewise.
12885         * io/unlinkat.c (unlinkat): Likewise.
12886         * io/utime.c (utime): Likewise.
12887         * libio/clearerr.c (clearerr): Likewise.
12888         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12889         * libio/feof.c (_IO_feof): Likewise.
12890         * libio/feof_u.c (feof_unlocked): Likewise.
12891         * libio/ferror.c (_IO_ferror): Likewise.
12892         * libio/ferror_u.c (ferror_unlocked): Likewise.
12893         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12894         * libio/fileno.c (__fileno): Likewise.
12895         * libio/fputc.c (fputc): Likewise.
12896         * libio/fputc_u.c (fputc_unlocked): Likewise.
12897         * libio/fputwc.c (fputwc): Likewise.
12898         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12899         * libio/freopen.c (freopen): Likewise.
12900         * libio/freopen64.c (freopen64): Likewise.
12901         * libio/fseek.c (fseek): Likewise.
12902         * libio/fseeko.c (fseeko): Likewise.
12903         * libio/fseeko64.c (fseeko64): Likewise.
12904         * libio/ftello.c (__ftello): Likewise.
12905         * libio/ftello64.c (ftello64): Likewise.
12906         * libio/fwide.c (fwide): Likewise.
12907         * libio/genops.c (_IO_un_link): Likewise.
12908         (_IO_link_in): Likewise.
12909         (_IO_least_marker): Likewise.
12910         (_IO_switch_to_main_get_area): Likewise.
12911         (_IO_switch_to_backup_area): Likewise.
12912         (_IO_switch_to_get_mode): Likewise.
12913         (_IO_free_backup_area): Likewise.
12914         (_IO_switch_to_put_mode): Likewise.
12915         (__overflow): Likewise.
12916         (__underflow): Likewise.
12917         (__uflow): Likewise.
12918         (_IO_setb): Likewise.
12919         (_IO_doallocbuf): Likewise.
12920         (_IO_default_underflow): Likewise.
12921         (_IO_default_uflow): Likewise.
12922         (_IO_default_xsputn): Likewise.
12923         (_IO_sgetn): Likewise.
12924         (_IO_default_xsgetn): Likewise.
12925         (_IO_sync): Likewise.
12926         (_IO_default_setbuf): Likewise.
12927         (_IO_default_seekpos): Likewise.
12928         (_IO_default_doallocate): Likewise.
12929         (_IO_init): Likewise.
12930         (_IO_old_init): Likewise.
12931         (_IO_default_sync): Likewise.
12932         (_IO_default_finish): Likewise.
12933         (_IO_default_seekoff): Likewise.
12934         (_IO_sputbackc): Likewise.
12935         (_IO_sungetc): Likewise.
12936         (_IO_set_column): Likewise.
12937         (_IO_set_column): Likewise.
12938         (_IO_adjust_column): Likewise.
12939         (_IO_get_column): Likewise.
12940         (_IO_init_marker): Likewise.
12941         (_IO_remove_marker): Likewise.
12942         (_IO_marker_difference): Likewise.
12943         (_IO_marker_delta): Likewise.
12944         (_IO_seekmark): Likewise.
12945         (_IO_unsave_markers): Likewise.
12946         (_IO_nobackup_pbackfail): Likewise.
12947         (_IO_default_pbackfail): Likewise.
12948         (_IO_default_seek): Likewise.
12949         (_IO_default_stat): Likewise.
12950         (_IO_default_read): Likewise.
12951         (_IO_default_write): Likewise.
12952         (_IO_default_showmanyc): Likewise.
12953         (_IO_default_imbue): Likewise.
12954         (_IO_iter_next): Likewise.
12955         (_IO_iter_file): Likewise.
12956         * libio/getc.c (_IO_getc): Likewise.
12957         * libio/getwc.c (_IO_getwc): Likewise.
12958         * libio/iofclose.c (_IO_new_fclose): Likewise.
12959         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12960         * libio/iofflush.c (_IO_fflush): Likewise.
12961         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12962         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12963         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12964         * libio/iofgets.c (_IO_fgets): Likewise.
12965         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12966         * libio/iofgetws.c (fgetws): Likewise.
12967         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12968         * libio/iofopen64.c (_IO_fopen64): Likewise.
12969         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12970         (_IO_cookie_write): Likewise.
12971         (_IO_cookie_seek): Likewise.
12972         (_IO_cookie_close): Likewise.
12973         (_IO_cookie_seekoff): Likewise.
12974         (_IO_old_cookie_seek): Likewise.
12975         * libio/iofputs.c (_IO_fputs): Likewise.
12976         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12977         * libio/iofputws.c (fputws): Likewise.
12978         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12979         * libio/iofread.c (_IO_fread): Likewise.
12980         * libio/iofread_u.c (__fread_unlocked): Likewise.
12981         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12982         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12983         * libio/ioftell.c (_IO_ftell): Likewise.
12984         * libio/iofwrite.c (_IO_fwrite): Likewise.
12985         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12986         * libio/iogets.c (_IO_gets): Likewise.
12987         * libio/iopadn.c (_IO_padn): Likewise.
12988         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12989         (_IO_new_popen): Likewise.
12990         (_IO_new_proc_close): Likewise.
12991         * libio/ioputs.c (_IO_puts): Likewise.
12992         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12993         (_IO_seekoff): Likewise.
12994         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12995         (_IO_seekpos): Likewise.
12996         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12997         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12998         * libio/ioungetc.c (_IO_ungetc): Likewise.
12999         * libio/ioungetwc.c (ungetwc): Likewise.
13000         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13001         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13002         * libio/iowpadn.c (_IO_wpadn): Likewise.
13003         * libio/libc_fatal.c (__libc_fatal): Likewise.
13004         * libio/memstream.c (__open_memstream): Likewise.
13005         (_IO_mem_sync): Likewise.
13006         (_IO_mem_finish): Likewise.
13007         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13008         (_IO_old_file_close_it): Likewise.
13009         (_IO_old_file_finish): Likewise.
13010         (_IO_old_file_fopen): Likewise.
13011         (_IO_old_file_attach): Likewise.
13012         (_IO_old_file_setbuf): Likewise.
13013         (_IO_old_do_write): Likewise.
13014         (old_do_write): Likewise.
13015         (_IO_old_file_underflow): Likewise.
13016         (_IO_old_file_overflow): Likewise.
13017         (_IO_old_file_sync): Likewise.
13018         (_IO_old_file_seekoff): Likewise.
13019         (_IO_old_file_write): Likewise.
13020         (_IO_old_file_xsputn): Likewise.
13021         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13022         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13023         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13024         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13025         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13026         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13027         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13028         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13029         (_IO_old_popen): Likewise.
13030         (_IO_old_proc_close): Likewise.
13031         * libio/oldpclose.c (__old_pclose): Likewise.
13032         * libio/pclose.c (__new_pclose): Likewise.
13033         * libio/peekc.c (_IO_peekc_locked): Likewise.
13034         * libio/putc.c (_IO_putc): Likewise.
13035         * libio/putc_u.c (putc_unlocked): Likewise.
13036         * libio/putchar.c (putchar): Likewise.
13037         * libio/putchar_u.c (putchar_unlocked): Likewise.
13038         * libio/putwc.c (putwc): Likewise.
13039         * libio/putwc_u.c (putwc_unlocked): Likewise.
13040         * libio/putwchar.c (putwchar): Likewise.
13041         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13042         * libio/rewind.c (rewind): Likewise.
13043         * libio/setbuf.c (setbuf): Likewise.
13044         * libio/setlinebuf.c (setlinebuf): Likewise.
13045         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13046         * libio/vscanf.c (_IO_vscanf): Likewise.
13047         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13048         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13049         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13050         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13051         (_IO_switch_to_main_wget_area): Likewise.
13052         (_IO_switch_to_wbackup_area): Likewise.
13053         (_IO_wsetb): Likewise.
13054         (_IO_wdefault_pbackfail): Likewise.
13055         (_IO_wdefault_finish): Likewise.
13056         (_IO_wdefault_uflow): Likewise.
13057         (__woverflow): Likewise.
13058         (__wuflow): Likewise.
13059         (__wunderflow): Likewise.
13060         (_IO_wdefault_xsputn): Likewise.
13061         (_IO_wdefault_xsgetn): Likewise.
13062         (_IO_wdoallocbuf): Likewise.
13063         (_IO_wdefault_doallocate): Likewise.
13064         (_IO_switch_to_wget_mode): Likewise.
13065         (_IO_free_wbackup_area): Likewise.
13066         (_IO_switch_to_wput_mode): Likewise.
13067         (_IO_sputbackwc): Likewise.
13068         (_IO_sungetwc): Likewise.
13069         (_IO_adjust_wcolumn): Likewise.
13070         (_IO_init_wmarker): Likewise.
13071         (_IO_wmarker_delta): Likewise.
13072         (_IO_seekwmark): Likewise.
13073         (_IO_unsave_wmarkers): Likewise.
13074         * libio/wmemstream.c (open_wmemstream): Likewise.
13075         (_IO_wmem_sync): Likewise.
13076         (_IO_wmem_finish): Likewise.
13077         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13078         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13079         * locale/programs/simple-hash.c (init_hash): Likewise.
13080         (delete_hash): Likewise.
13081         (insert_entry): Likewise.
13082         (set_entry): Likewise.
13083         (next_prime): Likewise.
13084         (is_prime): Likewise.
13085         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13086         (xmalloc): Likewise.
13087         (xrealloc): Likewise.
13088         * locale/programs/xstrdup.c (xstrdup): Likewise.
13089         * localedata/collate-test.c (xstrcoll): Likewise.
13090         * localedata/xfrm-test.c (xstrcmp): Likewise.
13091         * login/getlogin_r.c (__getlogin_r): Likewise.
13092         * login/getpt.c (__posix_openpt): Likewise.
13093         * login/login_tty.c (login_tty): Likewise.
13094         * login/setlogin.c (setlogin): Likewise.
13095         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13096         (mach_msg_destroy_port): Likewise.
13097         (mach_msg_destroy_memory): Likewise.
13098         * malloc/mcheck.c (flood): Likewise.
13099         * misc/acct.c (acct): Likewise.
13100         * misc/brk.c (__brk): Likewise.
13101         * misc/chflags.c (chflags): Likewise.
13102         * misc/chroot.c (chroot): Likewise.
13103         * misc/fchflags.c (fchflags): Likewise.
13104         * misc/fstab.c (getfsspec): Likewise.
13105         (getfsfile): Likewise.
13106         * misc/fsync.c (fsync): Likewise.
13107         * misc/ftruncate.c (__ftruncate): Likewise.
13108         * misc/ftruncate64.c (__ftruncate64): Likewise.
13109         * misc/getdomain.c (getdomainname): Likewise.
13110         (getdomainname): Likewise.
13111         * misc/gethostname.c (__gethostname): Likewise.
13112         * misc/getpass.c (getpass): Likewise.
13113         * misc/getttyent.c (skip): Likewise.
13114         (value): Likewise.
13115         * misc/gtty.c (gtty): Likewise.
13116         * misc/hsearch.c (hsearch): Likewise.
13117         (hcreate): Likewise.
13118         * misc/hsearch_r.c (__hcreate_r): Likewise.
13119         (__hdestroy_r): Likewise.
13120         * misc/ioctl.c (__ioctl): Likewise.
13121         * misc/mkdtemp.c (mkdtemp): Likewise.
13122         * misc/mkostemp.c (mkostemp): Likewise.
13123         * misc/mkostemp64.c (mkostemp64): Likewise.
13124         * misc/mkostemps.c (mkostemps): Likewise.
13125         * misc/mkostemps64.c (mkostemps64): Likewise.
13126         * misc/mkstemp.c (mkstemp): Likewise.
13127         * misc/mkstemp64.c (mkstemp64): Likewise.
13128         * misc/mkstemps.c (mkstemps): Likewise.
13129         * misc/mkstemps64.c (mkstemps64): Likewise.
13130         * misc/mktemp.c (__mktemp): Likewise.
13131         * misc/preadv.c (preadv): Likewise.
13132         * misc/preadv64.c (preadv64): Likewise.
13133         * misc/pwritev.c (pwritev): Likewise.
13134         * misc/pwritev64.c (pwritev64): Likewise.
13135         * misc/readv.c (__readv): Likewise.
13136         * misc/revoke.c (revoke): Likewise.
13137         * misc/setdomain.c (setdomainname): Likewise.
13138         * misc/setegid.c (setegid): Likewise.
13139         * misc/seteuid.c (seteuid): Likewise.
13140         * misc/sethostid.c (sethostid): Likewise.
13141         * misc/sethostname.c (sethostname): Likewise.
13142         * misc/setregid.c (__setregid): Likewise.
13143         * misc/setreuid.c (__setreuid): Likewise.
13144         * misc/sstk.c (sstk): Likewise.
13145         * misc/stty.c (stty): Likewise.
13146         * misc/syscall.c (syscall): Likewise.
13147         * misc/syslog.c (setlogmask): Likewise.
13148         * misc/truncate.c (__truncate): Likewise.
13149         * misc/truncate64.c (truncate64): Likewise.
13150         * misc/ualarm.c (ualarm): Likewise.
13151         * misc/usleep.c (usleep): Likewise.
13152         * misc/ustat.c (ustat): Likewise.
13153         * misc/writev.c (__writev): Likewise.
13154         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13155         * nptl/old_pthread_cond_broadcast.c
13156         (__pthread_cond_broadcast_2_0): Likewise.
13157         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13158         Likewise.
13159         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13160         Likewise.
13161         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13162         Likewise.
13163         * nptl/pt-raise.c (raise): Likewise.
13164         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13165         Likewise.
13166         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13167         * nptl/pthread_barrierattr_destroy.c
13168         (pthread_barrierattr_destroy): Likewise.
13169         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13170         Likewise.
13171         * nptl/pthread_barrierattr_setpshared.c
13172         (pthread_barrierattr_setpshared): Likewise.
13173         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13174         Likewise.
13175         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13176         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13177         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13178         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13179         Likewise.
13180         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13181         Likewise.
13182         * nptl/pthread_condattr_getpshared.c
13183         (pthread_condattr_getpshared): Likewise.
13184         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13185         Likewise.
13186         * nptl/pthread_condattr_setpshared.c
13187         (pthread_condattr_setpshared): Likewise.
13188         * nptl/pthread_detach.c (pthread_detach): Likewise.
13189         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13190         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13191         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13192         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13193         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13194         Likewise.
13195         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13196         Likewise.
13197         * nptl/pthread_mutex_getprioceiling.c
13198         (pthread_mutex_getprioceiling): Likewise.
13199         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13200         Likewise.
13201         * nptl/pthread_mutexattr_getprotocol.c
13202         (pthread_mutexattr_getprotocol): Likewise.
13203         * nptl/pthread_mutexattr_getpshared.c
13204         (pthread_mutexattr_getpshared): Likewise.
13205         * nptl/pthread_mutexattr_getrobust.c
13206         (pthread_mutexattr_getrobust): Likewise.
13207         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13208         Likewise.
13209         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13210         Likewise.
13211         * nptl/pthread_mutexattr_setprioceiling.c
13212         (pthread_mutexattr_setprioceiling): Likewise.
13213         * nptl/pthread_mutexattr_setprotocol.c
13214         (pthread_mutexattr_setprotocol): Likewise.
13215         * nptl/pthread_mutexattr_setpshared.c
13216         (pthread_mutexattr_setpshared): Likewise.
13217         * nptl/pthread_mutexattr_setrobust.c
13218         (pthread_mutexattr_setrobust): Likewise.
13219         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13220         Likewise.
13221         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13222         Likewise.
13223         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13224         Likewise.
13225         * nptl/pthread_rwlockattr_getkind_np.c
13226         (pthread_rwlockattr_getkind_np): Likewise.
13227         * nptl/pthread_rwlockattr_getpshared.c
13228         (pthread_rwlockattr_getpshared): Likewise.
13229         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13230         Likewise.
13231         * nptl/pthread_rwlockattr_setkind_np.c
13232         (pthread_rwlockattr_setkind_np): Likewise.
13233         * nptl/pthread_rwlockattr_setpshared.c
13234         (pthread_rwlockattr_setpshared): Likewise.
13235         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13236         Likewise.
13237         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13238         Likewise.
13239         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13240         Likewise.
13241         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13242         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13243         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13244         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13245         * nptl/sem_close.c (sem_close): Likewise.
13246         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13247         * nptl/sem_init.c (__old_sem_init): Likewise.
13248         * nptl/sigaction.c (__sigaction): Likewise.
13249         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13250         * posix/_exit.c (_exit): Likewise.
13251         * posix/alarm.c (alarm): Likewise.
13252         * posix/confstr.c (confstr): Likewise.
13253         * posix/fpathconf.c (__fpathconf): Likewise.
13254         * posix/getgroups.c (__getgroups): Likewise.
13255         * posix/getpgid.c (__getpgid): Likewise.
13256         * posix/group_member.c (__group_member): Likewise.
13257         * posix/pathconf.c (__pathconf): Likewise.
13258         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13259         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13260         * posix/setgid.c (__setgid): Likewise.
13261         * posix/setpgid.c (__setpgid): Likewise.
13262         * posix/setuid.c (__setuid): Likewise.
13263         * posix/sleep.c (__sleep): Likewise.
13264         * posix/sysconf.c (__sysconf): Likewise.
13265         * posix/times.c (__times): Likewise.
13266         * posix/uname.c (__uname): Likewise.
13267         * posix/waitid.c (__waitid): Likewise.
13268         * pwd/getpw.c (__getpw): Likewise.
13269         * resolv/base64.c (b64_pton): Likewise.
13270         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13271         * resolv/gethnamaddr.c (Dprintf): Likewise.
13272         (gethostbyname): Likewise.
13273         (gethostbyname2): Likewise.
13274         (gethostbyaddr): Likewise.
13275         (_sethtent): Likewise.
13276         (_gethtbyname): Likewise.
13277         (_gethtbyname2): Likewise.
13278         (_gethtbyaddr): Likewise.
13279         (map_v4v6_address): Likewise.
13280         (map_v4v6_hostent): Likewise.
13281         (addrsort): Likewise.
13282         (ht_sethostent): Likewise.
13283         (ht_gethostbyname): Likewise.
13284         (ht_gethostbyaddr): Likewise.
13285         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13286         (inet_net_ntop_ipv4): Likewise.
13287         * resolv/inet_neta.c (inet_neta): Likewise.
13288         * resolv/inet_ntop.c (inet_ntop): Likewise.
13289         (inet_ntop4): Likewise.
13290         (inet_ntop6): Likewise.
13291         * resolv/inet_pton.c (__inet_pton): Likewise.
13292         (inet_pton4): Likewise.
13293         (inet_pton6): Likewise.
13294         * resolv/res_debug.c (loc_aton): Likewise.
13295         (loc_ntoa): Likewise.
13296         * resource/getpriority.c (__getpriority): Likewise.
13297         * resource/getrusage.c (__getrusage): Likewise.
13298         * resource/nice.c (nice): Likewise.
13299         * resource/setpriority.c (__setpriority): Likewise.
13300         * resource/setrlimit64.c (setrlimit64): Likewise.
13301         * resource/vlimit.c (vlimit): Likewise.
13302         * resource/vtimes.c (vtimes): Likewise.
13303         * rt/aio_error.c (aio_error): Likewise.
13304         * rt/aio_return.c (aio_return): Likewise.
13305         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13306         * signal/kill.c (__kill): Likewise.
13307         * signal/killpg.c (killpg): Likewise.
13308         * signal/raise.c (raise): Likewise.
13309         * signal/sigaction.c (__sigaction): Likewise.
13310         * signal/sigaddset.c (sigaddset): Likewise.
13311         * signal/sigaltstack.c (sigaltstack): Likewise.
13312         * signal/sigandset.c (sigandset): Likewise.
13313         * signal/sigblock.c (__sigblock): Likewise.
13314         * signal/sigdelset.c (sigdelset): Likewise.
13315         * signal/sigempty.c (sigemptyset): Likewise.
13316         * signal/sigfillset.c (sigfillset): Likewise.
13317         * signal/sighold.c (sighold): Likewise.
13318         * signal/sigignore.c (sigignore): Likewise.
13319         * signal/sigintr.c (siginterrupt): Likewise.
13320         * signal/sigisempty.c (sigisemptyset): Likewise.
13321         * signal/sigismem.c (sigismember): Likewise.
13322         * signal/signal.c (signal): Likewise.
13323         * signal/sigorset.c (sigorset): Likewise.
13324         * signal/sigpause.c (__sigpause): Likewise.
13325         * signal/sigpending.c (sigpending): Likewise.
13326         * signal/sigprocmask.c (__sigprocmask): Likewise.
13327         * signal/sigrelse.c (sigrelse): Likewise.
13328         * signal/sigreturn.c (__sigreturn): Likewise.
13329         * signal/sigset.c (sigset): Likewise.
13330         * signal/sigsetmask.c (__sigsetmask): Likewise.
13331         * signal/sigstack.c (sigstack): Likewise.
13332         * signal/sigsuspend.c (__sigsuspend): Likewise.
13333         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13334         * signal/sysv_signal.c (__sysv_signal): Likewise.
13335         * socket/accept.c (accept): Likewise.
13336         * socket/accept4.c (__libc_accept4): Likewise.
13337         * socket/bind.c (__bind): Likewise.
13338         * socket/connect.c (__connect): Likewise.
13339         * socket/getpeername.c (getpeername): Likewise.
13340         * socket/getsockname.c (__getsockname): Likewise.
13341         * socket/getsockopt.c (getsockopt): Likewise.
13342         * socket/listen.c (__listen): Likewise.
13343         * socket/recv.c (__recv): Likewise.
13344         * socket/recvmsg.c (__recvmsg): Likewise.
13345         * socket/send.c (__send): Likewise.
13346         * socket/sendmsg.c (__sendmsg): Likewise.
13347         * socket/shutdown.c (shutdown): Likewise.
13348         * socket/sockatmark.c (sockatmark): Likewise.
13349         * socket/socket.c (__socket): Likewise.
13350         * stdio-common/ctermid.c (ctermid): Likewise.
13351         * stdio-common/cuserid.c (cuserid): Likewise.
13352         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13353         * stdio-common/remove.c (remove): Likewise.
13354         * stdio-common/rename.c (rename): Likewise.
13355         * stdio-common/renameat.c (renameat): Likewise.
13356         * stdio-common/tempname.c (__gen_tempname): Likewise.
13357         * stdio-common/xbug.c (InitBuffer): Likewise.
13358         (AppendToBuffer): Likewise.
13359         (ReadFile): Likewise.
13360         * stdlib/a64l.c (a64l): Likewise.
13361         * stdlib/drand48_r.c (drand48_r): Likewise.
13362         * stdlib/getcontext.c (getcontext): Likewise.
13363         * stdlib/getenv.c (getenv): Likewise.
13364         * stdlib/l64a.c (l64a): Likewise.
13365         * stdlib/llabs.c (llabs): Likewise.
13366         * stdlib/lldiv.c (lldiv): Likewise.
13367         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13368         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13369         * stdlib/putenv.c (putenv): Likewise.
13370         * stdlib/random.c (__srandom): Likewise.
13371         (__initstate): Likewise.
13372         (__setstate): Likewise.
13373         * stdlib/random_r.c (__srandom_r): Likewise.
13374         (__setstate_r): Likewise.
13375         (__random_r): Likewise.
13376         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13377         * stdlib/setcontext.c (setcontext): Likewise.
13378         * stdlib/setenv.c (setenv): Likewise.
13379         (unsetenv): Likewise.
13380         * stdlib/srand48.c (srand48): Likewise.
13381         * stdlib/srand48_r.c (__srand48_r): Likewise.
13382         * stdlib/swapcontext.c (swapcontext): Likewise.
13383         * stdlib/system.c (__libc_system): Likewise.
13384         * stdlib/tst-strtod.c (expand): Likewise.
13385         * stdlib/tst-strtol.c (expand): Likewise.
13386         * stdlib/tst-strtoll.c (expand): Likewise.
13387         * streams/fattach.c (fattach): Likewise.
13388         * streams/fdetach.c (fdetach): Likewise.
13389         * streams/getmsg.c (getmsg): Likewise.
13390         * streams/isastream.c (isastream): Likewise.
13391         * string/ffs.c (__ffs): Likewise.
13392         * string/ffsll.c (ffsll): Likewise.
13393         * string/memcmp.c (memcmp_common_alignment): Likewise.
13394         (memcmp_not_common_alignment): Likewise.
13395         (MEMCMP): Likewise.
13396         * string/memcpy.c (memcpy): Likewise.
13397         * string/memmove.c (MEMMOVE): Likewise.
13398         * string/memset.c (memset): Likewise.
13399         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13400         * string/strchrnul.c (STRCHRNUL): Likewise.
13401         * string/strerror.c (strerror): Likewise.
13402         * string/strndup.c (__strndup): Likewise.
13403         * string/strverscmp.c (__strverscmp): Likewise.
13404         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13405         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13406         (clnttcp_freeres): Likewise.
13407         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13408         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13409         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13410         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13411         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13412         (xdr_callhdr): Likewise.
13413         * sunrpc/rpcinfo.c (udpping): Likewise.
13414         (tcpping): Likewise.
13415         (pstatus): Likewise.
13416         (pmapdump): Likewise.
13417         (brdcst): Likewise.
13418         (deletereg): Likewise.
13419         (getprognum): Likewise.
13420         (getvers): Likewise.
13421         (get_inet_address): Likewise.
13422         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13423         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13424         (svcudp_stat): Likewise.
13425         (svcudp_recv): Likewise.
13426         (svcudp_reply): Likewise.
13427         (svcudp_getargs): Likewise.
13428         (svcudp_freeargs): Likewise.
13429         (svcudp_destroy): Likewise.
13430         * sunrpc/xdr.c (xdr_bytes): Likewise.
13431         (xdr_netobj): Likewise.
13432         (xdr_string): Likewise.
13433         (xdr_wrapstring): Likewise.
13434         * sunrpc/xdr_float.c (xdr_float): Likewise.
13435         (xdr_double): Likewise.
13436         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13437         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13438         * sysvipc/ftok.c (ftok): Likewise.
13439         * sysvipc/msgctl.c (msgctl): Likewise.
13440         * sysvipc/msgget.c (msgget): Likewise.
13441         * sysvipc/msgrcv.c (msgrcv): Likewise.
13442         * sysvipc/msgsnd.c (msgsnd): Likewise.
13443         * sysvipc/semget.c (semget): Likewise.
13444         * sysvipc/semop.c (semop): Likewise.
13445         * sysvipc/shmat.c (shmat): Likewise.
13446         * sysvipc/shmctl.c (shmctl): Likewise.
13447         * sysvipc/shmdt.c (shmdt): Likewise.
13448         * sysvipc/shmget.c (shmget): Likewise.
13449         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13450         * termios/speed.c (cfgetospeed): Likewise.
13451         (cfgetispeed): Likewise.
13452         (cfsetospeed): Likewise.
13453         (cfsetispeed): Likewise.
13454         * termios/tcflow.c (tcflow): Likewise.
13455         * termios/tcflush.c (tcflush): Likewise.
13456         * termios/tcgetattr.c (__tcgetattr): Likewise.
13457         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13458         * termios/tcgetsid.c (tcgetsid): Likewise.
13459         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13460         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13461         * time/adjtime.c (__adjtime): Likewise.
13462         * time/dysize.c (dysize): Likewise.
13463         * time/ftime.c (ftime): Likewise.
13464         * time/getitimer.c (__getitimer): Likewise.
13465         * time/gettimeofday.c (__gettimeofday): Likewise.
13466         * time/gmtime.c (__gmtime_r): Likewise.
13467         (gmtime): Likewise.
13468         * time/localtime.c (__localtime_r): Likewise.
13469         (localtime): Likewise.
13470         * time/offtime.c (__offtime): Likewise.
13471         * time/settimeofday.c (__settimeofday): Likewise.
13472         * time/stime.c (stime): Likewise.
13473         * time/strftime_l.c (tm_diff): Likewise.
13474         (iso_week_days): Likewise.
13475         * time/strptime.c (strptime): Likewise.
13476         * time/time.c (time): Likewise.
13477         * time/timespec_get.c (timespec_get): Likewise.
13478         * time/tzset.c (tzset_internal): Likewise.
13479         (compute_change): Likewise.
13480         (__tz_compute): Likewise.
13481         * wcsmbs/btowc.c (__btowc): Likewise.
13482         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13483         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13484         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13485         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13486         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13487         * wcsmbs/wcscat.c (__wcscat): Likewise.
13488         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13489         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13490         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13491         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13492         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13493         * wcsmbs/wcslen.c (__wcslen): Likewise.
13494         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13495         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13496         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13497         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13498         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13499         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13500         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13501         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13502         * wcsmbs/wcstok.c (wcstok): Likewise.
13503         * wcsmbs/wctob.c (wctob): Likewise.
13504         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13505         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13506         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13507         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13508         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13509         * wcsmbs/wmemset.c (__wmemset): Likewise.
13510         * wctype/wcfuncs.c (__towlower): Likewise.
13511         (__towupper): Likewise.
13513         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13514         (lll_unlock_elision): Add adapt_count parameter.
13516 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13518         * sysdeps/nptl/configure.ac: Do not give errors based on the
13519         results of top-level configure tests.
13520         * sysdeps/nptl/configure: Regenerated.
13522         * configure.ac (libc_cv_Bgroup): Remove configure test.
13523         * configure: Regenerated.
13524         * config.make.in (have-Bgroup): Remove variable.
13526         * configure.ac (sizeof_long_double): Remove configure test.
13527         * configure: Regenerated.
13528         * config.make.in (sizeof-long-double): Remove variable.
13530         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13531         * configure: Regenerated.
13532         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13533         variable.
13534         (exceptions): Likewise.
13535         * sysdeps/arm/configure: Regenerated.
13536         * config.make.in (exceptions): Remove variable.
13537         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13538         $(exceptions).
13539         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13540         (CFLAGS-vdprintf_chk.c): Likewise.
13541         (CFLAGS-printf_chk.c): Likewise.
13542         (CFLAGS-fprintf_chk.c): Likewise.
13543         (CFLAGS-vprintf_chk.c): Likewise.
13544         (CFLAGS-vfprintf_chk.c): Likewise.
13545         (CFLAGS-gets_chk.c): Likewise.
13546         (CFLAGS-fgets_chk.c): Likewise.
13547         (CFLAGS-fgets_u_chk.c): Likewise.
13548         (CFLAGS-fread_chk.c): Likewise.
13549         (CFLAGS-fread_u_chk.c): Likewise.
13550         (CFLAGS-wprintf_chk.c): Likewise.
13551         (CFLAGS-fwprintf_chk.c): Likewise.
13552         (CFLAGS-vwprintf_chk.c): Likewise.
13553         (CFLAGS-vfwprintf_chk.c): Likewise.
13554         (CFLAGS-fgetws_chk.c): Likewise.
13555         (CFLAGS-fgetws_u_chk.c): Likewise.
13556         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13557         (CFLAGS-fputc.c): Likewise.
13558         (CFLAGS-fputwc.c): Likewise.
13559         (CFLAGS-freopen64.c): Likewise.
13560         (CFLAGS-freopen.c): Likewise.
13561         (CFLAGS-fseek.c): Likewise.
13562         (CFLAGS-fseeko64.c): Likewise.
13563         (CFLAGS-fseeko.c): Likewise.
13564         (CFLAGS-ftello64.c): Likewise.
13565         (CFLAGS-ftello.c): Likewise.
13566         (CFLAGS-fwide.c): Likewise.
13567         (CFLAGS-genops.c): Likewise.
13568         (CFLAGS-getc.c): Likewise.
13569         (CFLAGS-getchar.c): Likewise.
13570         (CFLAGS-getwc.c): Likewise.
13571         (CFLAGS-getwchar.c): Likewise.
13572         (CFLAGS-iofclose.c): Likewise.
13573         (CFLAGS-iofflush.c): Likewise.
13574         (CFLAGS-iofgetpos64.c): Likewise.
13575         (CFLAGS-iofgetpos.c): Likewise.
13576         (CFLAGS-iofgets.c): Likewise.
13577         (CFLAGS-iofgetws.c): Likewise.
13578         (CFLAGS-iofputs.c): Likewise.
13579         (CFLAGS-iofputws.c): Likewise.
13580         (CFLAGS-iofread.c): Likewise.
13581         (CFLAGS-iofsetpos64.c): Likewise.
13582         (CFLAGS-iofsetpos.c): Likewise.
13583         (CFLAGS-ioftell.c): Likewise.
13584         (CFLAGS-iofwrite.c): Likewise.
13585         (CFLAGS-iogetdelim.c): Likewise.
13586         (CFLAGS-iogetline.c): Likewise.
13587         (CFLAGS-iogets.c): Likewise.
13588         (CFLAGS-iogetwline.c): Likewise.
13589         (CFLAGS-ioputs.c): Likewise.
13590         (CFLAGS-ioseekoff.c): Likewise.
13591         (CFLAGS-ioseekpos.c): Likewise.
13592         (CFLAGS-iosetbuffer.c): Likewise.
13593         (CFLAGS-iosetvbuf.c): Likewise.
13594         (CFLAGS-ioungetc.c): Likewise.
13595         (CFLAGS-ioungetwc.c): Likewise.
13596         (CFLAGS-oldfileops.c): Likewise.
13597         (CFLAGS-oldiofclose.c): Likewise.
13598         (CFLAGS-oldiofgetpos64.c): Likewise.
13599         (CFLAGS-oldiofgetpos.c): Likewise.
13600         (CFLAGS-oldiofsetpos64.c): Likewise.
13601         (CFLAGS-oldiofsetpos.c): Likewise.
13602         (CFLAGS-peekc.c): Likewise.
13603         (CFLAGS-putc.c): Likewise.
13604         (CFLAGS-putchar.c): Likewise.
13605         (CFLAGS-putwc.c): Likewise.
13606         (CFLAGS-putwchar.c): Likewise.
13607         (CFLAGS-rewind.c): Likewise.
13608         (CFLAGS-wfileops.c): Likewise.
13609         (CFLAGS-wgenops.c): Likewise.
13610         (CFLAGS-oldiofopen.c): Likewise.
13611         (CFLAGS-iofopen.c): Likewise.
13612         (CFLAGS-iofopen64.c): Likewise.
13613         (CFLAGS-oldtmpfile.c): Likewise.
13614         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13615         (CFLAGS-fprintf.c): Likewise.
13616         (CFLAGS-printf.c): Likewise.
13617         (CFLAGS-vfwprintf.c): Likewise.
13618         (CFLAGS-vfscanf.c): Likewise.
13619         (CFLAGS-vfwscanf.c): Likewise.
13620         (CFLAGS-fscanf.c): Likewise.
13621         (CFLAGS-scanf.c): Likewise.
13622         (CFLAGS-isoc99_vfscanf.c): Likewise.
13623         (CFLAGS-isoc99_vscanf.c): Likewise.
13624         (CFLAGS-isoc99_fscanf.c): Likewise.
13625         (CFLAGS-isoc99_scanf.c): Likewise.
13626         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13627         (CFLAGS-isoc99_fwscanf.c): Likewise.
13628         (CFLAGS-isoc99_vwscanf.c): Likewise.
13629         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13631         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13632         after mkstemp64.
13633         * login/tst-utmp.c (do_prepare): Likewise.
13634         * rt/tst-aio.c (do_prepare): Likewise.
13635         * rt/tst-aio64.c (do_prepare): Likewise.
13637 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13639         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13640         (__lll_lock_elision): Remove adapt_count decrement...
13641         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13642         (__lll_trylock_elision): Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13644         (__lll_unlock_elision): ... to here. And utilize
13645         new adapt_count parameter.
13646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13647         (__lll_unlock_elision): Update to include adapt_count
13648         parameter.
13649         (lll_unlock_elision): Pass pointer to adapt_count
13650         variable.
13652 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13654         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13655         Add elision adapt_count parameter to list of arguments.
13656         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13657         (lll_unlock_elision): Update with new parameter list
13658         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13659         (lll_unlock_elision): Likewise.
13660         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13661         (lll_unlock_elision): Likewise.
13663 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13665         [BZ #19122]
13666         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13667         attribute_hidden.
13669         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13670         attribute_hidden.
13671         [IS_IN (rtld)] (__strdup): Likewise.
13672         [IS_IN (rtld)] (__strerror_r): Likewise.
13673         [IS_IN (rtld)] (__strsep_g): Likewise.
13674         [IS_IN (rtld)] (memchr): Likewise.
13675         [IS_IN (rtld)] (memcmp): Likewise.
13676         [IS_IN (rtld)] (memcpy): Likewise.
13677         [IS_IN (rtld)] (memmove): Likewise.
13678         [IS_IN (rtld)] (memset): Likewise.
13679         [IS_IN (rtld)] (rawmemchr): Likewise.
13680         [IS_IN (rtld)] (stpcpy): Likewise.
13681         [IS_IN (rtld)] (strchr): Likewise.
13682         [IS_IN (rtld)] (strcmp): Likewise.
13683         [IS_IN (rtld)] (strlen): Likewise.
13684         [IS_IN (rtld)] (strnlen): Likewise.
13685         [IS_IN (rtld)] (strsep): Likewise.
13687         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13688         attribute_hidden.
13689         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13691         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13692         attribute_hidden.
13693         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13695         * include/setjmp.h (__longjmp): Add attribute_hidden.
13696         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13698         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13699         Add attribute_hidden.
13701         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13702         [IS_IN (rtld)] (__open): Likewise.
13703         [IS_IN (rtld)] (__fcntl): Likewise.
13705         * include/dirent.h (__opendirat): Add attribute_hidden.
13706         (__getdents): Likewise.
13707         (__getdents64): Likewise.
13708         (__alloc_dir): Likewise.
13709         [IS_IN (rtld)] (__closedir): Likewise.
13710         [IS_IN (rtld)] (__fdopendir): Likewise.
13711         [IS_IN (rtld)] (__readdir): Likewise.
13712         [IS_IN (rtld)] (__readdir64): Likewise.
13713         [IS_IN (rtld)] (__rewinddir): Likewise.
13715         * include/dlfcn.h (_dl_catch_error): Moved to ...
13716         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13717         attribute_hidden.
13719         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13720         (_itoa_word): Likewise.
13722         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13723         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13724         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13725         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13726         (_dl_higher_prime_number): Likewise.
13727         (_dl_debug_printf_c): Likewise.
13728         (_dl_signal_cerror): Likewise.
13729         (_dl_receive_error): Likewise.
13730         (_dl_reloc_bad_type): Likewise.
13731         (_dl_resolve_conflicts): Likewise.
13732         (_dl_check_all_versions): Likewise.
13733         (_dl_check_map_versions): Likewise.
13734         (_dl_sort_fini): Likewise.
13735         (_dl_debug_initialize): Likewise.
13736         (_dl_init_paths): Likewise.
13737         (_dl_show_auxv): Likewise.
13738         (_dl_next_ld_env_entry): Likewise.
13739         (_dl_important_hwcaps): Likewise.
13740         (_dl_load_cache_lookup): Likewise.
13741         (_dl_update_slotinfo): Likewise.
13742         (_dl_show_scope): Likewise.
13744         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13745         attribute_hidden.
13746         (_wordcopy_fwd_dest_aligned): Likewise.
13747         (_wordcopy_bwd_aligned): Likewise.
13748         (_wordcopy_bwd_dest_aligned): Likewise.
13750         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13751         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13752         Likewise.
13753         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13754         Likewise.
13755         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13757 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13759         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13760         GCC 5 requirement.
13762 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13764         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13765         test.
13766         * sysdeps/i386/configure: Regenerated.
13767         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13768         code unconditional.
13770         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13771         test.
13772         (libc_cv_asm_popsection_directive): Likewise.
13773         * configure: Regenerated.
13774         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13775         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13776         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13777         (__make_section_unallocated): Make definition unconditional.
13778         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13779         Remove conditional definition.
13780         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13781         (__make_section_unallocated): Likewise.
13783         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13784         * configure: Regenerated.
13785         * config.make.in (static-libgcc): Remove variable.
13786         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13787         $(static-libgcc).
13788         (build-module-helper): Likewise.
13790         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13791         * configure: Regenerated.
13793 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13795         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13796         (struct char_buffer): New type.
13797         (char_buffer_start, char_buffer_size, char_buffer_error)
13798         (char_buffer_rewind, char_buffer_add): New functions.
13799         (ADDW): Remove macro, replaced by the char_buffer_add function.
13800         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13801         of extend_alloca.  Make control flow more explicit.
13803 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13805         [BZ #19137]
13806         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13807         Add -fomit-frame-pointer.
13808         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13810 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13812         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13813         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13815         only if !__GNUC_PREREQ (5,0).
13816         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13817         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13818         (INTERNAL_SYSCALL_NCS): Likewise.
13819         (LOADREGS_0): New macro for GCC 5.
13820         (ASMARGS_0): Likewise.
13821         (LOADREGS_1): Likewise.
13822         (ASMARGS_1): Likewise.
13823         (LOADREGS_2): Likewise.
13824         (ASMARGS_2): Likewise.
13825         (LOADREGS_3): Likewise.
13826         (ASMARGS_3): Likewise.
13827         (LOADREGS_4): Likewise.
13828         (ASMARGS_4): Likewise.
13829         (LOADREGS_5): Likewise.
13830         (ASMARGS_5): Likewise.
13831         (LOADREGS_6): Likewise.
13832         (ASMARGS_6): Likewise.
13834 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13836         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13837         -fomit-frame-pointer.
13838         (CFLAGS-mmap64.c): Likewise.
13839         (CFLAGS-semtimedop.c): Likewise.
13840         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13841         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13842         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13843         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13845 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13847         [BZ #18928]
13848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13849         _dl_pointer_guard member.
13850         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13851         initializer.
13852         (security_init): Always set up pointer guard.
13853         (process_envvars): Do not process LD_POINTER_GUARD.
13855 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13857         [BZ #19134]
13858         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13859         (.LC2): Likewise.
13860         (.LC3): Likewise.
13861         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13863 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13865         [BZ #19129]
13866         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13867         r0 and r1.
13869 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13871         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13873 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13875         * include/stap-probe.h: Fix macro definition formatting.
13877 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13879         [BZ #19074]
13880         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13881         load and store num_ifs.
13883 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13885         [BZ #18822]
13886         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13887         (__sched_getaffinity_new): Add libc_hidden_proto and
13888         libc_hidden_def.
13890 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13892         [BZ #19007]
13893         * scripts/localplt.awk: Also allow GOT references.
13894         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13895         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13896         with "+ REL R_386_GLOB_DAT".
13897         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13898         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13900 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13902         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13903         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13904         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13905         Likewise.
13906         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13907         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13908         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13909         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13910         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13911         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13912         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13913         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13914         Likewise.
13915         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13917 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13919         [BZ #19125]
13920         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13921         <math_private.h> and <stdint.h>.
13922         (__llround): Avoid conversions to and from long long int, and
13923         subtractions, where those might raise spurious exceptions.
13924         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13925         <math_private.h> and <stdint.h>.
13926         (__llroundf): Avoid conversions to and from long long int, and
13927         subtractions, where those might raise spurious exceptions.
13929 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13931         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13932         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13933         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13934         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13935         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13936         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13937         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13938         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13939         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13940         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13941         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13942         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13943         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13944         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13945         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13946         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13947         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13948         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13949         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13950         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13951         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13952         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13953         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13954         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13955         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13956         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13957         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13958         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13959         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13960         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13961         (__xstat64_conv): Likewise.
13962         (__xstat32_conv): Likewise.
13964 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13966         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13967         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13968         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13969         <sysdeps/unix/sysv/linux/sysdep.h>.
13970         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13971         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13972         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13973         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13974         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13975         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13976         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13977         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13978         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13984         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13986         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13987         (sysdep-dl-routines): Add sysdep.
13988         [$(subdir) == nptl] (libpthread-routines): Likewise.
13989         [$(subdir) == rt] (librt-routines): Likewise.
13990         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13991         PIC when branching to SYSCALL_ERROR_LABEL.
13992         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13994         <sysdeps/unix/sysv/linux/sysdep.h>.
13995         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13996         (SYSCALL_ERROR_ERRNO): Removed.
13997         (SYSCALL_ERROR_HANDLER): Changed to empty.
13998         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13999         (__syscall_error): New prototype.
14000         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14001         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14003 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14005         [BZ #19124]
14006         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14007         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14008         _dl_runtime_resolve_avx.
14009         (_dl_runtime_profile_avx512): Make it a hidden alias of
14010         _dl_runtime_profile_avx.
14012 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14014         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14015         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14016         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14017         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14019         [BZ #16422]
14020         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14021         New configure test.
14022         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14023         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14024         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14025         <math_private.h> and <stdint.h>.
14026         (__llrint): Avoid conversions to long long int where those might
14027         raise spurious exceptions.
14028         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14029         <math_private.h> and <stdint.h>.
14030         (__llrintf): Avoid conversions to long long int where those might
14031         raise spurious exceptions.
14033 2015-10-12  Andreas Schwab  <schwab@suse.de>
14035         [BZ #18969]
14036         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14037         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14038         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14039         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14040         $(gen-locales).
14041         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14042         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14043         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14044         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14045         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14046         $(gen-locales).
14047         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14048         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14049         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14050         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14051         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14052         ($(objpfx)tst-ftell-active-handler.out)
14053         ($(objpfx)tst-ftell-append.out)
14054         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14055         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14056         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14057         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14058         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14059         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14060         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14061         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14062         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14063         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14064         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14065         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14066         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14067         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14068         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14069         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14070         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14071         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14072         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14073         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14074         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14075         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14076         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14077         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14078         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14079         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14080         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14081         $(gen-locales).
14082         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14083         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14084         $(gen-locales).
14085         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14086         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14087         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14088         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14089         $(gen-locales).
14090         * libio/tst_wprintf2.c (main): Use explicit locale.
14091         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14093 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14095         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14096         __msg_sig_post.
14097         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14099 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14101         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14102         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14104         * sysdeps/arm/libm-test-ulps: Regenerated.
14106         [BZ #15470]
14107         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14109         [BZ #16399]
14110         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14111         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14112         and <fix-fp-int-convert-overflow.h>.
14113         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14114         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14115         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14116         and <fix-fp-int-convert-overflow.h>.
14117         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14118         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14119         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14120         <fix-fp-int-convert-overflow.h>.
14121         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14122         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14123         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14124         <fix-fp-int-convert-overflow.h>.
14125         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14126         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14127         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14128         and <fix-fp-int-convert-overflow.h>.
14129         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14130         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14131         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14132         <limits.h> and <fix-fp-int-convert-overflow.h>.
14133         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14134         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14135         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14136         and <fix-fp-int-convert-overflow.h>.
14137         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14138         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14139         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14140         and <fix-fp-int-convert-overflow.h>.
14141         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14142         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14143         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14145 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14147         [BZ #18589]
14148         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14149         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14150         $(gen-locales).
14152 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14153             Phil Blundell <pb@pbcl.net>
14155         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14156         * nptl/tst-cancel26.c: New file.
14157         * nptl/tst-cancel27.c: Likewise.
14159 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14161         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14162         __ILP32__ isn't defined.
14163         (lrint): Likewise.
14164         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14165         (lrintf): Likewise.
14166         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14167         (lrintl): Likewise.
14168         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14169         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14170         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14172 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14174         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14175         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14177         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14178         file.
14179         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14180         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14182 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14184         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14185         configure test.
14186         * sysdeps/i386/configure: Regenerated.
14187         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14188         configure test.
14189         * sysdeps/x86_64/configure: Regenerated.
14190         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14191         Make code unconditional.
14193         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14194         test.
14195         * sysdeps/i386/configure: Regenerated.
14196         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14197         test.
14198         * sysdeps/x86_64/configure: Regenerated.
14199         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14200         Make code unconditional.
14201         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14202         Likewise.
14203         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14204         Likewise.
14205         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14206         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14207         code unconditional.
14208         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14209         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14210         code unconditional.
14211         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14212         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14213         code unconditional.
14214         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14215         code unconditional.
14216         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14217         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14218         code unconditional.
14219         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14220         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14221         code unconditional.
14222         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14223         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14224         code unconditional.
14225         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14226         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14227         code unconditional.
14228         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14229         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14231         [BZ #19095]
14232         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14233         mantissa to long int before shifting left.
14235 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #19094]
14238         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14239         <limits.h>.
14240         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14241         when result overflows but exception would not result from cast.
14242         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14243         <limits.h>.
14244         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14245         when result overflows but exception would not result from cast.
14246         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14247         <limits.h>.
14248         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14249         when result overflows but exception would not result from cast.
14250         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14251         <limits.h>.
14252         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14253         when result overflows but exception would not result from cast.
14254         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14255         <limits.h>.
14256         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14257         when result overflows but exception would not result from cast.
14258         * math/libm-test.inc (lrint_test_data): Add more tests.
14259         (llrint_test_data): Likewise.
14261 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14263         [BZ #18872]
14264         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14265         Move out from under [$(run-built-tests) = yes] conditional.
14266         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14267         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14269 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14271         [BZ #18589]
14272         * string/Makefile (tests): Add bug-strcoll2.
14273         (LOCALES): Add cs_CZ.UTF-8.
14274         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14276         [BZ #18589]
14277         * string/bug-strcoll2.c: New file.
14278         * locale/categories.def: Revert commit
14279         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14280         * locale/langinfo.h: Likewise.
14281         * locale/localeinfo.h: Likewise.
14282         * locale/C-collate.c: Likewise.
14283         * locale/programs/ld-collate.c (collate_output): Likewise.
14284         * string/strcoll_l.c (STRDIFF): Likewise.
14285         (STRCOLL): Likewise.
14286         * wcsmbs/wcscoll_l.c: Likewise.
14288 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14290         * math/libm-test.inc (lround_test_data): Do not expect the absence
14291         of "inexact" for some tests with non-integer arguments.
14292         (llround_test_data): Likewise.
14294         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14295         test.
14296         (libc_cv_cc_sse2avx): Likewise.
14297         * sysdeps/i386/configure: Regenerated.
14298         * sysdeps/i386/i686/multiarch/Makefile
14299         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14300         [$(subdir) = math].
14301         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14302         code unconditional.
14303         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14304         Likewise.
14305         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14306         Likewise.
14307         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14308         Likewise.
14309         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14310         test.
14311         (libc_cv_cc_sse2avx): Likewise.
14312         * sysdeps/x86_64/configure: Regenerated.
14313         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14314         unconditional.
14315         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14316         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14317         unconditional.
14318         (_dl_runtime_profile)
14319         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14320         conditional code.
14321         * sysdeps/x86_64/fpu/multiarch/Makefile
14322         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14324         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14325         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14326         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14327         * sysdeps/x86_64/fpu/multiarch/e_log.c
14328         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14329         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14330         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14331         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14332         Likewise.
14333         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14334         Likewise.
14335         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14336         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14337         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14338         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14339         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14340         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14341         (HAVE_SSE2AVX_SUPPORT): Likewise.
14343 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14345         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14346         instead of #pragma optimize.
14348 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14350         [BZ #17195]
14351         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14352         as is similarly done in systrim and _int_free already.
14354 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14356         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14358 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14360         [BZ #19088]
14361         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14362         <limits.h>.
14363         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14364         overflows but exception would not result from cast.
14365         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14366         and <limits.h>.
14367         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14368         overflows but exception would not result from cast.
14369         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14370         <limits.h>.
14371         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14372         overflows but exception would not result from cast.
14373         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14374         <limits.h>.
14375         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14376         overflows but exception would not result from cast.
14377         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14378         <limits.h>.
14379         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14380         overflows but exception would not result from cast.
14381         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14382         <limits.h>.
14383         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14384         overflows but exception would not result from cast.
14385         * math/libm-test.inc (lround_test_data): Add more tests.
14386         (llround_test_data): Likewise.
14388 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14390         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14391         (CFLAGS-ialloc.c): Ditto.
14392         (CFLAGS-scheck.c): Ditto.
14394 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14396         [BZ #19086]
14397         * manual/filesys.texi (Storage Allocation): Fix argument order for
14398         posix_fallocate64.
14400 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14402         [BZ #19085]
14403         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14404         exponent below 48 inside case for non-overflowing exponent.
14405         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14407 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14409         * iconvdata/cp737.h (from_idx): Add const.
14410         * iconvdata/cp775.h (from_idx): Likewise.
14412 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14414         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14415         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14416         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14418         [BZ #19079]
14419         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14420         file, conditioned on [!_LP64].
14421         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14422         [!_LP64] (__lround): Do not define as function or alias.
14423         [!_LP64] (lround): Likewise.
14424         [!_LP64] (__lroundl): Likewise.
14425         [!_LP64] (lroundl): Likewise.
14426         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14427         macro.
14428         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14429         Likewise.
14431 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14433         * math/libm-test.inc (lrint_test_data): Add more tests.
14434         (llrint_test_data): Likewise.
14435         (lround_test_data): Likewise.
14436         (llround_test_data): Likewise.
14438         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14439         (llrint_test_data): Add tests used for lrint.
14441         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14442         test.
14443         * sysdeps/i386/configure: Regenerated.
14444         * sysdeps/i386/i686/multiarch/Makefile
14445         [$(config-cflags-sse4) = yes]: Make code unconditional.
14446         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14447         Likewise.
14448         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14449         Likewise.
14450         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14451         test.
14452         * sysdeps/x86_64/configure: Regenerated.
14453         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14454         Make code unconditional.
14455         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14456         Likewise.
14457         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14458         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14460         * scripts/rpm2dynsym.sh: Remove file.
14462 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14464         * configure.ac (libc_cv_cxx_thread_local): Define.
14465         * configure: Regenerate.
14466         * config.make.in (have-cxx-thread_local): Define.
14467         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14468         (LDLIBS-tst-thread_local1): Define.
14469         (tests): Add tst-thread_local1.
14470         [have-cxx-thread_local != yes] (tests-unsupported): Add
14471         tst-thread_local1.
14472         * nptl/tst-thread_local1.cc: New file.
14474 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #19078]
14477         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14478         (u_thres): Likewise.
14479         (__expl): Determine whether to call __kernel_standard_l based on
14480         value of result, not argument.
14482         * math/libm-test.inc (scalb_test_data): Add more expectations for
14483         the "inexact" exception.
14485         [BZ #19077]
14486         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14487         0.0L for argument 1.0L.
14489         [BZ #19076]
14490         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14491         constant 0.0L when computing infinite result.
14493 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14495         [BZ #10432]
14496         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14497         malloc_usable_size.
14499 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14501         [BZ #19018]
14502         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14503         Mangle function pointer before storing it.
14504         (__call_tls_dtors): Demangle function pointer before calling it.
14506 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14508         [BZ #19012]
14509         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14510         Clean up on failure.
14512 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14514         [BZ #19071]
14515         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14516         long int variable to store possibly incremented high part of
14517         mantissa.
14518         * math/libm-test.inc (lround_test_data): Add tests used for
14519         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14520         for tests requiring 64-bit long.  Do not condition tests on
14521         [TEST_FLOAT] unnecessarily.
14522         (llround_test_data): Add tests used for lround.  Add another
14523         expectation for the "inexact" exception.  Do not condition tests
14524         on [TEST_FLOAT] unnecessarily.
14526         [BZ #887]
14527         [BZ #19049]
14528         [BZ #19050]
14529         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14530         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14531         <fix-int-fp-convert-zero.h>.
14532         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14533         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14534         <fix-int-fp-convert-zero.h>.
14535         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14536         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14537         <fix-int-fp-convert-zero.h>.
14538         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14539         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14540         <fix-int-fp-convert-zero.h>.
14541         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14542         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14543         <fix-int-fp-convert-zero.h>.
14544         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14545         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14546         <fix-int-fp-convert-zero.h>.
14547         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14548         * sysdeps/ieee754/flt-32/s_erff.c: Include
14549         <fix-int-fp-convert-zero.h>.
14550         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14551         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14552         <fix-int-fp-convert-zero.h>.
14553         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14555         <fix-int-fp-convert-zero.h>.
14556         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14557         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14558         <fix-int-fp-convert-zero.h>.
14559         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14560         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14561         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14562         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14563         file.
14564         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14566 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14570 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14572         [BZ #19059]
14573         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14574         overflowing computation.
14575         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14576         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14578         Likewise.
14579         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14580         Likewise.
14581         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14582         Likewise.
14583         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14584         Likewise.
14585         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14586         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14587         Likewise.
14588         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14589         Likewise.
14590         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14592         * nss/rewrite_field.c (__nss_rewrite_field): Use
14593         internal_function.
14594         * nss/valid_field.c (__nss_valid_field): Likewise.
14595         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14597 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14599         [BZ #18724]
14600         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14601         (__nss_invalid_field_characters, __nss_valid_field)
14602         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14603         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14604         tst-field.c: New file.
14605         * nss/Makefile (routines): Add valid_field, rewrite_field.
14606         (tests-static): Define unconditionally.
14607         (tests): Include tests-static.
14608         [build-static-nss] (tests-static): Use append.
14609         [build-static-nss] (tests): Remove modification.
14610         * nss/getent.c (print_group): Call putgrent.  Report error.
14611         (print_gshadow): Call putsgent.  Report error.
14612         (print_passwd): Call putpwent.  Report error.
14613         (print_shadow): Call putspent.  Report error.
14614         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14615         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14616         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14617         name, password, directory, shell fields for valid syntax.  Rewrite
14618         GECOS field to match syntax.
14619         * pwd/Makefile (tests): Add tst-putpwent.
14620         * pwd/tst-putpwent.c: New file.
14621         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14622         Check grName, grpasswd, gr_mem fields for valid syntax.
14623         Change loop variable i to size_t.
14624         * grp/Makefile (tests): Add tst-putgrent.
14625         * grp/tst-putgrent.c: New file.
14626         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14627         valid syntax.
14628         * shadow/Makefile (tests): Add tst-putspent.
14629         * shadow/tst-putspent.c: New file.
14630         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14631         sg_mem fields for valid syntax.
14632         * gshadow/Makefile (tests): Add tst-putsgent.
14633         * gshadow/tst-putsgent.c: New file.
14635 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14637         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14638         assembly instructions.
14640 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14642         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14643         prefix from operands.
14645 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14647         [BZ #16347]
14648         [BZ #19046]
14649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14650         <libc-internal.h>.
14651         (MAXLGM): Do not use diagnostic control macros.
14652         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14653         threshold for ldbl-128ibm.
14654         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14655         instead of multiplying by log then subtracting.
14656         * math/auto-libm-test-in: Add more tests of lgamma.
14657         * math/auto-libm-test-out: Regenerated.
14659         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14660         (TYPE_HEX_DIG): Likewise.
14661         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14662         precisions when printing floating-point numbers.
14663         (check_float_internal): Likewise.
14665 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #16620]
14668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14669         of log (10) rounded downward to 48 bits.
14670         (log10_low): Use corresponding low part of log (10).
14672         [BZ #19032]
14673         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14674         compute result as (x - x) / (x - x) not as 0 / 0.
14675         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14676         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14678         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14679         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14680         and expm1.
14681         * math/auto-libm-test-out: Regenerated.
14682         * math/libm-test.inc (acos_test_data): Add more tests.
14683         (asin_test_data): Likewise.
14684         (asinh_test_data): Likewise.
14685         (atan_test_data): Likewise.
14686         (atanh_test_data): Likewise.
14687         (atan2_test_data): Likewise.
14688         (cbrt_test_data): Likewise.
14689         (ceil_test_data): Likewise.
14690         (copysign_test_data): Likewise.
14691         (cos_test_data): Likewise.
14692         (cosh_test_data): Likewise.
14693         (erf_test_data): Likewise.
14694         (erfc_test_data): Likewise.
14695         (exp_test_data): Likewise.
14696         (exp10_test_data): Likewise.
14697         (exp2_test_data): Likewise.
14698         (expm1_test_data): Likewise.
14699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14701 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14703         [BZ #19006]
14704         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14705         to ...
14706         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14707         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14708         to ...
14709         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14710         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14711         to ...
14712         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14713         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14714         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14715         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14716         to ...
14717         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14718         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14719         Moved to ...
14720         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14721         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14722         Moved to ...
14723         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14725         to ...
14726         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14727         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14728         Moved to ...
14729         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14730         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14731         to ...
14732         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14733         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14734         Removed.
14735         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14736         Likewise.
14737         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14738         Likewise.
14739         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14740         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14745         Likewise.
14746         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14747         Likewise.
14748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14753         Likewise.
14754         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14755         Likewise.
14756         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14757         Likewise.
14758         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14759         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14760         Likewise.
14761         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14762         Likewise.
14763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14764         Likewise.
14765         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14770         Replace ../i486/pthread_cond_timedwait.S with
14771         ../pthread_cond_timedwait.S.
14773 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14775         * math/libm-test.inc (acos_test_data): Refine expectations for
14776         errno and "inexact" exceptions.
14777         (acosh_test_data): Likewise.
14778         (asin_test_data): Likewise.
14779         (asinh_test_data): Likewise.
14780         (atan_test_data): Likewise.
14781         (atanh_test_data): Likewise.
14782         (atan2_test_data): Likewise.
14783         (cbrt_test_data): Likewise.
14784         (ceil_test_data): Likewise.
14785         (copysign_test_data): Likewise.
14786         (cosh_test_data): Likewise.
14787         (erf_test_data): Likewise.
14788         (erfc_test_data): Likewise.
14789         (exp_test_data): Likewise.
14790         (exp10_test_data): Likewise.
14791         (exp2_test_data): Likewise.
14792         (expm1_test_data): Likewise.
14793         (fabs_test_data): Likewise.
14794         (floor_test_data): Likewise.
14795         (fma_test_data): Likewise.
14796         (fmax_test_data): Likewise.
14797         (fmin_test_data): Likewise.
14798         (fmod_test_data): Likewise.
14799         (fpclassify_test_data): Likewise.
14800         (frexp_test_data): Likewise.
14801         (hypot_test_data): Likewise.
14802         (ilogb_test_data): Likewise.
14803         (isgreater_test_data): Likewise.
14804         (isgreaterequal_test_data): Likewise.
14805         (isinf_test_data): Likewise.
14806         (isless_test_data): Likewise.
14807         (islessequal_test_data): Likewise.
14808         (islessgreater_test_data): Likewise.
14809         (isnan_test_data): Likewise.
14810         (isnormal_test_data): Likewise.
14811         (issignaling_test_data): Likewise.
14812         (isunordered_test_data): Likewise.
14813         (j0_test_data): Likewise.
14814         (j1_test_data): Likewise.
14815         (jn_test_data): Likewise.
14816         (lgamma_test_data): Likewise.
14817         (lrint_test_data): Likewise.
14818         (llrint_test_data): Likewise.
14819         (log_test_data): Likewise.
14820         (log10_test_data): Likewise.
14821         (log1p_test_data): Likewise.
14822         (log2_test_data): Likewise.
14823         (logb_test_data): Likewise.
14824         (lround_test_data): Likewise.
14825         (llround_test_data): Likewise.
14826         (modf_test_data): Likewise.
14827         (nearbyint_test_data): Likewise.
14828         (nextafter_test_data): Likewise.
14829         (nexttoward_test_data): Likewise.
14830         (pow_test_data): Likewise.
14831         (remainder_test_data): Likewise.
14832         (remquo_test_data): Likewise.
14833         (rint_test_data): Likewise.
14834         (round_test_data): Likewise.
14835         (signbit_test_data): Likewise.
14836         (sinh_test_data): Likewise.
14837         (sqrt_test_data): Likewise.
14838         (tanh_test_data): Likewise.
14839         (tgamma_test_data): Likewise.
14840         (trunc_test_data): Likewise.
14841         (y0_test_data): Likewise.
14842         (y1_test_data): Likewise.
14843         (yn_test_data): Likewise.
14844         (significand_test_data): Likewise.
14846 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14848         * manual/filesys.texi (Storage Allocation): Document that
14849         posix_fallocate emulation fails when fd is open with O_WRONLY.
14851 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14853         [BZ #19016]
14854         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14855         allow more cases with X^2 + Y^2 >= 0.5.
14856         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14857         normal element in sum instead of special-casing based on values of
14858         arguments.
14859         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14860         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14861         -1 as normal element in sum instead of special-casing based on
14862         values of arguments.
14863         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14864         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14865         (__x2y2m1): Update comment.
14866         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14867         as normal element in sum instead of special-casing based on values
14868         of arguments.
14869         * math/s_clog.c (__clog): Handle more cases using log1p without
14870         hypot.
14871         * math/s_clog10.c (__clog10): Likewise.
14872         * math/s_clog10f.c (__clog10f): Likewise.
14873         * math/s_clog10l.c (__clog10l): Likewise.
14874         * math/s_clogf.c (__clogf): Likewise.
14875         * math/s_clogl.c (__clogl): Likewise.
14876         * math/auto-libm-test-in: Add more tests of clog and clog10.
14877         * math/auto-libm-test-out: Regenerated.
14878         * sysdeps/i386/fpu/libm-test-ulps: Update.
14879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14881 2015-09-28  Martin Sebor  <msebor@redhat.com>
14883         [BZ #18969]
14884         * string/Makefile (LOCALES): Define.
14885         (gen-locales.mk): Include.
14886         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14887         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14888         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14889         on setlocale failure.
14891 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14893         [BZ #18985]
14894         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14895         (__strftime_internal): Likewise.
14896         * time/tst-strftime.c (do_bz18985): New test.
14897         (do_test): Call it.
14899 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14901         [BZ #18956]
14902         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14903         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14904         extracting high part.
14905         * math/auto-libm-test-in: Add another test of pow.
14906         * math/auto-libm-test-out: Regenerated.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14909 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14911         [BZ #18825]
14912         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14913         New macro.
14914         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14915         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14916         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14917         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14918         DBL_NARROW_EVAL, reloading the PIC register as needed.
14919         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14920         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14921         FLT_NARROW_EVAL.  Use separate return path for case when first
14922         argument is NaN.
14923         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14924         DEFINE_LDBL_MIN.
14925         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14926         PIC register.
14927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14928         math_check_force_underflow_nonneg.
14929         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14930         underflow for subnormal result.
14931         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14932         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14933         math_check_force_underflow_nonneg.
14934         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14935         math_check_force_underflow.
14936         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14937         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14938         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14939         DEFINE_LDBL_MIN.
14940         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14941         * math/auto-libm-test-in: Add more tests of pow.
14942         * math/auto-libm-test-out: Regenerated.
14944 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14946         * nss/bug17079.c (init_test_items): Add diagnostic for
14947         inconsistent entries.
14948         (test_buffer_size): Skip inconsistent entries.
14950 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14952         [BZ #13304]
14953         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14954         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14955         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14957         [BZ #13304]
14958         * sysdeps/microblaze/s_fma.c: New file.
14959         * sysdeps/microblaze/s_fmaf.c: Likewise.
14960         * sysdeps/microblaze/sfp-machine.h: Likewise.
14962 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14964         [BZ #17250]
14965         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14966         member.
14968 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #18803]
14971         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14972         (MO): New macro.
14973         (__ieee754_hypot) [PIC]: Load PIC register.
14974         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14975         DBL_NARROW_EVAL.
14976         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14977         math_check_force_underflow_nonneg in case where result might be
14978         tiny.
14979         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14980         Likewise.
14981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14982         Likewise.
14983         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14984         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14985         * math/auto-libm-test-in: Add more tests of hypot.
14986         * math/auto-libm-test-out: Regenerated.
14988 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14990         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14992 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14994         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14995         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14996         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14997         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14998         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14999         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15000         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15002         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15003         LOAD_PIC_REG.
15005         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15006         (FLT_CHECK_FORCE_UFLOW): Likewise.
15007         (DBL_CHECK_FORCE_UFLOW): Likewise.
15008         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15009         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15010         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15011         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15012         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15013         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15014         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15015         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15016         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15017         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15018         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15019         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15020         (flt_min): Replace with use of DEFINE_FLT_MIN.
15021         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15022         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15023         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15024         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15025         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15026         (flt_min): Replace with use of DEFINE_FLT_MIN.
15027         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15028         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15029         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15030         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15031         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15032         (flt_min): Replace with use of DEFINE_FLT_MIN.
15033         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15034         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15035         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15036         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15037         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15038         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15039         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15040         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15041         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15042         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15043         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15044         (flt_min): Replace with use of DEFINE_FLT_MIN.
15045         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15046         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15047         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15048         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15049         main computation.
15050         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15051         (flt_min): Replace with use of DEFINE_FLT_MIN.
15052         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15053         main computation.
15054         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15055         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15056         (MO): New macro.
15057         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15058         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15059         (flt_min): Replace with use of DEFINE_FLT_MIN.
15060         (MO): New macro.
15061         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15062         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15063         (__log1pl): Use MO.
15065         [BZ #19003]
15066         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15067         $(config-cflags-nofma).
15069 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15071         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15073 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15075         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15076         (TWO127): Likewise.
15078         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15079         (min_of_type): Likewise.
15080         (math_check_force_underflow): Likewise.
15081         (math_check_force_underflow_nonneg): Likewise.
15082         (math_check_force_underflow_complex): Likewise.
15083         * math/e_exp2l.c (__ieee754_exp2l): Use
15084         math_check_force_underflow_nonneg.
15085         * math/k_casinh.c (__kernel_casinh): Likewise.
15086         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15087         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15088         * math/s_catan.c (__catan): Use
15089         math_check_force_underflow_complex.
15090         * math/s_catanf.c (__catanf): Likewise.
15091         * math/s_catanh.c (__catanh): Likewise.
15092         * math/s_catanhf.c (__catanhf): Likewise.
15093         * math/s_catanhl.c (__catanhl): Likewise.
15094         * math/s_catanl.c (__catanl): Likewise.
15095         * math/s_ccosh.c (__ccosh): Likewise.
15096         * math/s_ccoshf.c (__ccoshf): Likewise.
15097         * math/s_ccoshl.c (__ccoshl): Likewise.
15098         * math/s_cexp.c (__cexp): Likewise.
15099         * math/s_cexpf.c (__cexpf): Likewise.
15100         * math/s_cexpl.c (__cexpl): Likewise.
15101         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15102         * math/s_clog10.c (__clog10): Likewise.
15103         * math/s_clog10f.c (__clog10f): Likewise.
15104         * math/s_clog10l.c (__clog10l): Likewise.
15105         * math/s_clogf.c (__clogf): Likewise.
15106         * math/s_clogl.c (__clogl): Likewise.
15107         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15108         * math/s_csinf.c (__csinf): Likewise.
15109         * math/s_csinh.c (__csinh): Likewise.
15110         * math/s_csinhf.c (__csinhf): Likewise.
15111         * math/s_csinhl.c (__csinhl): Likewise.
15112         * math/s_csinl.c (__csinl): Likewise.
15113         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15114         * math/s_csqrtf.c (__csqrtf): Likewise.
15115         * math/s_csqrtl.c (__csqrtl): Likewise.
15116         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15117         * math/s_ctanf.c (__ctanf): Likewise.
15118         * math/s_ctanh.c (__ctanh): Likewise.
15119         * math/s_ctanhf.c (__ctanhf): Likewise.
15120         * math/s_ctanhl.c (__ctanhl): Likewise.
15121         * math/s_ctanl.c (__ctanl): Likewise.
15122         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15123         instead of volatile.
15124         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15125         math_check_force_underflow.
15126         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15127         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15128         volatile when forcing underflow.
15129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15130         math_check_force_underflow_nonneg.
15131         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15132         Likewise.
15133         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15134         math_check_force_underflow.
15135         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15136         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15137         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15138         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15139         math_check_force_underflow_nonneg.
15140         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15141         math_check_force_underflow.
15142         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15144         instead of volatile.
15145         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15146         math_check_force_underflow.
15147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15148         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15149         math_check_force_underflow_nonneg.
15150         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15151         math_check_force_underflow.
15152         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15153         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15154         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15155         math_check_force_underflow_nonneg.
15156         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15157         Likewise.
15158         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15159         math_check_force_underflow.
15160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15161         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15162         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15163         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15164         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15165         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15166         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15167         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15168         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15169         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15170         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15171         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15172         Likewise.
15173         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15174         math_check_force_underflow_nonneg.
15175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15176         Likewise.
15177         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15178         math_check_force_underflow.
15179         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15180         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15181         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15182         Likewise.
15183         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15184         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15185         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15186         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15187         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15188         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15190         instead of volatile.
15191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15192         math_check_force_underflow.
15193         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15195         math_check_force_underflow.
15196         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15197         Likewise.
15198         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15199         Use math_check_force_underflow_nonneg.
15200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15201         math_check_force_underflow.
15202         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15203         Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15205         Likewise.
15206         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15207         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15208         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15212         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15213         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15214         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15215         math_check_force_underflow_nonneg.
15216         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15217         math_check_force_underflow.
15218         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15219         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15220         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15221         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15222         math_check_force_underflow_nonneg.
15223         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15224         math_check_force_underflow.
15225         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15227         instead of volatile.
15228         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15229         math_check_force_underflow.
15231         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15232         * stdlib/strtod_l.c: Include <math_private.h>.
15233         (overflow_value): Use math_narrow_eval.
15234         (underflow_value): Likewise.
15235         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15236         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15237         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15238         (__ieee754_gamma_r): Likewise.
15239         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15240         Likewise.
15241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15242         Likewise.
15243         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15244         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15245         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15246         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15247         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15248         (__ieee754_gammaf_r): Likewise.
15249         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15250         Likewise.
15251         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15252         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15253         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15254         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15255         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15256         volatile.
15257         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15258         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15259         math_narrow_eval.
15260         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15261         Likewise.
15262         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15263         Likewise.
15264         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15265         Likewise.
15266         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15267         volatile.
15268         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15269         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15270         math_narrow_eval.
15271         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15272         Likewise.
15273         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15274         Likewise.
15276 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15278         * nptl/Versions: Remove ignored symbols.
15280 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15282         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15283         * nss/Makefile (tests): Update.
15285 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15287         * nss/bug18287.c: New file.
15288         * nss/Makefile (tests): Add bug18287.
15290 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15292         * mach/Versions (__mach_host_self_): Add symbol.
15294 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15296         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15297         vm_page_size.
15299 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15301         Really fix sysdeps/i386/fpu/s_scalbn.S build
15303         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15304         (libc: GLIBC_2_22): Remove unused version set.
15306 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15308         * config.make.in (enable-timezone-tools): New variable.
15309         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15310         (enable_timezone_tools): Export to generated files.
15311         * configure: Regenerate.
15312         * INSTALL: Regenerate.
15313         * manual/install.texi (--disable-timezone-tools): Document new flag.
15314         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15315         ifeq ($(enable-timezone-tools),yes) check.
15317 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15319         * timezone/Makefile: Revert previous change.
15321         [BZ #18980]
15322         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15323         (DEFINE_DBL_MIN): Likewise.
15324         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15325         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15326         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15327         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15328         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15329         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15330         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15331         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15332         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15333         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15334         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15335         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15336         (flt_min): Replace with use of DEFINE_FLT_MIN.
15337         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15338         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15340         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15341         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15342         (flt_min): Replace with use of DEFINE_FLT_MIN.
15343         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15344         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15345         (flt_min): Replace with use of DEFINE_FLT_MIN.
15346         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15347         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15348         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15349         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15350         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15351         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15352         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15353         (__ieee754_pow): Use DBL_NARROW_EVAL.
15354         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15355         (__ieee754_powf): Use FLT_NARROW_EVAL.
15356         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15357         (__ieee754_expf_sse2): Convert double-precision result to single
15358         precision.
15359         * sysdeps/i386/fpu/libm-test-ulps: Update.
15361 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15363         * timezone/Makefile: Ignore unused variable errors due to private.h
15364         (time_t_min) and (time_t_max).
15365         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15366         Likewise.
15368 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #18981]
15371         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15372         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15373         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15374         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15375         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15376         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15377         (__scalbn): Use DBL_NARROW_EVAL.
15378         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15379         (__scalbnf): Use FLT_NARROW_EVAL.
15381 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15383         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15384         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15385         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15386         * stdio-common/printf_fp.c (___printf_fp):
15387         Use signbit to get the sign. Use isinf macro to allow inlining.
15388         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15389         * stdio-common/printf_size.c (__printf_size): Likewise.
15391 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15393         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15395 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15397         [BZ #18980]
15398         * sysdeps/generic/math_private.h: Include <float.h>.
15399         (math_narrow_eval): New macro.
15400         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15401         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15402         math_narrow_eval on overflowing return value.
15403         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15404         Likewise.
15405         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15406         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15408         Likewise.
15409         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15411 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15413         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15414         * math/Makefile: Remove isinf_ns.c.
15415         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15416         * math/multc3.c (__multc3): Likewise.
15417         * math/s_casin.c (__casin): Likewise.
15418         * math/s_casinf.c (__casinf): Likewise.
15419         * math/s_casinl.c (__casinl): Likewise.
15420         * math/s_cproj.c (__cproj): Likewise.
15421         * math/s_cprojf.c (__cprojf): Likewise.
15422         * math/s_cprojl.c (__cprofl): Likewise.
15423         * math/s_ctan.c (__ctan): Likewise.
15424         * math/s_ctanf.c (__ctanf): Likewise.
15425         * math/s_ctanh.c (__ctanh): Likewise.
15426         * math/s_ctanhf.c (__ctanhf): Likewise.
15427         * math/s_ctanhl.c (__ctanhl): Likewise.
15428         * math/s_ctanl.c (__ctanl): Likewise.
15429         * math/w_fmod.c (__fmod): Likewise.
15430         * math/w_fmodf.c (__fmodf): Likewise.
15431         * math/w_fmodl.c (_fmodl): Likewise.
15432         * math/w_remainder.c (__remainder): Likewise.
15433         * math/w_remainderf.c (__remainderf): Likewise.
15434         * math/w_remainderl.c (__remainderl): Likewise.
15435         * math/w_scalb.c (__scalb): Likewise.
15436         * math/w_scalbf.c (__scalbf): Likewise.
15437         * math/w_scalbl.c (__scalbl): Likewise.
15438         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15439         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15440         with isinf.
15441         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15443         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15444         __isinf_nsf with isinf.
15445         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15446         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15447         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15448         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15449         with isinf.
15450         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15451         __isinf_nsl with isinf.
15452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15453         with isinf.
15454         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15455         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15456         __isinf_nsl with isinf.
15457         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15458         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15459         with isinf.
15461 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15463         * resolv/base64.c (rcsid): Remove unused static.
15464         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15465         static.  (tqpi1): Likewise.
15466         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15467         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15468         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15469         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15471         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15472         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15473         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15474         Likewise.
15476 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15478         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15479         <nptl/pthreadP.h>.
15480         (_longjmp_unwind): Use __libc_ptf_call.
15481         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15483 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15485         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15486         * sysdeps/arm/__longjmp.S: Likewise.
15488 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15490         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15491         Use __builtin_signbit.
15492         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15493         Use __builtin_signbitf.
15494         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15495         Use __builtin_signbitl.
15496         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15497         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15499 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15501         [BZ #15367]
15502         [BZ #17441]
15504         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15505         * math/math.h (fpclassify): Use __builtin_fpclassify when
15506         available.  (signbit): Use __builtin_signbit(f/l).
15507         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15508         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15509         (isinf): Use __builtin_isinf_sign.
15511 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15513         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15514         * benchtests/bench-math-inlines.c: New benchmark.
15515         * benchtests/bench-util.h: New file.
15516         * benchtests/bench-util.c: New file.
15517         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15519 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15521         * elf/tst-dlmopen1.c: Define TEST_SO.
15522         (do_test): Use TEST_SO.
15524         * elf/dl-load.c: Include libc-internal.h.
15525         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15527 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15529         [BZ #17887]
15530         * time/strptime_l.c (__strptime_internal): Make %z accept
15531         [+-]HH:MM time zones.
15533 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15535         [BZ #17886]
15536         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15537         valid time zone.
15539 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15541         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15542         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15543         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15544         (__ASSUME_FDATASYNC): Delete.
15546 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15548         * conform/linknamespace.pl: Require weak undefined symbols to be
15549         in the standard namespace.
15550         (%strong_syms): Rename to %seen_syms.
15551         (%strong_seen): Rename to %seen_where.
15553 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15555         [BZ #18970]
15556         * misc/error.c (error): Replace pthread_setcancelstate with
15557         __pthread_setcancelstate.
15558         (error_at_line): Likewise.
15559         * posix/wordexp.c (parse_comm): Likewise.
15560         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15561         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15562         (__pthread_setcancelstate): This.
15563         (pthread_setcancelstate): Add an alias.
15564         * nptl/nptl-init.c (pthread_functions): Replace
15565         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15566         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15567         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15568         hidden_proto.
15569         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15570         it with hidden_def.
15571         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15572         (pthread_setcancelstate): Renamed to ...
15573         (__pthread_setcancelstate): This.
15574         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15575         __libc_ptf_call with __pthread_setcancelstate.
15577 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15578             Andreas Schwab  <schwab@suse.de>
15580         [BZ #17118]
15581         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15582         result when imaginary part of argument is infinite using sine and
15583         cosine.
15584         * math/s_ctanf.c (__ctanf): Likewise.
15585         * math/s_ctanl.c (__ctanl): Likewise.
15586         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15587         of result when real part of argument is infinite using sine and
15588         cosine.
15589         * math/s_ctanhf.c (__ctanhf): Likewise.
15590         * math/s_ctanhl.c (__ctanhl): Likewise.
15591         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15592         (ctanh_test_data): Add more tests of ctanh.
15594 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15596         [BZ #15384]
15597         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15598         bit-mask as in subtraction.
15599         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15600         Likewise.
15601         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15602         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15603         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15605         [BZ #18951]
15606         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15607         underflow exception for small results.
15608         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15609         Likewise.
15610         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15611         Likewise.
15612         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15613         Likewise.
15614         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15615         Likewise.
15616         * math/auto-libm-test-in: Add more tests of tgamma.
15617         * math/auto-libm-test-out: Regenerated.
15619 2015-09-17  Andreas Schwab  <schwab@suse.de>
15621         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15623 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #18977]
15626         * math/bits/mathcalls.h
15627         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15628         not declare.
15629         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15630         Likewise.
15631         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15632         Likewise.
15633         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15634         Likewise.
15635         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15636         Likewise.
15637         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15638         Likewise.
15639         * conform/data/math.h-data
15640         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15641         function.
15642         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15643         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15644         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15645         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15646         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15647         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15648         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15649         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15650         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15651         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15652         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15654         [BZ #6803]
15655         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15656         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15657         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15658         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15659         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15660         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15661         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15662         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15663         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15665         Likewise.
15666         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15667         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15668         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15670         long_double_symbol calls.
15671         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15672         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15673         strong alias of __ldexpl.
15674         (scalbnl): Define using long_double_symbol.
15675         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15676         Remove alias.
15677         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15678         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15679         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15680         (scalbln_test_data): Add more errno expectations.
15682 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15684         Cache the host port like we cache the task port.  This way we do not
15685         need to call the kernel just to get the port.  Furthermore, we no
15686         longer increase the reference count on every invocation of
15687         `mach_host_self'.
15689         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15690         Protect declarations against the macro expansion.
15691         * mach/mach_init.c (__mach_host_self_): New variable.
15692         (mach_init): Initialize `__mach_host_self_'.
15693         * mach/mach_init.h (__mach_host_self_): New declaration.
15694         (__mach_host_self, mach_host_self): New macros.
15695         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15696         Release reference.
15698 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15700         [BZ #4404]
15701         * po/de.po: Update from Translation Project.
15703         [BZ #16415]
15704         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15705         (__expm1l): Remove code to handle positive infinity and overflow.
15706         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15707         variable.
15708         (__expm1l): Remove code to handle positive infinity and overflow.
15710 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15711             Paul Pluzhnikov  <ppluzhnikov@google.com>
15713         [BZ #18872]
15714         * stdio-common/Makefile (tst-printf-bz18872): New test.
15715         (tst-printf-bz18872-mem.out): Likewise.
15716         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15717         * stdio-common/vfprintf.c: Fix memory leaks.
15719 2015-09-16  Andreas Schwab  <schwab@suse.de>
15721         [BZ #17244]
15722         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15723         Remove extra va_start/va_end calls.
15725         [BZ #17243]
15726         * posix/execl.c (execl): Add missing va_end.
15727         * posix/execle.c (execle): Likewise.
15728         * posix/execlp.c (execlp): Likewise.
15730 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15732         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15733         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15735 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15737         [BZ #18967]
15738         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15739         undefine around includes of <bits/mathcalls.h>.
15740         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15741         not declare function.
15742         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15743         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15744         (scalb): Likewise.
15745         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15746         not define macro.
15747         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15748         variable.
15749         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15750         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15751         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15753         [BZ #18857]
15754         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15755         return non-finite argument without doing ordered comparisons on
15756         it.
15758         [BZ #16296]
15759         * math/fenv.h (fegetround): Use __attribute_pure__.
15760         * include/fenv.h (__fegetround): Likewise.
15762         [BZ #18595]
15763         * math/s_ctan.c (__ctan): Force underflow exception for results
15764         whose real or imaginary part has small absolute value.
15765         * math/s_ctanf.c (__ctanf): Likewise.
15766         * math/s_ctanh.c (__ctanh): Likewise.
15767         * math/s_ctanhf.c (__ctanhf): Likewise.
15768         * math/s_ctanhl.c (__ctanhl): Likewise.
15769         * math/s_ctanl.c (__ctanl): Likewise.
15770         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15771         and ctanh.  Add more tests of ctan and ctanh.
15773         [BZ #15918]
15774         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15775         handling of cases where one argument is an infinity.
15777         [BZ #18875]
15778         [BZ #18966]
15779         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15780         (MO): New macro.
15781         (__ieee754_exp10): For small results, force underflow exception
15782         and remove excess range and precision from return value.
15783         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15784         (MO): New macro.
15785         (__ieee754_exp10f): For small results, force underflow exception
15786         and remove excess range and precision from return value.
15787         * math/auto-libm-test-in: Add more tests of exp10.
15788         * math/auto-libm-test-out: Regenerated.
15790 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15792         [BZ #18875]
15793         [BZ #18961]
15794         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15795         (MO): New macro.
15796         (__ieee754_exp): For small results, force underflow exception and
15797         remove excess range and precision from return value.
15798         (__exp_finite): Likewise.
15799         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15800         (MO): New macro.
15801         (__ieee754_expf): For small results, force underflow exception and
15802         remove excess range and precision from return value.
15803         (__expf_finite): Likewise.
15804         * math/auto-libm-test-in: Add more tests of exp.
15805         * math/auto-libm-test-out: Regenerated.
15807         [BZ #16521]
15808         [BZ #18875]
15809         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15810         small results.
15811         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15812         (MO): New macro.
15813         (__ieee754_exp2): For small results, force underflow exception and
15814         remove excess range and precision from return value.
15815         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15816         (MO): New macro.
15817         (__ieee754_exp2f): For small results, force underflow exception
15818         and remove excess range and precision from return value.
15819         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15820         (MO): New macro.
15821         (__ieee754_exp2l): Force underflow exception for small results.
15822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15823         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15824         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15825         (MO): New macro.
15826         (__ieee754_exp2l): Force underflow exception for small results.
15827         * math/auto-libm-test-in: Add more tests or exp2.
15828         * math/auto-libm-test-out: Regenerated.
15830 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15832         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15834         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15835         /dev/null.
15837 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15839         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15840         io fs process)): Drop spurious backslash.
15842 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15845         Use sysinfo system call instead of parsing /proc/meminfo.
15846         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15847         Likewise.
15849 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15851         [BZ #16985]
15852         * programs/localedef.c (main): Display argv[remaining] when
15853         output_path is NULL.
15855 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15857         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15858         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15859         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15860         tanh.
15861         * math/auto-libm-test-out: Regenerated.
15862         * sysdeps/i386/fpu/libm-test-ulps: Update.
15863         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15864         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15869         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15870         Use 'override' keyword to freeze the value here, preventing
15871         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15873 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #14912]
15876         * sysdeps/aarch64/bits/atomic.h: Move to ...
15877         * sysdeps/aarch64/atomic-machine.h: ...here.
15878         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15879         _AARCH64_ATOMIC_MACHINE_H.
15880         * sysdeps/alpha/bits/atomic.h: Move to ...
15881         * sysdeps/alpha/atomic-machine.h: ...here.
15882         * sysdeps/arm/bits/atomic.h: Move to ...
15883         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15884         * bits/atomic.h: Move to ...
15885         * sysdeps/generic/atomic-machine.h: ...here.
15886         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15887         * sysdeps/i386/bits/atomic.h: Move to ...
15888         * sysdeps/i386/atomic-machine.h: ...here.
15889         * sysdeps/ia64/bits/atomic.h: Move to ...
15890         * sysdeps/ia64/atomic-machine.h: ...here.
15891         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15892         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15893         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15894         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15895         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15896         * sysdeps/microblaze/bits/atomic.h: Move to ...
15897         * sysdeps/microblaze/atomic-machine.h: ...here.
15898         * sysdeps/mips/bits/atomic.h: Move to ...
15899         * sysdeps/mips/atomic-machine.h: ...here.
15900         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15901         * sysdeps/powerpc/bits/atomic.h: Move to ...
15902         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15903         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15904         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15905         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15906         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15907         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15908         <atomic-machine.h> instead of <bits/atomic.h>.
15909         * sysdeps/s390/bits/atomic.h: Move to ...
15910         * sysdeps/s390/atomic-machine.h: ...here.
15911         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15912         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15913         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15914         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15915         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15916         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15917         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15918         * sysdeps/tile/bits/atomic.h: Move to ...
15919         * sysdeps/tile/atomic-machine.h: ...here.
15920         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15921         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15922         <sysdeps/tile/atomic-machine.h> instead of
15923         <sysdeps/tile/bits/atomic.h>.
15924         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15925         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15926         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15927         <sysdeps/tile/atomic-machine.h> instead of
15928         <sysdeps/tile/bits/atomic.h>.
15929         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15930         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15931         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15932         <sysdeps/arm/atomic-machine.h> instead of
15933         <sysdeps/arm/bits/atomic.h>.
15934         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15935         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15936         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15937         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15938         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15939         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15940         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15941         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15942         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15943         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15944         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15945         * sysdeps/x86_64/bits/atomic.h: Move to ...
15946         * sysdeps/x86_64/atomic-machine.h: ...here.
15947         * include/atomic.h: Include <atomic-machine.h> instead of
15948         <bits/atomic.h>.
15950         * sysdeps/mips/mips32/libm-test-ulps: Update.
15951         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15953         [BZ #18952]
15954         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15955         not convert non-integer negative arguments to int to determine the
15956         value of signgam.
15957         * math/auto-libm-test-in: Add more tests of lgamma.
15958         * math/auto-libm-test-out: Regenerated.
15960         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15961         cosh, csqrt, erfc, expm1 and lgamma.
15962         * math/auto-libm-test-out: Regenerated.
15963         * sysdeps/i386/fpu/libm-test-ulps: Update.
15964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15966 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15968         [BZ #2542]
15969         [BZ #2543]
15970         [BZ #2558]
15971         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15972         __lgamma_neg for arguments from -28.0 to -2.0.
15973         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15974         __lgamma_negf for arguments from -15.0 to -2.0.
15975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15976         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15977         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15978         Call __lgamma_negl for arguments from -33.0 to -2.0.
15979         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15980         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15981         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15982         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15983         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15984         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15985         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15988         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15989         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15990         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15991         (__lgamma_neg): Likewise.
15992         (__lgamma_negl): Likewise.
15993         (__lgamma_product): Likewise.
15994         (__lgamma_productl): Likewise.
15995         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15996         * math/auto-libm-test-in: Add more tests of lgamma.
15997         * math/auto-libm-test-out: Regenerated.
15998         * sysdeps/i386/fpu/libm-test-ulps: Update.
15999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16001 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16003         [BZ #18675]
16004         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16006 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16008         [BZ #14912]
16009         * bits/libc-lock.h: Move to ...
16010         * sysdeps/generic/libc-lock.h: ...here.
16011         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16012         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16013         * sysdeps/mach/hurd/libc-lock.h: ...here.
16014         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16015         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16016         * sysdeps/mach/bits/libc-lock.h: Move to ...
16017         * sysdeps/mach/libc-lock.h: ...here.
16018         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16019         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16020         * sysdeps/nptl/libc-lock.h: ...here.
16021         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16022         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16023         * sysdeps/nptl/libc-lockP.h: ...here.
16024         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16025         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16026         <bits/libc-lock.h>.
16027         * dirent/scandir-tail.c: Likewise.
16028         * dlfcn/dlerror.c: Likewise.
16029         * elf/dl-close.c: Likewise.
16030         * elf/dl-iteratephdr.c: Likewise.
16031         * elf/dl-lookup.c: Likewise.
16032         * elf/dl-open.c: Likewise.
16033         * elf/dl-support.c: Likewise.
16034         * elf/dl-writev.h: Likewise.
16035         * elf/rtld.c: Likewise.
16036         * grp/fgetgrent.c: Likewise.
16037         * gshadow/fgetsgent.c: Likewise.
16038         * gshadow/sgetsgent.c: Likewise.
16039         * iconv/gconv_conf.c: Likewise.
16040         * iconv/gconv_db.c: Likewise.
16041         * iconv/gconv_dl.c: Likewise.
16042         * iconv/gconv_int.h: Likewise.
16043         * iconv/gconv_trans.c: Likewise.
16044         * include/link.h: Likewise.
16045         * inet/getnameinfo.c: Likewise.
16046         * inet/getnetgrent.c: Likewise.
16047         * inet/getnetgrent_r.c: Likewise.
16048         * intl/bindtextdom.c: Likewise.
16049         * intl/dcigettext.c: Likewise.
16050         * intl/finddomain.c: Likewise.
16051         * intl/gettextP.h: Likewise.
16052         * intl/loadmsgcat.c: Likewise.
16053         * intl/localealias.c: Likewise.
16054         * intl/textdomain.c: Likewise.
16055         * libidn/idn-stub.c: Likewise.
16056         * libio/libioP.h: Likewise.
16057         * locale/duplocale.c: Likewise.
16058         * locale/freelocale.c: Likewise.
16059         * locale/newlocale.c: Likewise.
16060         * locale/setlocale.c: Likewise.
16061         * login/getutent_r.c: Likewise.
16062         * login/getutid_r.c: Likewise.
16063         * login/getutline_r.c: Likewise.
16064         * login/utmp-private.h: Likewise.
16065         * login/utmpname.c: Likewise.
16066         * malloc/mtrace.c: Likewise.
16067         * misc/efgcvt.c: Likewise.
16068         * misc/error.c: Likewise.
16069         * misc/fstab.c: Likewise.
16070         * misc/getpass.c: Likewise.
16071         * misc/mntent.c: Likewise.
16072         * misc/syslog.c: Likewise.
16073         * nis/nis_call.c: Likewise.
16074         * nis/nis_callback.c: Likewise.
16075         * nis/nss-default.c: Likewise.
16076         * nis/nss_compat/compat-grp.c: Likewise.
16077         * nis/nss_compat/compat-initgroups.c: Likewise.
16078         * nis/nss_compat/compat-pwd.c: Likewise.
16079         * nis/nss_compat/compat-spwd.c: Likewise.
16080         * nis/nss_nis/nis-alias.c: Likewise.
16081         * nis/nss_nis/nis-ethers.c: Likewise.
16082         * nis/nss_nis/nis-grp.c: Likewise.
16083         * nis/nss_nis/nis-hosts.c: Likewise.
16084         * nis/nss_nis/nis-network.c: Likewise.
16085         * nis/nss_nis/nis-proto.c: Likewise.
16086         * nis/nss_nis/nis-pwd.c: Likewise.
16087         * nis/nss_nis/nis-rpc.c: Likewise.
16088         * nis/nss_nis/nis-service.c: Likewise.
16089         * nis/nss_nis/nis-spwd.c: Likewise.
16090         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16091         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16092         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16093         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16094         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16095         * nis/nss_nisplus/nisplus-network.c: Likewise.
16096         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16097         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16098         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16099         * nis/nss_nisplus/nisplus-service.c: Likewise.
16100         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16101         * nis/ypclnt.c: Likewise.
16102         * nptl/libc_pthread_init.c: Likewise.
16103         * nss/getXXbyYY.c: Likewise.
16104         * nss/getXXent.c: Likewise.
16105         * nss/getXXent_r.c: Likewise.
16106         * nss/nss_db/db-XXX.c: Likewise.
16107         * nss/nss_db/db-netgrp.c: Likewise.
16108         * nss/nss_db/nss_db.h: Likewise.
16109         * nss/nss_files/files-XXX.c: Likewise.
16110         * nss/nss_files/files-alias.c: Likewise.
16111         * nss/nsswitch.c: Likewise.
16112         * posix/regex_internal.h: Likewise.
16113         * posix/wordexp.c: Likewise.
16114         * pwd/fgetpwent.c: Likewise.
16115         * resolv/res_hconf.c: Likewise.
16116         * resolv/res_libc.c: Likewise.
16117         * shadow/fgetspent.c: Likewise.
16118         * shadow/lckpwdf.c: Likewise.
16119         * shadow/sgetspent.c: Likewise.
16120         * socket/opensock.c: Likewise.
16121         * stdio-common/reg-modifier.c: Likewise.
16122         * stdio-common/reg-printf.c: Likewise.
16123         * stdio-common/reg-type.c: Likewise.
16124         * stdio-common/vfprintf.c: Likewise.
16125         * stdio-common/vfscanf.c: Likewise.
16126         * stdlib/abort.c: Likewise.
16127         * stdlib/cxa_atexit.c: Likewise.
16128         * stdlib/fmtmsg.c: Likewise.
16129         * stdlib/random.c: Likewise.
16130         * stdlib/setenv.c: Likewise.
16131         * string/strsignal.c: Likewise.
16132         * sunrpc/auth_none.c: Likewise.
16133         * sunrpc/bindrsvprt.c: Likewise.
16134         * sunrpc/create_xid.c: Likewise.
16135         * sunrpc/key_call.c: Likewise.
16136         * sunrpc/rpc_thread.c: Likewise.
16137         * sysdeps/arm/backtrace.c: Likewise.
16138         * sysdeps/generic/ldsodefs.h: Likewise.
16139         * sysdeps/generic/stdio-lock.h: Likewise.
16140         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16141         * sysdeps/i386/backtrace.c: Likewise.
16142         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16143         * sysdeps/m68k/backtrace.c: Likewise.
16144         * sysdeps/mach/hurd/cthreads.c: Likewise.
16145         * sysdeps/mach/hurd/dirstream.h: Likewise.
16146         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16147         * sysdeps/nptl/malloc-machine.h: Likewise.
16148         * sysdeps/nptl/stdio-lock.h: Likewise.
16149         * sysdeps/posix/dirstream.h: Likewise.
16150         * sysdeps/posix/getaddrinfo.c: Likewise.
16151         * sysdeps/posix/system.c: Likewise.
16152         * sysdeps/pthread/aio_suspend.c: Likewise.
16153         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16154         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16155         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16156         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16157         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16158         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16159         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16160         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16161         * sysdeps/unix/sysv/linux/system.c: Likewise.
16162         * sysdeps/x86_64/backtrace.c: Likewise.
16163         * time/alt_digit.c: Likewise.
16164         * time/era.c: Likewise.
16165         * time/tzset.c: Likewise.
16166         * wcsmbs/wcsmbsload.c: Likewise.
16167         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16168         instead of <bits/libc-lock.h> in comment.
16170 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16172         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16173         Only use .set mips2 if the current ISA is below mips2.
16174         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16175         Likewise.
16176         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16177         mips32r2 if the current ISA is below mips32r2.
16178         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16179         (TLS_IE): Updated to use the TLD_RDHWR macro.
16180         (TLS_LE): Likewise.
16181         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16182         __ASSEMBLER__ condition.
16184 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16186         Fix parallel build of before-compile targets.
16188         * sysdeps/mach/Makefile ($(patsubst
16189         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16190         mach-before-compile target.
16191         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16192         io fs process)): Move rule to dedicated hurd-before-compile target.
16194 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16196         Fix rules generating headers in hurd/ and mach/ when initial make call
16197         has subdir= explicitly set.
16199         * sysdeps/mach/Makefile ($(patsubst
16200         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16201         calling $(MAKE).
16202         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16203         io fs process)): Force subdir to hurd when calling $(MAKE).
16204         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16205         subdir to mach when calling $(MAKE).
16207 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16209         Check sysheaders when looking for Mach and Hurd headers
16211         * sysdeps/mach/configure.ac: Add sysheaders check.
16212         * sysdeps/mach/configure: Regenerate.
16213         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16214         * sysdeps/mach/hurd/configure: Regenerate.
16216 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16218         [BZ #18921]
16219         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16220         Fix inverted sense of test of 'o_directory_works' value.
16221         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16222         Bernhard Voelker <mail@bernhard-voelker.de>.
16224 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16226         [BZ #14912]
16227         * bits/linkmap.h: Move to ...
16228         * sysdeps/generic/linkmap.h: ...here.
16229         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16230         * sysdeps/aarch64/linkmap.h: ...here.
16231         * sysdeps/arm/bits/linkmap.h: Move to ...
16232         * sysdeps/arm/linkmap.h: ...here.
16233         * sysdeps/hppa/bits/linkmap.h: Move to ...
16234         * sysdeps/hppa/linkmap.h: ...here.
16235         * sysdeps/ia64/bits/linkmap.h: Move to ...
16236         * sysdeps/ia64/linkmap.h: ...here.
16237         * sysdeps/mips/bits/linkmap.h: Move to ...
16238         * sysdeps/mips/linkmap.h: ...here.
16239         * sysdeps/s390/bits/linkmap.h: Move to ...
16240         * sysdeps/s390/linkmap.h: ...here.
16241         * sysdeps/sh/bits/linkmap.h: Move to ...
16242         * sysdeps/sh/linkmap.h: ...here.
16243         * sysdeps/x86/bits/linkmap.h: Move to ...
16244         * sysdeps/x86/linkmap.h: ...here.
16245         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16247 2015-09-04  Andreas Schwab  <schwab@suse.de>
16249         [BZ #18635]
16250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16251         (__makecontext): Terminate FDE before return label.
16252         (__novec_makecontext): Likewise.
16254 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16256         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16257         first member of struct sv in syscall macro.
16259 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16261         [BZ #14912]
16262         * bits/stdio-lock.h: Move to ...
16263         * sysdeps/generic/stdio-lock.h: ...here.
16264         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16265         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16266         * sysdeps/nptl/stdio-lock.h: ...here.
16267         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16268         * include/libio.h: Include <stdio-lock.h> instead of
16269         <bits/stdio-lock.h>.
16270         * sysdeps/nptl/fork.c: Likewise.
16271         * sysdeps/pthread/flockfile.c: Likewise.
16272         * sysdeps/pthread/ftrylockfile.c: Likewise.
16273         * sysdeps/pthread/funlockfile.c: Likewise.
16275         [BZ #14912]
16276         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16277         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16278         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16279         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16280         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16281         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16282         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16284 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16286         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16287         (test-xfail-tst-protected1b): New variable.
16289 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16291         [BZ #14912]
16292         * bits/libc-tsd.h: Move to ...
16293         * sysdeps/generic/libc-tsd.h: ...here.
16294         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16295         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16296         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16297         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16298         * include/ctype.h: Include <libc-tsd.h> instead of
16299         <bits/libc-tsd.h>.
16300         * include/rpc/rpc.h: Likewise.
16301         * locale/localeinfo.h: Likewise.
16302         * sunrpc/rpc_thread.c: Likewise.
16303         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16304         * sysdeps/nptl/malloc-machine.h: Likewise.
16306         * Makefile (headers): Remove bits/libc-lock.h.
16307         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16309         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16310         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16311         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16312         <bits/stdio-lock.h>.
16313         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16314         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16316 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16318         [BZ #18757]
16319         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16320         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16321         BZ #18757.
16323 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16325         * malloc/mtrace.pl: Filter out NULL entries.
16327 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16329         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16330         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16331         macro.
16333         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16334         (TCP_CC_INFO): Likewise.
16335         (TCP_SAVE_SYN): Likewise.
16336         (TCP_SAVED_SYN): Likewise.
16338 2015-08-31  Brett Neumeier <brett@neumeier.us>
16340         [BZ #18870]
16341         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16343 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16345         [BZ #18873]
16346         Fix broken overflow check in posix_fallocate
16347         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16348         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16349         Fix parenthesization typo.
16351 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16353         [BZ #18887]
16354         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16355         tst-mntent-blank-passno.
16356         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16357         * misc/tst-mntent-blank-corrupt.c: New test.
16358         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16359         * misc/tst-mntent.c (do_test): ... here.
16361 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16363         [BZ #4404]
16364         * po/de.po: Fix SIGALRM typo.
16366 2015-08-28  James Perkins  <james@loowit.net>
16368         * time/tst-strptime2.c (tests): Replace short list of test
16369         strings for strptime %z specifier with code which exhaustively
16370         tests every combination of sign and 0 to 5 digits. Tests for
16371         rejection of invalid strings.
16373 2015-08-28  James Perkins  <james@loowit.net>
16375         [BZ #16141]
16376         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16377         calculation, removing incorrect decimal time rounding, so that
16378         all minute values result in a valid seconds value.
16379         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16380         offset range limits to UTC-99:59 through UTC+99:59 to parse
16381         current and historical use cases.
16382         * time/tst-strptime2.c (tests): Modify and add tests for the
16383         strptime %z input field descriptor, specifically conversion of
16384         minutes to seconds and validating an offset range of -9959 to
16385         +9959.
16387 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16388             Dmitry V. Levin  <ldv@altlinux.org>
16390         [BZ #18877]
16391         * posix/Makefile (tests): Add tst-mmap-offset.
16392         * posix/tst-mmap.c: New file.
16393         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16394         offset calculation for negative values.
16396 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16398         * sysdeps/i386/init-arch.h: New file.
16399         * sysdeps/i386/i586/init-arch.h: Likewise.
16400         * sysdeps/i386/i686/init-arch.h: Likewise.
16401         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16402         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16403         * sysdeps/x86/cpu-features.h (bit_I586): New.
16404         (bit_I686): Likewise.
16405         (bit_CX8): Likewise.
16406         (bit_CMOV): Likewise.
16407         (index_CX8): Likewise.
16408         (index_CMOV): Likewise.
16409         (index_I586): Likewise.
16410         (index_I686): Likewise.
16411         (reg_CX8): Likewise.
16412         (reg_CMOV): Likewise.
16413         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16414         available at compile-time.
16415         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16416         available at compile-time.
16417         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16418         (USE_I686): Likewise.
16420 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16422         * sysdeps/i386/bcopy.S: New file.
16423         * sysdeps/i386/bzero.S: Likewise.
16424         * sysdeps/i386/memcpy.S: Likewise.
16425         * sysdeps/i386/memmove.S: Likewise.
16426         * sysdeps/i386/mempcpy.S: Likewise.
16427         * sysdeps/i386/memset.S: Likewise.
16428         * sysdeps/i386/bzero.c: Removed.
16429         * sysdeps/i386/memset.c: Likewise.
16430         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16431         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16432         * sysdeps/i386/i586/memset_chk.S: Likewise.
16433         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16434         * sysdeps/i386/memcpy_chk.S: Here.
16435         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16436         * sysdeps/i386/memmove_chk.S: Here.
16437         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16438         * sysdeps/i386/mempcpy_chk.S: Likewise.
16439         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16440         * sysdeps/i386/memset_chk.S: Likewise.
16442 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16444         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16445         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16446         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16447         * soft-fp/fmadf4.c: Ditto.
16448         * soft-fp/fmatf4.c: Ditto.
16450 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16452         * sysdeps/i386/i586/Implies: Removed.
16453         * sysdeps/i386/i686/Implies: Likewise.
16455 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16457         * sysdeps/i386/i486/strlen.S: Moved to ...
16458         * sysdeps/i386/strlen.S: Here.
16460 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16462         * sysdeps/i386/i486/strcat.S: Moved to ...
16463         * sysdeps/i386/strcat.S: Here.
16465 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16467         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16468         * sysdeps/i386/pthread_spin_trylock.S: Here.
16469         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16470         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16472 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16474         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16475         * sysdeps/i386/string-inlines.c: Here.
16477 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16479         * sysdeps/i386/i486/htonl.S: Moved ...
16480         * sysdeps/i386/htonl.S: here.
16482 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16484         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16485         * sysdeps/i386/bits/atomic.h: Here.
16487 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16489         * sysdeps/i386/i486/Versions: Removed.
16491 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16493         [BZ #2898]
16494         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16495         Based on patch by Aurelien Jarno.
16497 2015-08-26  Stan Shebs  <stanshebs@google.com>
16499         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16500         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16502 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16504         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16505         * sysdeps/powerpc/dl-procinfo.c:
16506         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16507         feature so it shows when LD_SHOW_AUXV=1.
16509 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16511         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16512         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16513         definition.  ISA 2.07B no longer requires full sync.
16515 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16517         [BZ #18863]
16518         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16519         (si_call_addr): Define.
16520         (si_syscall): Define.
16521         (si_arch): Define.
16523 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16525         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16526         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16527         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16528         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16529         (__memset_zero_constant_len_parameter): New.
16530         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16531         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16532         (__memset_zero_constant_len_parameter): Don't define if
16533         __memset_chk or USE_AS_BZERO are defined.
16535         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16536         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16537         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16539         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16540         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16541         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16542         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16543         comments.
16544         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16545         -mno-mmx for $(all-rtld-routines).
16546         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16547         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16548         i386.
16550 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16552         * sysdeps/generic/unwind.h
16553         (_Unwind_Word): Use __mode__(__unwind_word__)
16554         instead of __mode__(__word__).
16555         (_Unwind_Sword): Likewise.
16557         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16558         (MAX_NEEDED_INPUT): New define.
16559         (MAX_NEEDED_OUTPUT): New define.
16561         * NEWS: New item for IBM z13 string optimizations.
16563         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16564         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16565         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16566         * sysdeps/s390/multiarch/Makefile
16567         (sysdep_routines): Add memrchr functions.
16568         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16569         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16571         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16572         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16573         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16574         * sysdeps/s390/multiarch/Makefile
16575         (sysdep_routines): Add wmemcmp functions.
16576         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16577         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16578         * benchtests/bench-wmemcmp.c: New File.
16579         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16581         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16582         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16583         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16584         * sysdeps/s390/multiarch/Makefile
16585         (sysdep_routines): Add wmemset functions.
16586         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16587         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16588         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16589         * string/test-memset.c: Add wmemset support.
16590         * wcsmbs/test-wmemset.c: New File.
16591         * wcsmbs/Makefile (strop-tests): Add wmemset.
16592         * benchtests/bench-memset.c: Add wmemset support.
16593         * benchtests/bench-wmemset.c: New File.
16594         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16596         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16597         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16598         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16599         * sysdeps/s390/multiarch/Makefile
16600         (sysdep_routines): Add memccpy functions.
16601         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16602         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16603         * string/memccpy.c: Use MEMCCPY if defined.
16605         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16606         * sysdeps/s390/multiarch/memchr.c: Likewise.
16607         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16608         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16609         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16610         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16611         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16612         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16613         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16614         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16615         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16616         and rawmemchr functions.
16617         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16618         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16619         and wmemchr.
16620         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16621         * string/test-memchr.c: Add wmemchr support.
16622         * wcsmbs/test-wmemchr.c: New File.
16623         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16624         * benchtests/bench-memchr.c: Add wmemchr support.
16625         * benchtests/bench-wmemchr.c: New File.
16626         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16628         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16629         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16630         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16631         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16632         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16633         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16635         wcscspn functions.
16636         * sysdeps/s390/multiarch/ifunc-impl-list.c
16637         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16638         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16639         * string/test-strcspn.c: Add wcscspn support.
16640         * wcsmbs/test-wcscspn.c: New File.
16641         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16642         * benchtests/bench-strcspn.c: Add wcscspn support.
16643         * benchtests/bench-wcscspn.c: New File.
16644         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16646         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16647         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16648         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16649         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16650         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16651         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16653         wcspbrk functions.
16654         * sysdeps/s390/multiarch/ifunc-impl-list.c
16655         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16656         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16657         * string/test-strpbrk.c: Add wcspbrk support.
16658         * wcsmbs/test-wcspbrk.c: New File.
16659         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16660         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16661         * benchtests/bench-wcspbrk.c: New File.
16662         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16664         * sysdeps/s390/multiarch/strspn-c.c: New File.
16665         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16666         * sysdeps/s390/multiarch/strspn.c: Likewise.
16667         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16668         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16669         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16670         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16672         wcsspn functions.
16673         * sysdeps/s390/multiarch/ifunc-impl-list.c
16674         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16675         * string/test-strspn.c: Add wcsspn support.
16676         * wcsmbs/test-wcsspn.c: New File.
16677         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16678         * benchtests/bench-strspn.c: Add wcsspn support.
16679         * benchtests/bench-wcsspn.c: New File.
16680         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16682         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16683         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16684         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16685         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16686         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16687         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16688         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16689         wcsrchr functions.
16690         * sysdeps/s390/multiarch/ifunc-impl-list.c
16691         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16692         * benchtests/bench-wcsrchr.c: New File.
16693         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16695         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16696         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16697         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16698         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16699         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16700         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16702         wcschrnul functions.
16703         * sysdeps/s390/multiarch/ifunc-impl-list.c
16704         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16705         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16706         * string/test-strchr.c: Add wcschrnul support.
16707         * wcsmbs/test-wcschrnul.c: New File.
16708         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16709         * benchtests/bench-strchr.c: Add wcschrnul support.
16710         * benchtests/bench-wcschrnul.c: New File.
16711         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16713         * sysdeps/s390/multiarch/strchr-c.c: New File.
16714         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16715         * sysdeps/s390/multiarch/strchr.c: Likewise.
16716         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16717         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16718         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16719         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16720         wcschr functions.
16721         * sysdeps/s390/multiarch/ifunc-impl-list.c
16722         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16723         * string/strchr.c (STRCHR): Define and use macro.
16724         * benchtests/bench-wcschr.c: New File.
16725         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16727         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16728         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16729         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16730         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16731         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16732         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16733         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16734         wcsncmp functions.
16735         * sysdeps/s390/multiarch/ifunc-impl-list.c
16736         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16737         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16738         * benchtests/bench-strncmp.c: Add wcsncmp support.
16739         * benchtests/bench-wcsncmp.c: New File.
16740         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16742         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16743         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16744         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16745         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16746         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16747         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16748         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16750         wcscmp functions.
16751         * sysdeps/s390/multiarch/ifunc-impl-list.c
16752         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16753         * string/strcmp.c (STRCMP): Define and use macro.
16754         * benchtests/bench-wcscmp.c: New File.
16755         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16756         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16757         instead of _HAVE_STRING_ARCH_memchr.
16759         * sysdeps/s390/multiarch/strncat-c.c: New File.
16760         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16761         * sysdeps/s390/multiarch/strncat.c: Likewise.
16762         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16763         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16764         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16765         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16766         wcsncat functions.
16767         * sysdeps/s390/multiarch/ifunc-impl-list.c
16768         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16769         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16770         * string/test-strncat.c: Add wcsncat support.
16771         * wcsmbs/test-wcsncat.c: New File.
16772         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16773         * benchtests/bench-strncat.c: Add wcsncat support.
16774         * benchtests/bench-wcsncat.c: New File.
16775         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16777         * sysdeps/s390/multiarch/strcat-c.c: New File.
16778         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16779         * sysdeps/s390/multiarch/strcat.c: Likewise.
16780         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16781         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16782         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16784         wcscat functions.
16785         * sysdeps/s390/multiarch/ifunc-impl-list.c
16786         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16787         * string/strcat.c (STRCAT): Define and use macro.
16788         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16789         * string/test-strcat.c: Add wcscat support.
16790         * wcsmbs/test-wcscat.c: New File.
16791         * wcsmbs/Makefile (strop-tests): Add wcscat.
16792         * benchtests/bench-strcat.c: Add wcscat support.
16793         * benchtests/bench-wcscat.c: New File.
16794         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16796         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16797         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16798         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16799         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16800         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16801         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16802         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16803         wcpncpy functions.
16804         * sysdeps/s390/multiarch/ifunc-impl-list.c
16805         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16806         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16807         * string/test-stpncpy.c: Add wcpncpy support.
16808         * wcsmbs/test-wcpncpy.c: New File.
16809         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16810         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16811         * benchtests/bench-wcpncpy.c: New File.
16812         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16814         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16815         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16816         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16817         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16818         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16819         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16820         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16822         wcsncpy functions.
16823         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16824         * sysdeps/s390/multiarch/ifunc-impl-list.c
16825         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16826         * string/test-strncpy.c: Add wcsncpy support.
16827         * wcsmbs/test-wcsncpy.c: New File.
16828         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16829         * benchtests/bench-strncpy.c: Add wcsncpy support.
16830         * benchtests/bench-wcsncpy.c: New File.
16831         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16833         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16834         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16835         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16836         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16837         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16838         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16840         wcpcpy functions.
16841         * string/stpcpy.c: Use STPCPY if defined.
16842         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16843         * sysdeps/s390/multiarch/ifunc-impl-list.c
16844         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16845         * string/test-stpcpy.c: Add wcpcpy support.
16846         * wcsmbs/test-wcpcpy.c: New File.
16847         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16848         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16849         * benchtests/bench-wcpcpy.c: New File.
16850         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16852         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16853         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16854         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16855         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16856         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16857         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16858         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16859         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16860         wcscpy functions.
16861         * sysdeps/s390/multiarch/ifunc-impl-list.c
16862         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16863         * benchtests/bench-wcscpy.c: New File.
16864         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16866         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16867         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16868         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16869         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16870         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16871         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16872         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16873         wcsnlen functions.
16874         * sysdeps/s390/multiarch/ifunc-impl-list.c
16875         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16876         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16877         * string/test-strnlen.c: Add wcsnlen support.
16878         * wcsmbs/test-wcsnlen.c: New File.
16879         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16880         * benchtests/bench-strnlen.c: Add wcsnlen support.
16881         * benchtests/bench-wcsnlen.c: New File.
16882         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16884         * sysdeps/s390/multiarch/Makefile: New File.
16885         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16886         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16887         * sysdeps/s390/multiarch/strlen.c: Likewise.
16888         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16889         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16890         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16891         * string/strlen.c (STRLEN): Define and use macro.
16892         * sysdeps/s390/multiarch/ifunc-impl-list.c
16893         (IFUNC_VX_IMPL): New macro function.
16894         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16895         * benchtests/Makefile (wcsmbs-bench): New variable.
16896         (string-bench-all): Added wcsmbs-bench.
16897         * benchtests/bench-wcslen.c: New File.
16899         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16900         s390_vx_libc_ifunc2): New macro function.
16902         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16903         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16904         assembler support.
16905         * sysdeps/s390/configure: Regenerated.
16907         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16908         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16910         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16911         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16912         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16914         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16915         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16916         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16917         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16918         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16919         (memcmp, bcmp): Use __memcmp_default as alias source.
16920         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16921         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16922         Rename to __memcmp_default.
16923         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16924         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16925         (memcpy): Use __memcpy_default as alias source.
16926         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16927         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16928         Rename to __memcpy_default.
16929         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16930         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16931         (memset): Use __memset_default as alias source.
16932         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16933         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16934         Rename to __memset_default.
16935         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16936         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16937         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16938         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16939         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16940         (memcmp, bcmp): Use __memcmp_default as alias source.
16941         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16942         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16943         Rename to __memcmp_default.
16944         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16945         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16946         (memcpy): Use __memcpy_default as alias source.
16947         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16948         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16949         Rename to __memcpy_default.
16950         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16951         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16952         (memset): Use __memset_default as alias source.
16953         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16954         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16955         Rename to __memset_default.
16956         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16957         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16959         [BZ #18610]
16960         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16961         __ieee_instruction_pointer to __unused.
16962         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16963         __ieee_instruction_pointer.
16964         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16965         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16966         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16967         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16968         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16969         Mark dxc-field as reserved.
16971 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16973         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16974         if the weak reference is not null.
16976 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16978         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16980         [BZ #11214]
16981         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16983 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16985         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16986         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16987         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16988         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16989         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16990         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16991         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16992         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16993         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16994         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16995         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16996         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16997         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16998         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16999         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17000         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17001         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17002         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17004 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17006         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17007         register other than r0 for tabort, it has special meaning.
17008         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17009         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17010         transaction before starting syscall.
17012 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17014         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17016 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17018         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17020         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17021         * sysdeps/x86_64/rtld-memset.S: Likewise.
17022         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17023         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17024         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17025         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17027         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17029 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17031         * debug/strcpy_chk.c: Improve performance.
17032         * debug/stpcpy_chk.c: Likewise.
17033         * sysdeps/x86_64/strcpy_chk.S: Remove.
17034         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17036         [BZ #18240]
17037         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17039 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17041         [BZ #15128]
17042         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17043         ifuncmain8.
17044         (modules-names): Add ifuncmod8.
17045         ($(objpfx)ifuncmain8): New rule.
17046         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17047         <cpuid.h>.
17048         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17049         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17050         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17051         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17052         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17053         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17054         * sysdeps/x86_64/ifuncmain8.c: New file.
17055         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17056         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17057         Removed.
17058         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17059         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17060         Change rtld_savespace_sse to __glibc_unused2.
17061         (RTLD_CHECK_FOREIGN_CALL): Removed.
17062         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17063         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17064         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17066 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17068         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17070 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17072         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17073         Unconditionally set __fpcr to avoid uninialized warning.
17074         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17076 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17078         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17079         is corrupt.
17081         * malloc/arena.c (arena_get2): Drop unused argument.
17082         (arena_lock): Adjust.
17083         (arena_get_retry): Likewise.
17085 2015-08-24  Andreas Schwab  <schwab@suse.de>
17087         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17088         Don't define.
17089         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17090         (__ASSUME_IPC64): Don't undef.
17091         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17092         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17093         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17094         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17095         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17096         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17097         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17098         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17099         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17100         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17101         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17102         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17103         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17104         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17105         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17106         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17107         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17108         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17109         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17110         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17111         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17113 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17115         * manual/Makefile (install): Only build manual when perl is available.
17117 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17119         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17120         '#undef memcpy' by '#undef memchr'.
17122 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17124         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17125         memchr not point to the internal __GI_memchr implementation.
17127 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17129         * timezone/Makefile (CFLAGS-zdump.c): Remove
17130         -Wno-strict-prototypes.
17131         (CFLAGS-zic.c): Likewise.
17132         (CFLAGS-ialloc.c): Likewise.
17133         (CFLAGS-scheck.c): Likewise.
17135         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17136         -Wno-error=undef.
17138 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17140         * i386/i686/multiarch/strcasestr-c.c: Removed.
17141         * x86_64/multiarch/strcasestr.c: Likewise.
17142         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17143         Remove strcasestr.
17145 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17147         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17149         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17150         variables for high and low parts before possibly modifying them.
17152 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17154         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17155         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17156         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17157         of "multiarch/init-arch.h".
17158         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17159         * sysdeps/x86/init-arch.h: This.
17161 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17163         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17164         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17166 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17168         [BZ #17787]
17169         * manual/macros.texi: Add twoexp macro.
17170         * manual/filesys.texi: Fix exponents.
17171         * manual/llio.texi: Likewise.
17172         * manual/stdio.texi: Likewise.
17174 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17176         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17177         incorrect use.
17179 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17181         [BZ #18370]
17182         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17183         whose real or imaginary part has small absolute value.
17184         * math/s_csqrtf.c (__csqrtf): Likewise.
17185         * math/s_csqrtl.c (__csqrtl): Likewise.
17186         * math/auto-libm-test-in: Add more tests of csqrt.
17187         * math/auto-libm-test-out: Regenerated.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17190 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17192         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17193         __ppc_set_ppr_very_low): New functions.
17194         * manual/platform.texi: Add documentation about
17195         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17197 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17199         * string/stpncpy.c (stpncpy): Improve performance using
17200         __strnlen/memcpy/memset.
17202 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17204         [BZ #18796]
17205         * scripts/test-installation.pl: Don't add -lmvec to build options if
17206         libmvec wasn't built.
17208 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17210         [BZ #14341]
17211         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17212         case when there is a gap between DT_REL and DT_JMPREL sections.
17213         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17214         (LDFLAGS-tst-split-dynreloc): New.
17215         (tst-split-dynreloc-ENV): Likewise.
17216         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17217         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17219 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17221         [BZ #18822]
17222         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17223         attribute_hidden.
17224         (__xstat64_conv): Likewise.
17225         (__xstat32_conv): Likewise.
17227 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17229         [BZ #18822]
17230         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17231         Don't load %ebx when calling __setcontext.  Call __setcontext
17232         with HIDDEN_JUMPTARGET.
17233         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17234         libc_hidden_def.
17236 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17238         * sysdeps/i386/i686/Makefile
17239         [$(subdir) == string] (sysdep_routines): Moved to ...
17240         * sysdeps/i386/Makefile: Here.
17241         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17242         * sysdeps/i386/cacheinfo.c: Here.
17243         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17244         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17245         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17246         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17248 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17250         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17251         __i586__ is defined.
17252         (HAS_I686): Defined to 1 if __i686__ is defined.
17254 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17256         * elf/Makefile [$(have-z-execstack) = yes]
17257         (CPPFLAGS-tst-execstack.c): New variable.
17259         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17260         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17261         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17262         UTMPX || _HAVE_UT_TV].
17263         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17264         UTMPX || _HAVE_UT_TV - 0].
17266 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17268         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17269         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17270         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17272 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17274         * sysdeps/powerpc/dl-procinfo.c:
17275         (_dl_powerpc_cap_flags): Added missing strings for some
17276         hwcap features.
17277         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17279 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17281         Port the 0x7efe...feff pattern to GCC 6.
17282         See Steve Ellcey's bug report in:
17283         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17284         * string/memrchr.c (MEMRCHR):
17285         * string/rawmemchr.c (RAWMEMCHR):
17286         * string/strchr.c (strchr):
17287         * string/strchrnul.c (STRCHRNUL):
17288         Rewrite code to avoid issues with signed shift overflow.
17290 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17292         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17293         whether cpuid is available only if HAS_CPUID is 0.
17294         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17295         (HAS_I586): Likewise.
17296         (HAS_I686): Likewise.
17298 2015-08-18  Zack Weinberg  <zackw@panix.com>
17300         * misc/Versions (libc): Add GLIBC_2.23.
17302 2015-08-18  Alan Modra  <amodra@gmail.com>
17304         [BZ #18421]
17305         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17306         .Lp__global.
17307         (_start): Load %dp via .Lp__global.
17308         [!SHARED]: Use .section .rodata.
17310 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17312         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17313         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17315 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17317         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17318         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17320 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17322         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17323         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17325 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17327         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17328         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17330 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17332         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17333         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17335 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17337         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17338         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17340 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17342         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17344 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17346         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17347         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17348         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17349         (__ASSUME_LWS_CAS): Delete.
17351 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17353         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17354         * sysdeps/hppa/configure: Regenerated.
17355         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17356         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17357         * sysdeps/hppa/nptl/tls.h: Likewise.
17359 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #18823]
17362         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17363         for scaling up small arguments.
17364         * math/s_csqrtf.c (__csqrtf): Likewise.
17365         * math/s_csqrtl.c (__csqrtl): Likewise.
17366         * math/auto-libm-test-in: Add more tests of csqrt.
17367         * math/auto-libm-test-out: Regenerated.
17369 2015-08-17  Andreas Schwab  <schwab@suse.de>
17371         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17372         version set GLIBC_2.19.
17374 2015-08-16  Zack Weinberg  <zackw@panix.com>
17376         [BZ #18681]
17377         * misc/regexp.h: This interface is no longer supported.
17378         Remove all contents, leaving only an #error directive.
17379         * misc/regexp.c (loc1, loc2, locs, step, advance):
17380         Demote to compatibility symbols.
17382 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17384         [BZ #18084]
17385         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17386         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17387         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17388         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17389         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17390         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17391         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17392         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17393         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17395 2015-08-15  Zack Weinberg  <zackw@panix.com>
17397         [BZ #18795]
17398         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17399         buffer length is known to be too large, not if it's known to be
17400         small enough.
17401         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17402         overflow at runtime, involving a length parameter, twice: once
17403         with a compile-time constant length parameter, once without.
17405 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17407         [BZ #18824]
17408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17409         scaling x * y up instead of down.
17410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17411         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17412         * math/auto-libm-test-in: Add more tests of fma.
17413         * math/auto-libm-test-out: Regenerated.
17415 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17419 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17421         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17422         unnecessary movq.
17423         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17424         Likewise.
17426 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17428         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17429         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17430         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17431         and tgamma.
17432         * math/auto-libm-test-out: Regenerated.
17433         * sysdeps/i386/fpu/libm-test-ulps: Update.
17434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17436         [BZ #16520]
17437         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17438         (__tanh): Force underflow exception for arguments with small
17439         absolute value.
17440         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17441         (__tanhf): Force underflow exception for arguments with small
17442         absolute value.
17443         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17444         (__tanhl): Force underflow exception for arguments with small
17445         absolute value.
17446         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17447         (__tanhl): Force underflow exception for arguments with small
17448         absolute value.
17449         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17450         (__tanhl): Force underflow exception for arguments with small
17451         absolute value.
17452         * math/auto-libm-test-in: Add more tests of tanh.
17453         * math/auto-libm-test-out: Regenerated.
17454         * sysdeps/i386/fpu/libm-test-ulps: Update.
17456 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17458         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17459         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17461 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17463         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17464         <cpuid.h>.
17466 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17468         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17469         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17471 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17473         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17474         Remove $(objpfx)init-arch.o.
17475         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17476         init-arch.
17477         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17478         (INIT_ARCH_EXT): Defined as empty.
17479         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17480         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17481         __init_cpu_features call.  Replace HAS_XXX with
17482         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17485         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17487         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17488         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17489         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17490         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17491         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17492         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17496         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17501         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17503         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17505         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17508         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17517         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17519 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17521         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17522         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17523         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17524         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17525         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17526         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17527         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17528         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17529         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17530         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17531         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17532         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17533         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17534         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17535         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17536         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17537         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17538         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17539         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17540         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17541         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17542         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17543         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17544         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17545         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17546         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17547         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17548         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17549         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17550         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17551         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17552         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17553         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17554         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17555         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17556         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17557         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17558         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17560         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17561         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17562         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17563         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17565 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17567         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17568         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17569         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17570         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17571         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17572         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17573         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17574         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17575         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17576         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17577         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17578         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17579         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17580         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17581         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17582         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17583         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17584         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17585         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17586         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17588         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17589         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17590         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17591         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17592         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17593         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17594         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17595         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17596         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17597         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17598         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17599         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17600         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17601         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17602         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17603         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17604         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17605         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17606         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17607         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17608         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17609         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17611 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17613         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17614         (dl_platform_init): Call init_cpu_features.
17615         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17616         * sysdeps/i386/i686/cacheinfo.c
17617         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17618         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17619         * sysdeps/i386/i686/multiarch/Versions: Removed.
17620         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17621         Removed.
17622         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17623         * sysdeps/unix/sysv/linux/x86/Makefile
17624         (libpthread-sysdep_routines): Remove init-arch.
17625         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17626         <sysdeps/x86_64/dl-procinfo.c> instead of
17627         sysdeps/generic/dl-procinfo.c>.
17628         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17629         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17630         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17631         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17632         [$(subdir) == elf] (tests-static): Add
17633         tst-get-cpu-features-static.
17634         * sysdeps/x86/Versions: New file.
17635         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17636         * sysdeps/x86/cpu-features.c: Likewise.
17637         * sysdeps/x86/cpu-features.h: Likewise.
17638         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17639         * sysdeps/x86/libc-start.c: Likewise.
17640         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17641         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17642         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17643         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17644         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17645         Assume USE_MULTIARCH is defined and don't check it.
17646         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17647         (is_amd): Likewise.
17648         (max_cpuid): Likewise.
17649         (intel_check_word): Likewise.
17650         (__cache_sysconf): Don't call __init_cpu_features.
17651         (__x86_preferred_memory_instruction): Removed.
17652         (init_cacheinfo): Don't call __init_cpu_features. Replace
17653         __cpu_features with GLRO(dl_x86_cpu_features).
17654         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17655         (dl_platform_init): Call init_cpu_features.
17656         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17657         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17658         * sysdeps/x86_64/multiarch/Versions: Removed.
17659         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17660         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17661         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17662         Removed.
17663         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17665 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17667         [BZ #18820]
17668         * libio/Makefile (test-fmemopen-mem): New test.
17669         * libio/test-fmemopen.c (do_bz18820): New test.
17670         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17671         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17673 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17675         [BZ #16734]
17676         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17677         (FREE_BUF): Delete.
17678         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17679         * libio/genops.c (_IO_setb): Use malloc and free directly.
17680         (_IO_default_doallocate, _IO_default_finish): Likewise.
17681         ( _IO_unbuffer_all): Likewise.
17682         ( libc_freeres_fn): Likewise.
17683         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17684         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17685         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17686         (_IO_wdefault_doallocate): Likewise.
17688 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17690         [BZ #18086]
17691         * sysdeps/posix/nice.c (nice): Restore old errno.
17692         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17694 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17696         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17698 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17700         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17701         __bcopy and add a weak_alias to bcopy.
17702         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17703         for static build.
17705         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17706         cleanup macro usage.
17707         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17708         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17711         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17713         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17714         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17715         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17716         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17718         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17720         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17722         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17723         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17724         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17725         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17727         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17728         libc_hidden_def.
17729         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17731         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17732         (sysdep_routines): Add strstr-ppc64.
17733         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17735 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17737         [BZ #18778]
17738         * elf/Makefile (tests): Add Add tst-nodelete2.
17739         (modules-names): Add tst-nodelete2mod.
17740         (tst-nodelete2mod.so-no-z-defs): New.
17741         ($(objpfx)tst-nodelete2): Likewise.
17742         ($(objpfx)tst-nodelete2.out): Likewise.
17743         (LDFLAGS-tst-nodelete2): Likewise.
17744         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17745         out of loop through all loaded libraries.
17746         * elf/tst-nodelete2.c: New file.
17747         * elf/tst-nodelete2mod.c: Likewise.
17748         * elf/tst-znodelete-zlib.cc: Delete.
17750 2015-08-11  Andreas Schwab  <schwab@suse.de>
17752         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17753         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17754         (__openat64_nocancel): Likewise.
17756 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17758         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17759         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17760         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17761         * math/auto-libm-test-out: Regenerated.
17762         * sysdeps/i386/fpu/libm-test-ulps: Update.
17763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17767         [BZ #18790]
17768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17769         threshold for returning +/- 1.
17770         * math/auto-libm-test-in: Add more tests of tanh.
17771         * math/auto-libm-test-out: Regenerated.
17772         * sysdeps/i386/fpu/libm-test-ulps: Update.
17774 2015-08-10  Andreas Schwab  <schwab@suse.de>
17776         [BZ #18781]
17777         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17778         MORE_OFLAGS to oflag.
17779         * io/test-lfs.c (do_test): Test openat64.
17781 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17783         [BZ #18789]
17784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17785         smaller threshold for returning the argument.
17786         * math/auto-libm-test-in: Add more tests of sinh.
17787         * math/auto-libm-test-out: Regenerated.
17788         * sysdeps/i386/fpu/libm-test-ulps: Update.
17790 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17792         [BZ #18674]
17793         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17794         break.
17796 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17798         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17799         (generated): Don't add $(addprefix z.,$(tzfiles)).
17801 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17803         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17804         * scripts/sysd-rules.awk: Likewise.
17806 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17808         * iconvdata/tst-tables.sh: Change echo -n to printf.
17809         * nss/db-Makefile: Likewise.
17810         * posix/tst-getconf.sh: Likewise.
17811         * stdio-common/tst-unbputc.sh: Likewise.
17813 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17815         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17816         MADV_*_PAGES defines behind this feature check.
17818 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17820         [BZ #18480]
17821         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17822         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17823         Define.
17824         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17825         LOAD_REGS_5, LOAD_REGS_6): Update.
17826         (INTERNAL_SYSCALL): Update using new LOAD defines.
17827         (INTERNAL_SYSCALL_NCS): Likewise.
17828         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17830 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17832         [BZ #16734]
17833         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17835 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17837         [BZ #17905]
17838         * catgets/Makefile (tst-catgets-mem): New test.
17839         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17840         * catgets/open_catalog.c (__open_catalog): Likewise.
17841         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17843 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17845         [BZ #18787]
17846         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17847         clobber registers.
17848         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17849         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17850         Cast return to __typeof (oldval).
17852 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17854         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17855         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17856         and delete sys/syscall.h include.
17858 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17860         [BZ #16517]
17861         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17862         (tan): Force underflow exception for arguments with small absolute
17863         value.
17864         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17865         (__kernel_tanf): Force underflow exception for arguments with
17866         small absolute value.
17867         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17868         (__kernel_tanl): Force underflow exception for arguments with
17869         small absolute value.
17870         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17871         (__kernel_tanl): Force underflow exception for arguments with
17872         small absolute value.
17873         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17874         (__kernel_tanl): Force underflow exception for arguments with
17875         small absolute value.
17876         * math/auto-libm-test-in: Add more tests of tan.
17877         * math/auto-libm-test-out: Regenerated.
17879 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17881         Fix sysdeps/i386/fpu/s_scalbn.S build
17883         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17885 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17887         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17889 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17891         Fix gcrt0.o compilation
17893         When static-start-installed-name is different from
17894         start-installed-name, we must not use the shared objects.
17896         * csu/Makefile
17897         (extra-objs): Add gmon-start.o when building shared library and
17898         $(static-start-installed-name) is different from
17899         $(start-installed-name).
17900         $(objpfx)g$(static-start-installed-name): When building shared
17901         library and $(static-start-installed-name) is different from
17902         $(static-start-installed-name), revert to non-shared rule,
17903         i.e. using $(objpfx)% and gmon-start.o.
17905 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17907         [BZ #16519]
17908         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17909         (__ieee754_sinh): Force underflow exception for arguments with
17910         small absolute value.
17911         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17912         (__ieee754_sinhf): Force underflow exception for arguments with
17913         small absolute value.
17914         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17915         (__ieee754_sinhl): Force underflow exception for arguments with
17916         small absolute value.
17917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17918         (__ieee754_sinhl): Force underflow exception for arguments with
17919         small absolute value.
17920         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17921         (__ieee754_sinhl): Force underflow exception for arguments with
17922         small absolute value.
17923         * math/auto-libm-test-in: Add more tests of sinh.
17924         * math/auto-libm-test-out: Regenerated.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17927 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17929         * libio/oldfileops.c: Include unistd.h.
17931 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17933         * stdlib/isomac.c: Include ctype.h.
17935 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17937         * dirent/tst-seekdir.c (main): Converted to ...
17938         (do_test): ... this.
17939         (TEST_FUNCTION): New macro.
17940         Include test-skeleton.c.
17941         * elf/tst-dlmodcount.c (main): Converted to ...
17942         (do_test): ... this.
17943         (TEST_FUNCTION): New macro.
17944         Include test-skeleton.c.
17945         * elf/tst-order-main.c (main): Converted to ...
17946         (do_test): ... this.
17947         (TEST_FUNCTION): New macro.
17948         Include test-skeleton.c.
17949         * elf/tst-pie2.c (main): Converted to ...
17950         (do_test): ... this.
17951         (TEST_FUNCTION): New macro.
17952         Include test-skeleton.c.
17953         * inet/tst-ether_aton.c (main): Converted to ...
17954         (do_test): ... this.
17955         (TEST_FUNCTION): New macro.
17956         Include test-skeleton.c.
17957         * misc/tst-mntent.c (main): Converted to ...
17958         (do_test): ... this.
17959         (TEST_FUNCTION): New macro.
17960         Include test-skeleton.c.
17961         * misc/tst-tsearch.c (main): Converted to ...
17962         (do_test): ... this.
17963         (TEST_FUNCTION): New macro.
17964         Include test-skeleton.c.
17965         * posix/tst-regexloc.c (main): Converted to ...
17966         (do_test): ... this.
17967         (TEST_FUNCTION): New macro.
17968         Include test-skeleton.c.
17969         * resolv/tst-aton.c (main): Converted to ...
17970         (do_test): ... this.
17971         (TEST_FUNCTION): New macro.
17972         Include test-skeleton.c.
17973         * stdio-common/test-fwrite.c (main): Converted to ...
17974         (do_test): ... this.
17975         (TEST_FUNCTION): New macro.
17976         Include test-skeleton.c.
17977         * stdio-common/tst-ferror.c (main): Converted to ...
17978         (do_test): ... this.
17979         (TEST_FUNCTION): New macro.
17980         Include test-skeleton.c.
17981         * stdio-common/tst-printf.c (main): Converted to ...
17982         (do_test): ... this.
17983         (TEST_FUNCTION): New macro.
17984         Include test-skeleton.c.
17985         * stdio-common/tst-printfsz.c (main): Converted to ...
17986         (do_test): ... this.
17987         (TEST_FUNCTION): New macro.
17988         Include test-skeleton.c.
17989         * stdlib/tst-strtod.c (main): Converted to ...
17990         (do_test): ... this.
17991         (TEST_FUNCTION): New macro.
17992         Include test-skeleton.c.
17993         * string/tst-strlen.c (main): Converted to ...
17994         (do_test): ... this.
17995         (TEST_FUNCTION): New macro.
17996         Include test-skeleton.c.
17997         * string/tst-svc.c (main): Converted to ...
17998         (do_test): ... this.
17999         (TEST_FUNCTION): New macro.
18000         Include test-skeleton.c.
18001         * time/tst-strptime.c (main): Converted to ...
18002         (do_test): ... this.
18003         (TEST_FUNCTION): New macro.
18004         Include test-skeleton.c.
18005         * timezone/tst-timezone.c (main): Converted to ...
18006         (do_test): ... this.
18007         (TEST_FUNCTION): New macro.
18008         Include test-skeleton.c.
18010 2015-08-05  Zack Weinberg  <zackw@panix.com>
18012         * misc/regexp.h: Update comments.
18014 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18016         [BZ #18635]
18017         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18018         before return label.
18020 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18022         [BZ #18661]
18023         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18024         when calling __errno_location.
18025         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18026         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18028 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18030         [BZ #18661]
18031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18032         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18033         __gettimeofday.
18035 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18037         [BZ #18661]
18038         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18039         (__start_context): Don't use pop to restore %rdi so that stack
18040         is aligned to 16 bytes when calling __setcontext.
18042 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18044         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18045         only for libc.
18046         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18048 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18050         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18051         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18052         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18054 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18056         * string/memccpy.c (memccpy):
18057         Improve performance by using memchr/memcpy/__mempcpy.
18059 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18061         * string/strncpy.c (strncpy):
18062         Improve performance by using __strnlen/memcpy.
18064 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18066         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18067         Optimize to avoid an unnecessary FPCR read.
18069 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18071         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18072         Optimize to reduce FPCR/FPSR accesses.
18074 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18076         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18077         dead->data[category] != NULL.
18079 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18081         [BZ #18647]
18082         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18083         and |x| close to 1, use absolute value of x when computing log.
18084         * math/auto-libm-test-in: Add more tests of pow.
18085         * math/auto-libm-test-out: Regenerated.
18087 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18089         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18090         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18091         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18093 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18095         [BZ #18525]
18096         * locales/km_KH: Remove timezone definition.
18097         * locales/lo_LA: Likewise.
18098         * locales/my_MM: Likewise.
18099         * locales/nan_TW@latin: Likewise.
18100         * locales/th_TH: Likewise.
18101         * locales/uk_UA: Likewise.
18103 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18105         [BZ #18265]
18106         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18107         (wcsncat): Likewise.
18108         (wcscmp): Likewise.
18109         (wcsncmp): Likewise.
18111 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18113         * test-skeleton.c (usage): New function.
18114         (main): Call usage when opt is '?'.
18116 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18118         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18119         before first use.
18121 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18123         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18124         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18125         in there too.
18127 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18129         * version.h (RELEASE): Set to "development".
18130         (VERSION): Set to "2.22.90"
18132         * version.h (RELEASE): Set to "stable".
18133         (VERSION): Set to "2.22"
18134         * include/features.h (__GLIBC_MINOR__): Set to 22.
18136 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18138         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18139         Restructure macro to avoid "value computed is not used" warning.
18140         (atomic_compare_and_exchange_val_acq): Likewise.
18142 2015-08-04  Andreas Schwab  <schwab@suse.de>
18144         [BZ #18635]
18145         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18146         ret.
18147         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18149 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18151         * po/pl.po: Updated translation.
18152         * po/uk.po: Likewise.
18153         * po/fi.po: Likewise.
18154         * po/ko.po: Likewise.
18155         * po/ru.po: Likewise.
18156         * po/vi.po: Likewise.
18158 2015-07-31  Zack Weinberg  <zackw@panix.com>
18160         [BZ #18681]
18161         * regexp.h: Add unconditional #warning stating that this header
18162         will be removed soon.  Revise banner comment to match.
18163         (compile): Consistently use ERROR instead of RETURN to report
18164         errors (partial fix for bz#18681).
18165         * regexp.c: Don't include regexp.h. Remove some unnecessary
18166         declarations.
18168 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18170         * po/libc.pot: Regenerated.
18172 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18174         [BZ #18740]
18175         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18176         float-vlen4-arch-ext-cflags): Removed.
18177         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18178         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18180 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18182         [BZ #14113]
18183         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18184         aligned to __aligned__.
18185         (pthread_cond_t, pthread_rwlock_t): Likewise.
18187 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18189         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18191 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18193         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18194         (struct sigaction): Change sa_flags from a long to an int, and add
18195         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18197 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18199         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18200         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18201         sysdeps/generic/sysdep.h include.
18202         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18203         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18204         sysdeps/hppa/sysdep.h.
18205         (ENTRY, PSEUDO): Undefine before defining.
18207 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18209         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18210         from scratch to use INTERNAL_SYSCALL.
18212 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18214         [BZ #18078]
18215         * scripts/check-localplt.awk: Support alternate relocations.
18216         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18217         sections.
18218         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18219         malloc entries with + REL R_386_GLOB_DAT.
18220         * sysdeps/x86_64/localplt.data: New file.
18222 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18224         [BZ #18731]
18225         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18226         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18227         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18229 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18231         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18233 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18235         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18236         directly in terms of __sync_fetch_and_add and delete (int) cast.
18238 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18240         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18241         the -D_ASM_IA64_CURRENT_H flag.
18243 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18245         [BZ #18641]
18246         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18248 2015-07-27  Andreas Schwab  <schwab@suse.de>
18250         * conform/conformtest.pl (checknamespace): Filter out string
18251         literals while tokenizing.
18253 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18255         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18256         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18257         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18259 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18261         * nptl/tst-join7mod.c: Add #include <string.h>.
18263 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18265         * sysdeps/nios2/libm-test-ulps: Update.
18267 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18269         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18270         Fix order of arguments to the rt_sigprocmask syscall.
18271         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18272         Likewise.
18274 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18276         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18278 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18280         [BZ #18457]
18281         * nptl/Makefile (tests): New test case tst-join7.
18282         (modules-names): New test case module tst-join7mod.
18283         * nptl/tst-join7.c: New file.
18284         * nptl/tst-join7mod.c: New file.
18285         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18286         all translation units in libc.so, libpthread.so and rtld.
18288 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18292 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18296         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18297         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18301         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18302         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18305         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18306         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18307         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18309         implementation.
18311 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18313         [BZ #17711]
18314         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18315         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18316         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18317         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18318         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18319         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18321 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18323         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18324         instead of just saying load lock in the comments.
18326 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18328         * sysdeps/unix/Subdirs: Moved ...
18329         * sysdeps/posix/Subdirs: ... here.
18330         * login/pty.h (struct termios, struct winsize): Add forward decls.
18331         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18332         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18333         * sysdeps/arm/nacl/libc.abilist: Updated.
18334         * sysdeps/nacl/libutil.abilist: New file.
18336         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18337         (SIGWINCH): New macro.
18339         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18340         * sysdeps/arm/nacl/libc.abilist: Add it.
18342 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18344         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18346 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18348         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18349         Swap __glibc_reserved0 and sa_flags order.
18351 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18353         [BZ #18657]
18354         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18355         are pending TLS destructor calls.
18356         * include/link.h (struct link_map): Add concurrency note for
18357         L_TLS_DTOR_COUNT.
18358         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18359         Don't touch the link map flag.  Atomically increment
18360         l_tls_dtor_count.
18361         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18362         Avoid taking the load lock and don't touch the link map flag.
18363         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18364         * stdlib/Makefile (tests): Use it.
18365         * stdlib/tst-tls-atexit.c (do_test): dlopen
18366         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18367         to allow tst-tls-atexit-nodelete test case to use it.
18369 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18371         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18372         to bits/types.h.
18373         (msgqnum_t): New typedef.
18374         (msglen_t): Likewise.
18375         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18376         and msg_qbytes type to msglen_t.
18378 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18380         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18381         pad0 to __glibc_reserved0.
18382         (struct stat64): Likewise.
18384 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18386         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18387         Change sa_flags from a long to an int and add __glibc_reserved0 before
18388         it for padding.
18390 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18392         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18393         anonymous by deleting "siginfo" name.
18395 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18397         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18398         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18399         rather than __nacl_irt_filename.
18400         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18402         * NEWS: New item for arm-nacl port.
18403         * sysdeps/arm/nacl/libc.abilist: New file.
18404         * sysdeps/nacl/ld.abilist: New file.
18405         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18406         * sysdeps/nacl/libanl.abilist: New file.
18407         * sysdeps/nacl/libcrypt.abilist: New file.
18408         * sysdeps/nacl/libdl.abilist: New file.
18409         * sysdeps/nacl/libm.abilist: New file.
18410         * sysdeps/nacl/libpthread.abilist: New file.
18411         * sysdeps/nacl/libresolv.abilist: New file.
18412         * sysdeps/nacl/librt.abilist: New file.
18414 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18416         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18417         __startcontext to initialize the new context.
18418         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18419         up CFI directive to forbid further backtracing.
18421 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18423         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18424         reference.
18425         * charmaps/ANSI_X3.4-1968: Likewise.
18426         * charmaps/BS_4730: Likewise.
18427         * charmaps/BS_VIEWDATA: Likewise.
18428         * charmaps/CP1250: Likewise.
18429         * charmaps/CP1251: Likewise.
18430         * charmaps/CP1252: Likewise.
18431         * charmaps/CP1253: Likewise.
18432         * charmaps/CP1254: Likewise.
18433         * charmaps/CP1255: Likewise.
18434         * charmaps/CP1256: Likewise.
18435         * charmaps/CSN_369103: Likewise.
18436         * charmaps/EBCDIC-DK-NO: Likewise.
18437         * charmaps/GB_1988-80: Likewise.
18438         * charmaps/GREEK-CCITT: Likewise.
18439         * charmaps/GREEK7: Likewise.
18440         * charmaps/INIS-8: Likewise.
18441         * charmaps/ISIRI-3342: Likewise.
18442         * charmaps/ISO_2033-1983: Likewise.
18443         * charmaps/ISO_5427-EXT: Likewise.
18444         * locales/POSIX: Likewise.
18445         * locales/ar_SA: Likewise.
18446         * locales/be_BY: Likewise.
18447         * locales/be_BY@latin: Likewise.
18448         * locales/ca_ES: Likewise.
18449         * locales/cs_CZ: Likewise.
18450         * locales/da_DK: Likewise.
18451         * locales/de_BE: Likewise.
18452         * locales/de_CH: Likewise.
18453         * locales/de_LU: Likewise.
18454         * locales/en_AU: Likewise.
18455         * locales/en_BW: Likewise.
18456         * locales/en_CA: Likewise.
18457         * locales/en_DK: Likewise.
18458         * locales/en_GB: Likewise.
18459         * locales/en_IE: Likewise.
18460         * locales/en_NZ: Likewise.
18461         * locales/en_ZA: Likewise.
18462         * locales/en_ZW: Likewise.
18463         * locales/es_AR: Likewise.
18464         * locales/es_BO: Likewise.
18465         * locales/es_CL: Likewise.
18466         * locales/es_CO: Likewise.
18467         * locales/es_DO: Likewise.
18468         * locales/es_EC: Likewise.
18469         * locales/es_ES: Likewise.
18470         * locales/es_HN: Likewise.
18471         * locales/es_MX: Likewise.
18472         * locales/es_PA: Likewise.
18473         * locales/es_PE: Likewise.
18474         * locales/es_PY: Likewise.
18475         * locales/es_SV: Likewise.
18476         * locales/es_US: Likewise.
18477         * locales/es_UY: Likewise.
18478         * locales/es_VE: Likewise.
18479         * locales/et_EE: Likewise.
18480         * locales/fa_IR: Likewise.
18481         * locales/fo_FO: Likewise.
18482         * locales/fr_CA: Likewise.
18483         * locales/fr_CH: Likewise.
18484         * locales/gv_GB: Likewise.
18485         * locales/he_IL: Likewise.
18486         * locales/hr_HR: Likewise.
18487         * locales/id_ID: Likewise.
18488         * locales/is_IS: Likewise.
18489         * locales/it_CH: Likewise.
18490         * locales/iw_IL: Likewise.
18491         * locales/kl_GL: Likewise.
18492         * locales/ko_KR: Likewise.
18493         * locales/kw_GB: Likewise.
18494         * locales/lg_UG: Likewise.
18495         * locales/lt_LT: Likewise.
18496         * locales/lv_LV: Likewise.
18497         * locales/mi_NZ: Likewise.
18498         * locales/nhn_MX: Likewise.
18499         * locales/nl_BE: Likewise.
18500         * locales/pl_PL: Likewise.
18501         * locales/sk_SK: Likewise.
18502         * locales/sl_SI: Likewise.
18503         * locales/sv_FI: Likewise.
18504         * locales/tl_PH: Likewise.
18505         * locales/tr_TR: Likewise.
18506         * locales/vi_VN: Likewise.
18508 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18510         [BZ #17475]
18511         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18512         of tu_IN and bh_IN.
18514 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18516         [BZ #18694]
18517         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18518         bits/wordsize.h.
18519         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18521 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18523         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18524         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18525         (spawn_thread): New function.
18526         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18527         (do_test): ... here.  Use IS_LOADED to test for its
18528         availability.
18530 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18532         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18534 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18536         [BZ #18696]
18537         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18538         si_addr_bnd.
18539         (si_lower): New.
18540         (si_upper): Likewise.
18542 2015-07-16  David S. Miller  <davem@davemloft.net>
18544         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18546 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18548         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18549         buffer.
18550         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18551         fail output information.
18553 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18556         and strstr-ppc64..
18557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18558         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18559         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18560         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18561         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18563 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18565         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18566         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18567         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18568         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18570 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18572         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18573         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18574         rtld_hidden_proto.
18575         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18577 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18579         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18580         the test can fail.
18582         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18584         [BZ #18676]
18585         * elf/tst-nodelete-opened.c: New test case.
18586         * elf/tst-nodelete-opened-lib.c: New test case module.
18587         * elf/Makefile (tests, modules-names): Use them.
18588         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18589         early.
18591 2015-07-15  David S. Miller  <davem@davemloft.net>
18593         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18594         futex-intenal.h
18595         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18596         * sysdeps/sparc/sparc64/Makefile: Likewise.
18597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18598         Remove space from macro define.
18599         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18601 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18603         [BZ #17475]
18604         * locale/iso-639.def: Update Bhili and Tulu language codes as
18605         per iso639-3.
18607 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18609         * elf/tst-leaks1.c (main): Converted to ...
18610         (do_test): ... this.
18611         (TEST_FUNCTION): New macro.
18612         Include test-skeleton.c.
18613         * localedata/tst-langinfo.c (main): Converted to ...
18614         (do_test): ... this.
18615         (TEST_FUNCTION): New macro.
18616         Include test-skeleton.c.
18617         * math/test-fpucw.c (main): Converted to ...
18618         (do_test): ... this.
18619         (TEST_FUNCTION): New macro.
18620         Include test-skeleton.c.
18621         * math/test-tgmath.c (main): Converted to ...
18622         (do_test): ... this.
18623         (TEST_FUNCTION): New macro.
18624         Include test-skeleton.c.
18625         * math/test-tgmath2.c (main): Converted to ...
18626         (do_test): ... this.
18627         (TEST_FUNCTION): New macro.
18628         Include test-skeleton.c.
18629         * setjmp/tst-setjmp.c (main): Converted to ...
18630         (do_test): ... this.
18631         (TEST_FUNCTION): New macro.
18632         Include test-skeleton.c.
18633         * stdio-common/tst-sscanf.c (main): Converted to ...
18634         (do_test): ... this.
18635         (TEST_FUNCTION): New macro.
18636         Include test-skeleton.c.
18637         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18638         (do_test): ... this.
18639         (TEST_FUNCTION): New macro.
18640         Include test-skeleton.c.
18642         * elf/tst-audit9.c (main): Converted to ...
18643         (do_test): ... this.
18644         (TEST_FUNCTION): New macro.
18645         Include test-skeleton.c.
18647 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18649         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18651 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18653         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18654         New variable.
18656 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18658         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18660 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18662         * sysdeps/generic/dl-fileid.h: New file.
18663         * sysdeps/posix/dl-fileid.h: New file.
18664         * sysdeps/nacl/dl-fileid.h: New file.
18665         * include/link.h: Include <dl-fileid.h>.
18666         (struct link_map): Replace l_dev and l_ino with l_file_id.
18667         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18668         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18669         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18671 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18673         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18675 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18677         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18678         Add iff $CXX is set.
18679         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18680         Likewise.
18681         (tst-nodelete-zmodiff): Likewise.
18682         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18684 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18686         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18688 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18690         * sysdeps/aarch64/fpu/math_private.h
18691         (define math_opt_barrier): Add AArch64 version.
18692         (math_force_eval): Likewise.
18694 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18696         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18698 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18700         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18701         %ld with %jd and cast to intmax_t.
18702         (do_test_length_zero): Likewise.
18704 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18706         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18708 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18710         * sysdeps/tile/libm-test-ulps: Regenerated.
18712         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18713         Comment out the whole function, not just its body.
18715 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18718         locks.
18720         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18722 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18724         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18725         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18727 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18729         * sysdeps/nptl/futex-internal.h: New file.
18730         * sysdeps/nacl/futex-internal.h: New file.
18731         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18732         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18733         error checking.
18734         (setxid_unmark_thread): Likewise.
18735         (__nptl_setxid): Likewise.
18736         (__wait_lookup_done): Likewise.
18737         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18738         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18739         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18740         * nptl/pthread_once.c (clear_once_control): Likewise.
18741         (__pthread_once_slow): Likewise.
18742         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18743         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18744         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18745         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18746         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18747         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18748         Likewise.
18749         (__pthread_rwlock_rdlock): Likewise.
18750         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18751         Likewise.
18752         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18753         Likewise.
18754         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18755         Likewise.
18756         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18757         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18758         Likewise.
18759         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18760         __ASSUME_PRIVATE_FUTEX check.
18761         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18762         Check that shared futexes are supported.
18763         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18764         wrappers with error checking.
18765         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18766         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18767         * nptl/pthread_barrierattr_setpshared.c
18768         (pthread_barrierattr_setpshared): Check that shared futexes are
18769         supported.
18770         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18771         Likewise.
18772         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18773         Likewise.
18774         * nptl/sem_init.c (futex_private_if_supported): Remove.
18775         (__new_sem_init): Adapt and check that shared futexes are supported.
18776         * nptl/sem_open.c (sem_open): Likewise.
18777         * nptl/sem_post.c (futex_wake): Remove.
18778         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18779         (do_futex_wait): Use futex wrappers with error checking.
18780         * nptl/sem_wait.c: Include lowlevellock.h.
18781         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18782         Use futex_supports_pshared.
18783         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18784         Use futex wrappers with error checking.
18785         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18786         Likewise.
18787         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18788         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18789         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18790         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18791         (futex_wake): Likewise.
18792         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18793         (do_futex_wait): Use futex wrappers with error checking.
18794         (__new_sem_wait_slow): Update EINTR handling.
18795         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18797 2015-07-09  Martin Sebor  <msebor@redhat.com>
18799         [BZ #18435]
18800         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18801         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18802         * nptl/Makefile (test-xfail-tst-once5): Define.
18804 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18806         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18807         * elf/dl-minimal.c: For readability, reorder some definitions and
18808         introduce more page breaks.  Include <stdio.h>.
18809         (__libc_fatal): New function.
18811         * include/unistd.h: Add rtld_hidden_proto for _exit.
18812         * posix/_exit.c: Add rtld_hidden_def.
18813         * sysdeps/mach/hurd/_exit.c: Likewise.
18814         * sysdeps/nacl/_exit.c: Likewise.
18815         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18816         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18818 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18821         bndmov encoding with zero displacement.
18823 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18824             H.J. Lu  <hongjiu.lu@intel.com>
18826         [BZ #18134]
18827         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18828         * sysdeps/i386/configure: Regenerated.
18829         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18830         (_dl_runtime_profile): Save and restore Intel MPX return bound
18831         registers when calling _dl_call_pltexit.  Add
18832         PRESERVE_BND_REGS_PREFIX before return.
18833         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18834         (LRV_BND1_OFFSET): Likewise.
18835         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18836         lrv_bnd1.
18837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18838         typo in bndmov encoding.
18839         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18840         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18841         branch instructions to preserve bounds.
18843 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18846         [GLIBC_2.22]: Add fmemopen.
18848 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18850         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18851         returns an error, also try to use host port from __mach_host_self for
18852         the __vm_wire call.
18853         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18855 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18857         [BZ #18400]
18858         [BZ #18648]
18859         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18860         Fix pr_uid and pr_gid members.
18861         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18862         definition to elf_greg_t.
18864 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18866         [BZ #18383]
18867         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18868         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18869         * sysdeps/arm/configure: Regenerated.
18870         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18871         (test-xfail-tst-tlsalign-static): Variable removed.
18873         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18874         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18875         rather than explicit 'ln -s'.
18877         * resolv/rpc/netdb.h: New file.
18878         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18880 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18882         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18883         length buffers.
18884         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18885         test-skeleton.c.
18887         [BZ #6544]
18888         [BZ #11216]
18889         [BZ #12836]
18890         [BZ #13151]
18891         [BZ #13152]
18892         [BZ #14292]
18893         * include/stdio.h (fmemopen): Remove hidden prototype.
18894         (__fmemopen): Add new hidden prototype.
18895         * libio/Makefile: Add oldfmemopen object.
18896         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18897         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18898         compliance.
18899         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18900         symbol compatibility.
18901         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18902         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18903         fmemopen.
18904         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18905         on append and read mode.
18906         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18907         fmemopen.
18908         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18909         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18910         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18911         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18912         Likewise.
18913         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18914         [GLIBC_2.22]: Likewise.
18915         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18916         Likewise.
18917         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18918         Likewise.
18919         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18920         [GLIBC_2.22]: Likewise.
18921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18922         [GLIBC_2.22]: Likewise.
18923         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18924         [GLIBC_2.22]: Likewise.
18925         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18926         [GLIBC_2.22]: Likewise.
18927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18928         [GLIBC_2.22]: Likewise.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18930         [GLIBC_2.22]: Likewise.
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18932         [GLIBC_2.22]: Likewise.
18933         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18934         Likewise.
18935         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18936         Likewise.
18937         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18938         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18939         [GLIBC_2.22]: Likewise.
18940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18941         [GLIBC_2.22]: Likewise.
18942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18943         [GLIBC_2.22]: Likewise.
18944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18945         [GLIBC_2.22]: Likewise.
18946         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18947         Likewise.
18948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18949         Likewise.
18950         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18951         Likewise.
18952         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18953         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18955 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18957         [BZ #18643]
18958         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18959         IPV6_PATHMTU, and IPV6_DONTFRAG.
18961 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18963         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18964         and _IO_UNBUFFERED.
18965         * libio/oldfileops.c: Likewise.
18966         * libio/wfileops.c: Likewise.
18968 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18970         * nscd/selinux.c: Delete selinux/flask.h include.
18972 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18974         [BZ #18641]
18975         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18976         (putpwent): Likewise.
18977         (getpwnam): Likewise.
18978         (getpwent_r): Likewise.
18979         (getpwuid_r): Likewise.
18980         (getpwnam_r): Likewise.
18981         (fgetpwent_r): Likewise.
18983 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18985         [BZ #18557]
18986         * inet/rcmd.c (__validuser2_sa): Check user first to
18987         short-circuit host check.
18989 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18990             Mikhail Ilin  <m.ilin@samsung.com>
18992         [BZ #17833]
18993         * elf/Makefile (tests): Add tst-nodelete.
18994         (modules-names): Add tst-nodelete-uniquemod.
18995         (tst-nodelete-uniquemod.so-no-z-defs): New.
18996         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18997         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18998         ($(objpfx)tst-nodelete): Likewise.
18999         ($(objpfx)tst-nodelete.out): Likewise.
19000         (LDFLAGS-tst-nodelete): Likewise.
19001         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19002         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19003         implement forced object deletion.
19004         (_dl_close): Pass false to _dl_close_worker.
19005         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19006         * elf/tst-nodelete.cc: New file.
19007         * elf/tst-nodeletelib.cc: Likewise.
19008         * elf/tst-znodeletelib.cc: Likewise.
19009         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19011 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19013         [BZ #18508]
19014         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19015         Depend on $(libdl).
19016         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19017         is not called infinitely times.
19018         (backtrace_helper): New function.
19019         (trace_arg): New struct.
19020         (st1): Enlarge stack size.
19021         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19022         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19023         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19024         Likewise.
19026 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19028         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19030 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19032         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19033         Include sys/types.h instead of bits/types.h.
19034         Remove inclusion of bits/wordsize.h.
19036 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19038         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19039         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19040         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19041         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19042         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19043         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19045 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19047         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19048         link-defines.sym.
19049         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19050         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19051         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19052         and LR_SIZE.
19053         * sysdeps/i386/link-defines.sym: New file.
19055 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19057         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19058         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19059         ($(objpfx)tst-audit3): New rule.
19060         ($(objpfx)tst-audit3.out): Likewise.
19061         * sysdeps/i386/tst-audit3.c: New file.
19062         * sysdeps/i386/tst-audit3.h: Likewise.
19063         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19064         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19066 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19068         [BZ #18633]
19069         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19070         pointer in C code.
19071         (__strcat_c): Likewise.
19072         (__strcat_g): Likewise.
19074 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19076         [BZ #18592]
19077         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19079 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19081         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19082         New function.  (__ieee754_sqrtf): New function.
19083         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19084         New function.
19085         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19086         New function.
19088 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19090         * sysdeps/ieee754/support.c: Remove unused file.
19092 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19094         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19095         registers instead of d ones so the layout is kernel abi compatible.
19096         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19097         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19098         Likewise.
19100 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19102         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19104 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19106         [BZ #18619]
19107         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19108         and return argument in case of subnormal argument.
19110 2015-07-01  Martin Sebor  <msebor@redhat.com>
19112         [BZ #18435]
19113         * nptl/Makefile: Add tst-once5.cc.
19114         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19115         Remove macro redefinitions.
19116         * nptl/tst-once5.cc: New test.
19118 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19120         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19122         * sysdeps/arm/libm-test-ulps: Regenerated.
19124         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19125         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19127 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19129         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19130         lll_lock_wait_private and lll_futex_wake probes.
19132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19134         Likewise.
19135         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19136         atomic_spin_nop.
19137         * sysdeps/x86_64/bits/atomic.h: Likewise.
19138         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19139         to atomic_spin_nop and move ...
19140         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19141         ... here and ...
19142         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19143         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19144         atomic_spin_nop instead of BUSY_WAIT_NOP.
19145         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19146         Likewise.
19147         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19148         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19149         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19150         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19151         instead of atomic_delay.
19153 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19155         [BZ #18613]
19156         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19157         X_ADJ not X when adjusting exponent.
19158         (__ieee754_gamma_r): Do intermediate computations in
19159         round-to-nearest then adjust overflowing and underflowing results
19160         as needed.
19161         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19162         of X_ADJ not X when adjusting exponent.
19163         (__ieee754_gammaf_r): Do intermediate computations in
19164         round-to-nearest then adjust overflowing and underflowing results
19165         as needed.
19166         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19167         log of X_ADJ not X when adjusting exponent.
19168         (__ieee754_gammal_r): Do intermediate computations in
19169         round-to-nearest then adjust overflowing and underflowing results
19170         as needed.  Use 1.0L not 1.0f as numerator of division.
19171         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19172         log of X_ADJ not X when adjusting exponent.
19173         (__ieee754_gammal_r): Do intermediate computations in
19174         round-to-nearest then adjust overflowing and underflowing results
19175         as needed.  Use 1.0L not 1.0f as numerator of division.
19176         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19177         of X_ADJ not X when adjusting exponent.
19178         (__ieee754_gammal_r): Do intermediate computations in
19179         round-to-nearest then adjust overflowing and underflowing results
19180         as needed.  Use 1.0L not 1.0f as numerator of division.
19181         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19182         to auto-libm-test-in.
19183         (tgamma_test): Use ALL_RM_TEST.
19184         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19185         tests of tgamma with spurious-overflow.
19186         * math/auto-libm-test-out: Regenerated.
19187         * math/gen-libm-have-vector-test.sh: Do not check for START.
19188         * sysdeps/i386/fpu/libm-test-ulps: Update.
19189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19191         [BZ #18612]
19192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19193         arguments, just return 0.5 times the argument, with underflow
19194         forced as needed.
19195         * math/auto-libm-test-in: Add more tests of j1.
19196         * math/auto-libm-test-out: Regenerated.
19198         [BZ #16559]
19199         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19200         (__ieee754_j1): Force underflow exception for small results.
19201         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19202         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19203         (__ieee754_j1f): Force underflow exception for small results.
19204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19205         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19207         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19208         (__ieee754_j1l): Force underflow exception for small results.
19209         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19210         * math/auto-libm-test-in: Add more tests of j1 and jn.
19211         * math/auto-libm-test-out: Regenerated.
19213         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19214         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19215         (PF_MPLS): Likewise.
19216         (AF_IB): Likewise.
19217         (AF_MPLS): Likewise.
19218         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19219         value and macro.
19220         (MS_RMT_MASK): Include MS_LAZYTIME.
19222 2015-06-26  Mel Gorman  <mgorman@suse.de>
19224         [BZ #18502]
19225         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19226         already minimal.
19228 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19230         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19231         (DT_MIPS_NUM): Update.
19232         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19233         DT_MIPS_RLD_MAP_REL.
19235 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19237         [BZ #16559]
19238         [BZ #18602]
19239         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19240         round-to-nearest internally then recompute results that
19241         underflowed to zero in the original rounding mode.
19242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19245         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19246         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19247         * sysdeps/i386/fpu/libm-test-ulps: Update.
19248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19250 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19252         * NEWS: Fixed description of link with vector math library.
19254 2015-06-25  Andreas Schwab  <schwab@suse.de>
19256         [BZ #18549]
19257         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19258         * libio/test-fmemopen.c (do_test): Add test for it.
19260 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19262         [BZ #17841]
19263         * Makeconfig (no-pie-ldflag): New.
19264         (+link): Set to $(+link-pie) if default to PIE.
19265         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19266         * config.make.in (build-pie-default): New.
19267         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19268         is default.  AC_SUBST.
19269         * configure: Regenerated.
19270         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19272 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19274         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19275         to 'unsigned int'.
19277         * resolv/gai_misc.h (struct waitlist): Change type of field
19278         counterp to 'volatile unsigned int *'.
19279         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19280         FUTEXADDR and OLDVAL.
19281         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19282         Give local variable TOTAL type 'volatile unsigned int'.
19283         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19284         * resolv/gai_suspend.c (gai_suspend):
19285         Give local variable CNTR type 'unsigned int'.
19287         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19288         counterp to 'volatile unsigned int *'.
19289         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19290         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19291         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19292         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19293         Give local variable TOTAL type 'volatile unsigned int'.
19294         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19296 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19298         [BZ #18383]
19299         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19300         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19301         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19302         comment for i386/x86-64.
19303         (test-xfail-tst-tlsalign-extern-static): Removed.
19305 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19307         * math/test-double.h: New file.
19308         * math/test-float.h: Likewise.
19309         * math/test-ldouble.h: Likewise.
19310         * math/test-math-inline.h: Likewise.
19311         * math/test-math-no-inline.h: Likewise.
19312         * math/test-math-scalar.h: Likewise.
19313         * math/test-math-vector.h: Likewise.
19314         * math/test-vec-loop.h: Remove file.  Contents moved into
19315         test-math-vector.h.
19316         * math/libm-test.inc (MATHCONST): Do not document macro.
19317         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19318         and test-math-scalar.h.
19319         (FUNC): Remove macro.
19320         (FUNC_TEST): Likewise.
19321         (FLOAT): Likewise.
19322         (MATHCONST): Likewise.
19323         (PRINTF_EXPR): Likewise.
19324         (PRINTF_XEXPR): Likewise.
19325         (PRINTF_NEXPR): Likewise.
19326         (TEST_DOUBLE): Likewise.
19327         (TEST_MATHVEC): Likewise.
19328         (__NO_MATH_INLINES): Likewise.
19329         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19330         and test-math-scalar.h.
19331         (FUNC): Remove macro.
19332         (FUNC_TEST): Likewise.
19333         (FLOAT): Likewise.
19334         (MATHCONST): Likewise.
19335         (PRINTF_EXPR): Likewise.
19336         (PRINTF_XEXPR): Likewise.
19337         (PRINTF_NEXPR): Likewise.
19338         (TEST_FLOAT): Likewise.
19339         (TEST_MATHVEC): Likewise.
19340         (__NO_MATH_INLINES): Likewise.
19341         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19342         and test-math-scalar.h.
19343         (FUNC): Remove macro.
19344         (FUNC_TEST): Likewise.
19345         (FLOAT): Likewise.
19346         (MATHCONST): Likewise.
19347         (PRINTF_EXPR): Likewise.
19348         (PRINTF_XEXPR): Likewise.
19349         (PRINTF_NEXPR): Likewise.
19350         (TEST_DOUBLE): Likewise.
19351         (TEST_MATHVEC): Likewise.
19352         (TEST_INLINE): Likewise.
19353         (__NO_MATH_INLINES): Likewise.
19354         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19355         test-math-scalar.h.
19356         (FUNC): Remove macro.
19357         (FUNC_TEST): Likewise.
19358         (FLOAT): Likewise.
19359         (MATHCONST): Likewise.
19360         (PRINTF_EXPR): Likewise.
19361         (PRINTF_XEXPR): Likewise.
19362         (PRINTF_NEXPR): Likewise.
19363         (TEST_FLOAT): Likewise.
19364         (TEST_MATHVEC): Likewise.
19365         (TEST_INLINE): Likewise.
19366         (__NO_MATH_INLINES): Likewise.
19367         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19368         and test-math-scalar.h.
19369         (FUNC): Remove macro.
19370         (FUNC_TEST): Likewise.
19371         (FLOAT): Likewise.
19372         (MATHCONST): Likewise.
19373         (PRINTF_EXPR): Likewise.
19374         (PRINTF_XEXPR): Likewise.
19375         (PRINTF_NEXPR): Likewise.
19376         (TEST_LDOUBLE): Likewise.
19377         (TEST_MATHVEC): Likewise.
19378         (TEST_INLINE): Likewise.
19379         (__NO_MATH_INLINES): Likewise.
19380         * math/test-ldouble.c: Include test-ldouble.h,
19381         test-math-no-inline.h and test-math-scalar.h.
19382         (FUNC): Remove macro.
19383         (FUNC_TEST): Likewise.
19384         (FLOAT): Likewise.
19385         (MATHCONST): Likewise.
19386         (PRINTF_EXPR): Likewise.
19387         (PRINTF_XEXPR): Likewise.
19388         (PRINTF_NEXPR): Likewise.
19389         (TEST_LDOUBLE): Likewise.
19390         (TEST_MATHVEC): Likewise.
19391         (__NO_MATH_INLINES): Likewise.
19392         * math/test-double-vlen2.h: Include test-double.h,
19393         test-math-no-inline.h and test-math-vector.h.
19394         (FLOAT): Remove macro.
19395         (FUNC): Likewise.
19396         (MATHCONST): Likewise.
19397         (PRINTF_EXPR): Likewise.
19398         (PRINTF_XEXPR): Likewise.
19399         (PRINTF_NEXPR): Likewise.
19400         (TEST_DOUBLE): Likewise.
19401         (TEST_MATHVEC): Likewise.
19402         (__NO_MATH_INLINES): Likewise.
19403         (CNCT): Likewise.
19404         (CONCAT): Likewise.
19405         (WRAPPER_NAME): Likewise.
19406         (WRAPPER_DECL): Likewise.
19407         (WRAPPER_DECL_ff): Likewise.
19408         (WRAPPER_DECL_fFF): Likewise.
19409         (VECTOR_WRAPPER): Likewise.
19410         (VECTOR_WRAPPER_ff): Likewise.
19411         (VECTOR_WRAPPER_fFF): Likewise.
19412         (VEC_LEN): New macro.
19413         * math/test-double-vlen4.h: Include test-double.h,
19414         test-math-no-inline.h and test-math-vector.h.
19415         (FLOAT): Remove macro.
19416         (FUNC): Likewise.
19417         (MATHCONST): Likewise.
19418         (PRINTF_EXPR): Likewise.
19419         (PRINTF_XEXPR): Likewise.
19420         (PRINTF_NEXPR): Likewise.
19421         (TEST_DOUBLE): Likewise.
19422         (TEST_MATHVEC): Likewise.
19423         (__NO_MATH_INLINES): Likewise.
19424         (CNCT): Likewise.
19425         (CONCAT): Likewise.
19426         (WRAPPER_NAME): Likewise.
19427         (WRAPPER_DECL): Likewise.
19428         (WRAPPER_DECL_ff): Likewise.
19429         (WRAPPER_DECL_fFF): Likewise.
19430         (VECTOR_WRAPPER): Likewise.
19431         (VECTOR_WRAPPER_ff): Likewise.
19432         (VECTOR_WRAPPER_fFF): Likewise.
19433         (VEC_LEN): New macro.
19434         * math/test-double-vlen8.h: Include test-double.h,
19435         test-math-no-inline.h and test-math-vector.h.
19436         (FLOAT): Remove macro.
19437         (FUNC): Likewise.
19438         (MATHCONST): Likewise.
19439         (PRINTF_EXPR): Likewise.
19440         (PRINTF_XEXPR): Likewise.
19441         (PRINTF_NEXPR): Likewise.
19442         (TEST_DOUBLE): Likewise.
19443         (TEST_MATHVEC): Likewise.
19444         (__NO_MATH_INLINES): Likewise.
19445         (CNCT): Likewise.
19446         (CONCAT): Likewise.
19447         (WRAPPER_NAME): Likewise.
19448         (WRAPPER_DECL): Likewise.
19449         (WRAPPER_DECL_ff): Likewise.
19450         (WRAPPER_DECL_fFF): Likewise.
19451         (VECTOR_WRAPPER): Likewise.
19452         (VECTOR_WRAPPER_ff): Likewise.
19453         (VECTOR_WRAPPER_fFF): Likewise.
19454         (VEC_LEN): New macro.
19455         * math/test-float-vlen4.h: Include test-float.h,
19456         test-math-no-inline.h and test-math-vector.h.
19457         (FLOAT): Remove macro.
19458         (FUNC): Likewise.
19459         (MATHCONST): Likewise.
19460         (PRINTF_EXPR): Likewise.
19461         (PRINTF_XEXPR): Likewise.
19462         (PRINTF_NEXPR): Likewise.
19463         (TEST_FLOAT): Likewise.
19464         (TEST_MATHVEC): Likewise.
19465         (__NO_MATH_INLINES): Likewise.
19466         (CNCT): Likewise.
19467         (CONCAT): Likewise.
19468         (WRAPPER_NAME): Likewise.
19469         (WRAPPER_DECL): Likewise.
19470         (WRAPPER_DECL_ff): Likewise.
19471         (WRAPPER_DECL_fFF): Likewise.
19472         (VECTOR_WRAPPER): Likewise.
19473         (VECTOR_WRAPPER_ff): Likewise.
19474         (VECTOR_WRAPPER_fFF): Likewise.
19475         (VEC_LEN): New macro.
19476         * math/test-float-vlen8.h: Include test-float.h,
19477         test-math-no-inline.h and test-math-vector.h.
19478         (FLOAT): Remove macro.
19479         (FUNC): Likewise.
19480         (MATHCONST): Likewise.
19481         (PRINTF_EXPR): Likewise.
19482         (PRINTF_XEXPR): Likewise.
19483         (PRINTF_NEXPR): Likewise.
19484         (TEST_FLOAT): Likewise.
19485         (TEST_MATHVEC): Likewise.
19486         (__NO_MATH_INLINES): Likewise.
19487         (CNCT): Likewise.
19488         (CONCAT): Likewise.
19489         (WRAPPER_NAME): Likewise.
19490         (WRAPPER_DECL): Likewise.
19491         (WRAPPER_DECL_ff): Likewise.
19492         (WRAPPER_DECL_fFF): Likewise.
19493         (VECTOR_WRAPPER): Likewise.
19494         (VECTOR_WRAPPER_ff): Likewise.
19495         (VECTOR_WRAPPER_fFF): Likewise.
19496         (VEC_LEN): New macro.
19497         * math/test-float-vlen16.h: Include test-float.h,
19498         test-math-no-inline.h and test-math-vector.h.
19499         (FLOAT): Remove macro.
19500         (FUNC): Likewise.
19501         (MATHCONST): Likewise.
19502         (PRINTF_EXPR): Likewise.
19503         (PRINTF_XEXPR): Likewise.
19504         (PRINTF_NEXPR): Likewise.
19505         (TEST_FLOAT): Likewise.
19506         (TEST_MATHVEC): Likewise.
19507         (__NO_MATH_INLINES): Likewise.
19508         (CNCT): Likewise.
19509         (CONCAT): Likewise.
19510         (WRAPPER_NAME): Likewise.
19511         (WRAPPER_DECL): Likewise.
19512         (WRAPPER_DECL_ff): Likewise.
19513         (WRAPPER_DECL_fFF): Likewise.
19514         (VECTOR_WRAPPER): Likewise.
19515         (VECTOR_WRAPPER_ff): Likewise.
19516         (VECTOR_WRAPPER_fFF): Likewise.
19517         (VEC_LEN): New macro.
19518         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19519         test-vec-loop.h.
19520         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19522         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19523         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19526         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19528 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19530         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19531         (__getlogin_r): ... this.
19533 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19535         [BZ #18594]
19536         * math/s_ccosh.c (__ccosh): Compare with least normal value
19537         instead of comparing class with FP_SUBNORMAL.
19538         * math/s_ccoshf.c (__ccoshf): Likewise.
19539         * math/s_ccoshl.c (__ccoshl): Likewise.
19540         * math/s_cexp.c (__cexp): Likewise.
19541         * math/s_cexpf.c (__cexpf): Likewise.
19542         * math/s_cexpl.c (__cexpl): Likewise.
19543         * math/s_csin.c (__csin): Likewise.
19544         * math/s_csinf.c (__csinf): Likewise.
19545         * math/s_csinh.c (__csinh): Likewise.
19546         * math/s_csinhf.c (__csinhf): Likewise.
19547         * math/s_csinhl.c (__csinhl): Likewise.
19548         * math/s_csinl.c (__csinl): Likewise.
19549         * math/s_ctan.c (__ctan): Likewise.
19550         * math/s_ctanf.c (__ctanf): Likewise.
19551         * math/s_ctanh.c (__ctanh): Likewise.
19552         * math/s_ctanhf.c (__ctanhf): Likewise.
19553         * math/s_ctanhl.c (__ctanhl): Likewise.
19554         * math/s_ctanl.c (__ctanl): Likewise.
19555         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19556         csin, csinh, ctan and ctanh.
19557         * math/auto-libm-test-out: Regenerated.
19558         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19559         * sysdeps/i386/fpu/libm-test-ulps: Update.
19560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19562 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19564         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19565         return value is wrong, print the expected value too.
19567 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19569         [BZ #18585]
19570         * elf/readlib.c (is_gdb_python_file): New.
19571         (process_file): Don't issue errors on filenames with -gdb.py
19572         suffix.
19574 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19576         * math/auto-libm-test-in: Add more tests of csin and csinh.
19577         * math/auto-libm-test-out: Regenerated.
19578         * math/libm-test.inc (csin_test_data): Remove tests moved to
19579         auto-libm-test-in.
19580         (csinh_test_data): Likewise.
19582         [BZ #18593]
19583         * math/s_csin.c (__csin): Negate before rather than after possibly
19584         overflowing multiplication.
19585         * math/s_csinf.c (__csinf): Likewise.
19586         * math/s_csinh.c (__csinh): Likewise.
19587         * math/s_csinhf.c (__csinhf): Likewise.
19588         * math/s_csinhl.c (__csinhl): Likewise.
19589         * math/s_csinl.c (__csinl): Likewise.
19590         * math/auto-libm-test-in: Add some tests of csin and csinh.
19591         * math/auto-libm-test-out: Regenerated.
19592         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19593         (csinh_test_data): Likewise.
19594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19596         [BZ #18586]
19597         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19598         underflow exception for small results.
19600 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19602         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19604         variable and included header.
19605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19606         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19613         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19614         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19615         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19616         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19617         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19618         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19619         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19620         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19622 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #16526]
19625         [BZ #16538]
19626         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19627         (__sin): Force underflow exception for arguments with small
19628         absolute value.
19629         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19630         (__kernel_sinf): Force underflow exception for arguments with
19631         small absolute value.
19632         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19633         (__kernel_sincosl): Force underflow exception for arguments with
19634         small absolute value.
19635         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19636         (__kernel_sinl): Force underflow exception for arguments with
19637         small absolute value.
19638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19639         (__kernel_sincosl): Force underflow exception for arguments with
19640         small absolute value.
19641         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19642         (__kernel_sinl): Force underflow exception for arguments with
19643         small absolute value.
19644         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19645         (__kernel_sinl): Force underflow exception for arguments with
19646         small absolute value.
19647         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19648         (__kernel_sinf): Force underflow exception for arguments with
19649         small absolute value.
19650         * math/auto-libm-test-in: Add more tests of sin and sincos.
19651         * math/auto-libm-test-out: Regenerated.
19653         [BZ #18245]
19654         [BZ #18583]
19655         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19656         (__kernel_standard_l): Use feholdexcept and fesetenv around
19657         conversion to double instead of special-casing overflow and
19658         underflow.
19659         * math/libm-test.inc (fmod_test_data): Add more tests.
19660         (remainder_test_data): Likewise.
19661         (sqrt_test_data): Likewise.
19663 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19665         [BZ #17403]
19666         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19667         atomic_read_barrier, atomic_write_barrier): Define.
19668         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19669         atomic_read_barrier, atomic_write_barrier): Define.
19671 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19673         * math/Makefile [$(PERL) != no]
19674         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19675         dependency on libm-test.stmp below the inclusion of Rules.
19677 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19679         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19681         and included header.
19682         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19687         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19689         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19690         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19691         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19692         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19693         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19694         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19695         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19696         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19697         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19698         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19699         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19700         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19702 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #18371]
19705         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19706         intermediate but not final result might underflow.
19707         * math/s_csqrtf.c (__csqrtf): Likewise.
19708         * math/s_csqrtl.c (__csqrtl): Likewise.
19709         * math/auto-libm-test-in: Add more tests of csqrt.
19710         * math/auto-libm-test-out: Regenerated.
19711         * sysdeps/i386/fpu/libm-test-ulps: Update.
19713         [BZ #18219]
19714         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19715         threshold on absolute value of exponent for which scaling is used.
19716         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19717         * math/auto-libm-test-in: Add more tests of exp2.
19718         * math/auto-libm-test-out: Regenerated.
19720 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19722         [BZ #17977]
19723         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19724         when initializing interface list, based on the bug analysis
19725         and the patch proposed by Eric Newton.
19726         * resolv/tst-res_hconf_reorder.c: New test.
19727         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19728         tst-res_hconf_reorder.
19729         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19730         and $(shared-thread-library).
19731         (tst-res_hconf_reorder-ENV): New variable.
19733         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19734         in comment.
19736 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19738         [BZ #16353]
19739         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19740         (__expm1): Force underflow exception for arguments with small
19741         absolute value.
19742         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19743         (__expm1f): Force underflow exception for arguments with small
19744         absolute value.
19745         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19746         (__expm1): Force underflow exception for arguments with small
19747         absolute value.
19748         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19749         (__expm1f): Force underflow exception for arguments with small
19750         absolute value.
19751         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19752         Check for small arguments before calling __expm1.
19753         * math/auto-libm-test-in: Do not mark underflow exceptions as
19754         possibly missing for bug 16353.
19755         * math/auto-libm-test-out: Regenerated.
19757 2015-06-22  Andreas Schwab  <schwab@suse.de>
19759         [BZ #18513]
19760         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19761         PTR queries.
19763 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19765         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19767         * string/strcoll_l.c: Remove unused struct element idxnow.
19769 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19771         [BZ #18569]
19772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19773         underflow and return argument in case of subnormal argument.
19774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19775         Likewise.
19776         * math/auto-libm-test-in: Add more tests of expm1.
19777         * math/auto-libm-test-out: Regenerated.
19779         [BZ #16361]
19780         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19781         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19782         tiny results.
19783         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19784         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19785         tiny results.
19786         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19787         mark underflow exceptions as possibly missing for bug 16361.
19788         * math/auto-libm-test-out: Regenerated.
19790 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19792         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19793         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19794         Remove variable.
19795         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19796         (test-xfail-XOPEN2K8/utmpx.h/conform).
19798         * conform/conformtest.pl ($xerrors): New variable.
19799         (note_error): New function.
19800         (compiletest): New argument $xfail.  Use not_error.
19801         (runtest): Likewise.
19802         (top level): Handle xfail- lines.  Update calls to compiletest and
19803         runtest.  Handle xfail- and optional- in headers listed with
19804         allow-header.
19805         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19806         (O_EXEC): Likewise.
19807         (O_SEARCH): Likewise.
19808         * conform/data/stropts.h-data (ioctl): Likewise.
19809         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19810         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19811         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19812         (msghdr.msg_controllen): Likewise.
19813         (cmsghdr.cmsg_len): Likewise.
19814         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19815         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19816         variable.
19817         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19818         (test-xfail-XPG4/stropts.h/conform): Likewise.
19819         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19820         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19821         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19822         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19823         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19824         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19825         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19826         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19827         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19828         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19829         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19830         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19831         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19832         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19833         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19834         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19835         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19836         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19837         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19839 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19841         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19842         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19843         definitions for proper unfolding of __MATHDECL_VEC.
19845 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19847         * benchtests/bench-strcoll.c:
19848         Include string.h.
19849         (main): Remove unused variable res.
19851 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19853         * timezone/Makefile (%/UTC %/Universal):
19854         Generate test-result files for UTC and Universal.
19856 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19858         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19860 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19862         [BZ #16350]
19863         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19864         for arguments with small absolute value.
19865         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19866         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19867         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19868         (__asinh): Force underflow exception for arguments with small
19869         absolute value.
19870         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19871         (__asinhf): Force underflow exception for arguments with small
19872         absolute value.
19873         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19874         (__asinhl): Force underflow exception for arguments with small
19875         absolute value.
19876         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19877         (__asinhl): Force underflow exception for arguments with small
19878         absolute value.
19879         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19880         (__asinhl): Force underflow exception for arguments with small
19881         absolute value.
19882         * math/auto-libm-test-in: Do not mark underflow exceptions as
19883         possibly missing for bug 16350.
19884         * math/auto-libm-test-out: Regenerated.
19886         * include/bits/ipc.h: Remove file.
19887         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19888         variable.
19889         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19890         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19891         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19892         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19893         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19894         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19895         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19896         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19897         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19899         * math/auto-libm-test-in: Remove spurious underflow allowance for
19900         tests of cexp.
19901         * math/auto-libm-test-out: Regenerated.
19903         [BZ #18558]
19904         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19905         unconditional definition.
19906         (MCAST_BLOCK_SOURCE): Likewise.
19907         (MCAST_UNBLOCK_SOURCE): Likewise.
19908         (MCAST_LEAVE_GROUP): Likewise.
19909         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19910         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19911         (MCAST_MSFILTER): Likewise.
19912         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19913         Remove variable.
19914         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19915         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19916         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19917         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19918         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19920 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19922         * NEWS: Mention addition of x86_64 vector sincosf.
19923         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19924         * math/test-float-vlen4.h: Likewise.
19925         * math/test-float-vlen8.h: Likewise.
19926         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19927         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19929         * sysdeps/x86_64/fpu/Versions: New versions added.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19932         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19933         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19938         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19939         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19940         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19941         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19942         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19943         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19944         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19945         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19946         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19947         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19948         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19949         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19952         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19953         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19955         * NEWS: Mention addition of x86_64 vector sincos.
19956         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19957         * math/math.h (__MATHDECL_VEC): New macro.
19958         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19959         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19960         declaration under condition.
19961         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19962         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19963         TEST_VEC_LOOP change.
19964         * math/test-double-vlen4.h: Likewise.
19965         * math/test-double-vlen8.h: Likewise.
19966         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19967         * math/test-float-vlen4.h: Likewise.
19968         * math/test-float-vlen8.h: Likewise.
19969         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19970         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19972         * sysdeps/x86_64/fpu/Versions: New versions added.
19973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19975         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19977         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19978         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19982         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19983         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19984         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19985         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19986         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19987         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19988         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19989         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19990         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19993         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19994         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19995         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19996         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20000         redirections for powf.
20001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20002         * sysdeps/x86_64/fpu/Versions: New versions added.
20003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20005         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20006         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20012         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20013         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20014         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20015         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20016         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20017         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20018         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20020         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20021         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20022         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20025         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20026         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20027         * math/test-float-vlen16.h: Fixed 2 argument macro.
20028         * math/test-float-vlen4.h: Likewise.
20029         * math/test-float-vlen8.h: Likewise.
20030         * NEWS: Mention addition of x86_64 vector powf.
20032 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20034         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20035         and redefine.
20036         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20037         and redefine.
20038         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20039         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20040         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20042         [BZ #18553]
20043         * resource/getpriority.c (getpriority): Rename to __getpriority
20044         and define as weak alias of __getpriority.
20045         * resource/setpriority.c (setpriority): Rename to __setpriority
20046         and define as weak alias of __setpriority.
20047         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20048         __getpriority and define as weak alias of __getpriority.
20049         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20050         __setpriority and define as weak alias of __setpriority.
20051         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20052         strong name.
20053         (setpriority): Use __setpriority as strong name.
20054         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20055         __getpriority and define as weak alias of __getpriority.
20056         * include/sys/resource.h (__getpriority): Declare.  Use
20057         libc_hidden_proto.
20058         (__setpriority): Likewise.
20059         (getpriority): Don't use libc_hidden_proto.
20060         (setpriority): Likewise.
20061         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20062         getpriority.  Call __setpriority instead of setpriority.
20063         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20064         Remove variable.
20066         [BZ #18547]
20067         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20068         as weak alias of __getttynam.  Use prototype function definition.
20069         Call __setttyent, __getttyent and __endttyent instead of
20070         setttyent, getttyent and endttyent.
20071         (getttyent): Rename to __getttyent and define as weak alias of
20072         __getttyent.  Call __setttyent instead of setttyent.  Call
20073         __fgets_unlocked instead of fgets_unlocked.
20074         (setttyent): Rename to __setttyent and define as weak alias of
20075         __setttyent.
20076         (endttyent): Rename to __endttyent and define as weak alias of
20077         __endttyent.
20078         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20079         (__setttyent): Likewise.
20080         (__endttyent): Likewise.
20081         (getttyent): Don't use libc_hidden_proto.
20082         (setttyent): Likewise.
20083         (endttyent): Likewise.
20084         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20085         __endttyent instead of setttyent, getttyent and endttyent.
20086         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20087         Remove variable.
20089         [BZ #18546]
20090         * socket/recv.c (__recv): Use libc_hidden_def.
20091         * socket/socket.c (__socket): Likewise.
20092         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20093         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20094         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20095         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20096         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20097         libc_hidden_def.
20098         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20099         libc_hidden_weak.
20100         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20101         Use libc_hidden_proto.
20102         (__recv): Likewise.
20103         * socket/Versions (libc): Export __recv and __socket at version
20104         GLIBC_PRIVATE.
20105         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20106         instead of recv.
20107         (init_mq_netlink): Call __socket instead of socket.
20108         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20109         Remove variable.
20111         [BZ #18545]
20112         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20113         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20114         hidden_weak.
20115         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20116         define as alias of __mq_timedsend.  Use hidden_weak.
20117         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20118         __mq_timedsend as strong name.
20119         (mq_timedreceive): Use __mq_timedreceive as strong name.
20120         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20121         (__mq_timedreceive): Likewise.
20122         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20123         __mq_timedreceive instead of mq_timedreceive.
20124         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20125         instead of mq_timedsend.
20126         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20127         Remove variable.
20129         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20130         hidden_def and hidden_weak instead of libc_hidden_def and
20131         libc_hidden_weak.
20132         (top level): Refer to hidden_def in comment.
20133         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20134         macro.  Use it instead of libc_hidden_def.
20135         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20136         specify __GI_* name explicitly.
20137         (mq_timedreceive): Likewise.
20138         (mq_setattr): Likewise.
20140         [BZ #18544]
20141         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20142         __pthread_barrier_init and define as weak alias of
20143         __pthread_barrier_init.
20144         * sysdeps/sparc/nptl/pthread_barrier_init.c
20145         (pthread_barrier_init): Likewise.
20146         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20147         __pthread_barrier_wait and define as weak alias of
20148         __pthread_barrier_wait.
20149         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20150         (pthread_barrier_wait): Likewise.
20151         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20152         (pthread_barrier_wait): Likewise.
20153         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20154         (pthread_barrier_wait): Likewise.
20155         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20156         (pthread_barrier_wait): Likewise.
20157         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20158         __pthread_barrier_wait at version GLIBC_PRIVATE.
20159         * include/pthread.h (__pthread_barrier_init): Declare.
20160         (__pthread_barrier_wait): Likewise.
20161         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20162         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20163         (helper_thread): Likewise.
20164         (init_mq_netlink): Call __pthread_barrier_init instead of
20165         pthread_barrier_init.
20167         [BZ #18542]
20168         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20169         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20170         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20171         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20172         vswscanf.
20173         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20174         Remove variable.
20176         [BZ #18540]
20177         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20178         strong alias of _IO_fflush.  Use libc_hidden_def.
20179         * libio/iofflush_u.c (fflush_unlocked): Rename to
20180         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20181         Use libc_hidden_weak.
20182         * include/stdio.h (__fflush_unlocked): Declare.  Use
20183         libc_hidden_proto.
20184         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20185         fflush_unlocked.
20186         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20187         Remove variable.
20189         [BZ #18539]
20190         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20191         define as weak alias of __addseverity.
20192         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20193         Remove variable.
20194         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20195         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20196         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20198         [BZ #18536]
20199         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20200         (__tfind): Likewise.
20201         (__tdelete): Likewise.
20202         (__twalk): Likewise.
20203         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20204         __twalk to GLIBC_PRIVATE.
20205         * include/search.h (__tsearch): Use libc_hidden_proto.
20206         (__tfind): Likewise.
20207         (__tdelete): Likewise.
20208         (__twalk): Likewise.
20209         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20210         Call __tdelete instead of tdelete.
20211         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20212         tfind.  Call __tsearch instead of tsearch.
20213         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20214         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20215         Remove variable.
20216         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20218         [BZ #18534]
20219         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20220         (dprintf): Define as a weak alias of __dprintf, not a strong
20221         alias.
20222         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20223         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20224         dprintf.
20225         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20226         Remove variable.
20227         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20228         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20230         [BZ #18533]
20231         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20232         not a strong alias.
20233         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20234         Remove variable.
20236         [BZ #18532]
20237         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20238         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20239         (in6addr_loopback): Rename to __in6addr_loopback and define as
20240         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20241         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20242         libc_hidden_proto.
20243         (__in6addr_any): Likewise.
20244         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20245         in6addr_any.
20246         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20247         variable.
20248         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20250 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20252         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20253         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20256         redirections for pow.
20257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20258         * sysdeps/x86_64/fpu/Versions: New versions added.
20259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20261         build of SSE, AVX2 and AVX512 IFUNC versions.
20262         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20263         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20264         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20265         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20269         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20270         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20271         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20272         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20273         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20274         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20275         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20276         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20278         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20279         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20280         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20281         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20282         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20283         * NEWS: Mention addition of x86_64 vector pow.
20285         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20286         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20287         redirections for expf.
20288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20289         * sysdeps/x86_64/fpu/Versions: New versions added.
20290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20292         build of SSE, AVX2 and AVX512 IFUNC versions.
20293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20294         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20295         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20296         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20298         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20299         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20300         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20301         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20302         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20303         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20304         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20305         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20306         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20307         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20308         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20309         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20311         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20312         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20313         * NEWS: Mention addition of x86_64 vector expf.
20315         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20316         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20317         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20318         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20319         redirections for exp.
20320         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20321         * sysdeps/x86_64/fpu/Versions: New versions added.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20323         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20324         build of SSE, AVX2 and AVX512 IFUNC versions.
20325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20326         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20327         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20331         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20332         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20333         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20334         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20335         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20336         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20337         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20338         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20339         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20340         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20341         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20342         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20343         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20344         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20345         * NEWS: Mention addition of x86_64 vector exp.
20347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20349         redirections for logf.
20350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20351         * sysdeps/x86_64/fpu/Versions: New versions added.
20352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20353         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20354         build of SSE, AVX2 and AVX512 IFUNC versions.
20355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20361         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20362         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20363         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20364         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20365         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20366         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20367         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20368         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20369         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20370         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20373         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20374         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20375         * NEWS: Mention addition of x86_64 vector logf.
20377         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20378         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20379         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20380         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20381         redirections for log.
20382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20383         * sysdeps/x86_64/fpu/Versions: New versions added.
20384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20385         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20386         build of SSE, AVX2 and AVX512 IFUNC versions.
20387         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20388         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20389         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20390         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20391         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20392         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20393         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20394         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20395         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20396         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20397         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20398         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20399         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20400         test.
20401         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20404         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20405         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20406         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20407         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20408         * NEWS: Mention addition of x86_64 vector log.
20410 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20412         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20413         cfi_adjust_cfa_offset argument.
20414         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20415         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20417         [BZ #18034]
20418         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20419         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20420         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20421         ordering using ldar.
20422         (_dl_tlsdesc_dynamic): Likewise.
20423         (_dl_tlsdesc_return_lazy): Likewise.
20424         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20425         relaxed atomics instead of volatile and synchronize with release store.
20426         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20427         volatile.
20428         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20430 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20434         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20435         * sysdeps/x86_64/fpu/Versions: New versions added.
20436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20437         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20438         build of SSE, AVX2 and AVX512 IFUNC versions.
20439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20445         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20446         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20447         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20448         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20449         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20450         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20451         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20452         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20453         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20454         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20456         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20457         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20458         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20459         * NEWS: Mention addition of x86_64 vector sinf.
20461 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20463         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20464         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20465         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20466         Remove variable.
20467         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20468         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20470 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20472         [BZ #18530]
20473         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20474         strong alias of _IO_fputs.  Use libc_hidden_def.
20475         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20476         and define as weak alias of __fputs_unlocked.  Use
20477         libc_hidden_weak.
20478         * include/stdio.h (__fputs_unlocked): Declare.  Use
20479         libc_hidden_proto.
20480         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20481         fputs_unlocked.
20483         [BZ #18529]
20484         * resolv/netdb.h [__USE_POSIX]: Change condition to
20485         [__USE_XOPEN2K].
20486         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20487         not expect.
20488         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20489         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20490         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20491         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20492         [XPG4 || UNIX98] (AI_ALL): Likewise.
20493         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20494         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20495         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20496         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20497         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20498         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20499         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20500         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20501         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20502         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20503         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20504         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20505         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20506         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20507         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20508         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20509         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20510         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20511         [XPG4 || UNIX98] (gai_strerror): Likewise.
20512         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20513         [XPG4 || UNIX98] (getnameinfo): Likewise.
20515         [BZ #18528]
20516         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20517         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20518         __USE_XOPEN2K8].
20519         (getgrent): Likewise.
20520         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20521         expect.
20522         [XPG3 || POSIX2008] (endgrent): Likewise.
20523         [XPG3] (setgrent): Likewise.
20524         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20525         variable.
20526         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20528         [BZ #18527]
20529         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20530         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20531         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20532         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20533         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20534         * include/unistd.h (__getlogin_r): Declare.  Use
20535         libc_hidden_proto.
20536         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20537         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20538         variable.
20539         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20540         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20541         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20543 2015-06-12  Martin Sebor  <msebor@redhat.com>
20545         [BZ #18512]
20546         * Makerules (check-install-supported): New target.
20547         (install): Add check-install-supported as a dependency.
20548         * manual/install.texi (Installing the C Library): Document
20549         that overriding prefix and exec_prefix is not supported.
20550         Mention DESTDIR.
20551         * INSTALL: Regenerate from the above.
20553 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20555         [BZ #18519]
20556         * posix/Versions (libc): Export __libc_pread at version
20557         GLIBC_PRIVATE.
20558         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20559         instead of pread.
20560         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20561         variable.
20563         [BZ #18522]
20564         * misc/efgcvt_r.c
20565         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20566         (cvt_symbol): Use weak_alias instead of strong_alias.
20567         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20568         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20569         Remove variable.
20570         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20571         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20573         [BZ #18520]
20574         * inet/herrno.c (h_errno): Rename to __h_errno.
20575         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20576         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20577         to __h_errno instead of h_errno.
20578         * nptl/herrno.c (h_errno): Rename to __h_errno.
20579         (__h_errno_location): Refer to __h_errno not h_errno.
20580         * resolv/Versions (h_errno): Rename to __h_errno.
20581         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20582         Remove variable.
20583         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20585 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20587         * configure.ac: More strict check for AVX512 assembler support.
20588         * configure: Regenerated.
20590         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20591         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20593         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20594         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20595         * sysdeps/x86_64/fpu/Versions: New versions added.
20596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20597         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20598         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20601         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20603         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20605         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20606         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20607         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20608         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20609         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20610         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20611         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20612         test.
20613         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20616         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20617         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20618         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20619         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20620         * NEWS: Mention addition of x86_64 vector sin.
20622 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20624         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20625         comment.
20627 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20629         [BZ #18479]
20630         * nptl/pt-interp.c: New file.
20631         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20632         Add pt-interp.
20633         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20634         $(common-objpfx)runtime-linker.h.
20636 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20638         * Makeconfig (+interp): Remove unused variable.
20639         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20640         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20641         $(elf-objpfx)runtime-linker.h.
20642         ($(elf-objpfx)runtime-linker.h): Rename to
20643         $(common-objpfx)runtime-linker.h and move ...
20644         * Makerules [$(build-shared) = yes]: ... here.
20645         * elf/interp.c: Include <runtime-linker.h> instead of
20646         <elf/runtime-linker.h>.
20648 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20650         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20651         (__gettimeofday_syscall): Remove vsyscall fallback.
20652         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20653         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20654         Add syscall fallback function.
20655         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20656         if vDSO is not present.
20657         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20658         fallback function.
20659         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20660         present.
20661         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20662         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20664 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20666         [BZ #18497]
20667         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20668         of wcscmp.
20669         (wcscmp): Define as weak alias of WCSCMP.
20670         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20671         wcscoll.
20672         (USE_HIDDEN_DEF): Define.
20673         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20674         __wcscoll.  Don't use libc_hidden_weak.
20675         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20676         wcscmp.
20677         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20678         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20679         __GI_wcscmp.
20680         (weak_alias): Undefine and redefine.
20681         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20682         __wcscmp and define as weak alias of __wcscmp.
20683         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20684         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20685         (__wcscoll): Likewise.
20686         (wcscmp): Don't use libc_hidden_proto.
20687         (wcscoll): Likewise.
20688         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20689         wcscoll.
20690         * posix/regexec.c (check_node_accept_bytes): Likewise.
20691         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20692         variable.
20693         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20694         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20696         [BZ #18507]
20697         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20698         __fstatvfs and define as weak alias of __fstatvfs.  Use
20699         libc_hidden_weak.
20700         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20701         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20702         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20703         Define as alias of __fstatvfs, not fstatvfs.
20704         (fstatvfs64): Likewise.
20705         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20706         Define as alias of __statvfs, not statvfs.
20707         (statvfs64): Likewise.
20708         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20709         Remove variable.
20711 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20714         (HAVE_GETCPU_VSYSCALL): Define.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20716         (HAVE_GETCPU_VSYSCALL): Likewise.
20717         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20718         * sysdeps/unix/sysv/linux/sched_getcpu.c
20719         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20720         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20721         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20722         prototype.
20723         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20724         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20725         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20727         Define.
20728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20729         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20731         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20733 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20735         * sysdeps/x86_64/fpu/Makefile: New file.
20736         * sysdeps/x86_64/fpu/Versions: New file.
20737         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20738         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20739         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20740         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20741         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20742         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20743         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20748         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20749         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20750         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20751         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20752         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20753         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20754         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20755         * sysdeps/x86_64/configure: Regenerated.
20756         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20758         * manual/install.texi (Configuring and compiling): Document
20759         --disable-mathvec.
20760         * INSTALL: Regenerated.
20761         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20763         * math/Makefile: Added rules for vector tests.
20764         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20765         declaration under condition.
20766         * math/test-double-vlen2.h: New file.
20767         * math/test-double-vlen4.h: New file.
20768         * math/test-double-vlen8.h: New file.
20769         * math/test-vec-loop.h: Added initialization macro.
20770         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20771         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20772         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20773         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20774         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20776         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20777         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20778         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20779         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20780         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20783         * sysdeps/x86_64/fpu/Versions: New versions added.
20784         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20785         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20786         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20787         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20788         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20791         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20793         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20794         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20795         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20796         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20798         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20801         * NEWS: Mention addition of x86_64 vector cosf.
20803         * math/Makefile: Added CFLAGS for new tests.
20804         * math/test-float-vlen16.h: New file.
20805         * math/test-float-vlen4.h: New file.
20806         * math/test-float-vlen8.h: New file.
20807         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20808         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20810         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20811         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20812         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20813         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20814         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20816         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20817         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20819 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20821         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20822         * locale/programs/ld-ctype.c: Likewise.
20824 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20826         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20827         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20828         bit_ZMM16_31_state): New macro.
20829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20830         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20832 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20834         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20836 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20838         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20840 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20842         [BZ #18498]
20843         * libio/memstream.c (open_memstream): Rename to __open_memstream
20844         and define as weak alias of __open_memstream.
20845         * include/stdio.h (__open_memstream): Declare.  Use
20846         libc_hidden_proto.
20847         (open_memstream): Don't use libc_hidden_proto.
20848         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20849         open_memstream.
20850         * posix/getopt.c (_getopt_internal_r): Likewise.
20851         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20852         variable.
20853         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20854         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20855         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20857         [BZ #18496]
20858         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20859         instead of wcrtomb.
20861         [BZ #18483]
20862         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20863         [__USE_XOPEN2K8].  Remove redundant #endif.
20864         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20865         Remove redundant #if.
20866         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20867         Remove variable.
20868         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20869         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20871         [BZ #18495]
20872         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20873         (__iswlower): Likewise.
20874         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20875         (__iswlower): Likewise.
20876         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20877         instead of towlower.
20878         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20879         instead of iswlower.  Call __towupper instead of towupper.
20880         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20881         instead of iswalnum.
20883 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20885         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20886         errors to stderr.
20888 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20890         [BZ #15661]
20891         [BZ #17322]
20892         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20893         Check for overflow properly.  Check for O_APPEND.  Ignore large
20894         file system block sizes.  Add comments about problems.
20895         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20896         * manual/filesys.texi (Storage Allocation): New node.
20898 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20900         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20901         cancellable syscalls.
20902         (SYS_ify): Add guard to no redefine it.
20903         (INLINE_SYSCALL): Likewise.
20904         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20905         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20906         SYSCALL_CANCEL instead.
20907         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20908         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20909         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20910         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20911         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20912         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20913         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20914         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20915         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20916         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20917         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20918         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20919         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20920         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20921         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20923         Likewise.
20924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20925         (__libc_pread64): Likewise.
20926         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20927         (__libc_preadv): Likewise.
20928         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20929         (__libc_readv64): Likewise.
20930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20931         (__libc_pwrite): Likewise.
20932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20933         (__libc_pwrite64): Likewise.
20934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20935         (__libc_pwritev): Likewise.
20936         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20937         (__libc_pwritev64): Likewise.
20938         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20939         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20940         (sync_file_range): Likewise.
20941         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20942         Likewise.
20943         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20944         Likewise.
20945         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20946         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20947         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20948         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20949         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20950         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20951         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20952         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20954         Likewise.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20956         (__libc_read64): Likewise.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20958         Likewise.
20959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20960         Likewise.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20962         Likewise.
20963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20964         Likewise.
20965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20966         (__libc_pread64): Likewise.
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20968         Likewise.
20969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20970         (__libc_pwrite64): Likewise.
20971         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20972         (sync_file_range): Likewise.
20973         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20974         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20975         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20976         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20977         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20978         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20979         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20980         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20981         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20982         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20983         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20984         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20985         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20986         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20987         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20988         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20989         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20990         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20991         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20992         Likewise.
20993         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20994         Likewise.
20995         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20996         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20997         Likewise.
20998         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20999         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21000         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21001         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21002         Likewise.
21003         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21004         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21005         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21006         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21007         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21009 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21011         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21012         Include dl-vdso.
21013         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21014         Use VDSO routines for gettimeofday, clock_gettime if
21015         available.
21016         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21017         Declare VDSO symbols.
21018         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21019         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21020         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21021         * sysdeps/unix/sysv/linux/arm/Versions: Add
21022         __vdso_clock_gettime.
21024 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21026         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21027         be an inline implementation regardless of library is built within.
21028         (open_not_cancel_2): Likewise.
21029         (__read_nocancel): Likewise.
21030         (__write_nocancel): Likewise.
21031         (openat_not_cancel): Likewise.
21032         (openat_not_cancel_3): Likewise.
21033         (openat64_not_cancel): Likewise.
21034         (openat64_not_cancel_3): Likewise.
21035         (__close_nocancel): Likewise.
21036         (pause_not_cancel): Likewise.
21037         (nanosleep_not_cancel): Likewise.
21038         (sigsuspend_not_cancel): Likewise.
21040 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21042         [BZ #14958]
21043         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21044         wake-up.
21045         (__pthread_rwlock_rdlock_slow): Likewise.
21046         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21047         Likewise.
21048         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21049         Likewise.
21050         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21051         * nptl/tst-rwlock16.c: New file.
21052         * nptl/Makefile (tests): Add new test.
21054 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21056         [BZ #18324]
21057         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21058         missing wake-up of readers.
21059         * nptl/tst-rwlock15.c: New file.
21060         * nptl/Makefile (tests): Add new test.
21062 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21064         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21065         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21066         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21067         and __nacl_supply_interface_rtld.
21068         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21069         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21070         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21071         Add __nacl_supply_interface_rtld.
21072         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21074 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21077         isfinite.
21078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21079         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21081 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21083         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21084         __signbit* with standard C99 macros.
21085         * math/e_exp10l.c: Likewise.
21086         * math/e_exp2l.c: Likewise.
21087         * math/e_scalb.c: Likewise.
21088         * math/e_scalbf.c: Likewise.
21089         * math/e_scalbl.c: Likewise.
21090         * math/s_ldexp.c: Likewise.
21091         * math/s_ldexpf.c: Likewise.
21092         * math/s_ldexpl.c: Likewise.
21093         * math/w_atan2.c: Likewise.
21094         * math/w_atan2f.c: Likewise.
21095         * math/w_atan2l.c: Likewise.
21096         * math/w_cosh.c: Likewise.
21097         * math/w_coshf.c: Likewise.
21098         * math/w_coshl.c: Likewise.
21099         * math/w_exp10.c: Likewise.
21100         * math/w_exp10f.c: Likewise.
21101         * math/w_exp10l.c: Likewise.
21102         * math/w_exp2.c: Likewise.
21103         * math/w_exp2f.c: Likewise.
21104         * math/w_exp2l.c: Likewise.
21105         * math/w_fmod.c: Likewise.
21106         * math/w_fmodf.c: Likewise.
21107         * math/w_fmodl.c: Likewise.
21108         * math/w_hypot.c: Likewise.
21109         * math/w_hypotf.c: Likewise.
21110         * math/w_hypotl.c: Likewise.
21111         * math/w_jnl.c: Likewise.
21112         * math/w_lgamma.c: Likewise.
21113         * math/w_lgamma_r.c: Likewise.
21114         * math/w_lgammaf.c: Likewise.
21115         * math/w_lgammaf_r.c: Likewise.
21116         * math/w_lgammal.c: Likewise.
21117         * math/w_lgammal_r.c: Likewise.
21118         * math/w_pow.c: Likewise.
21119         * math/w_powf.c: Likewise.
21120         * math/w_powl.c: Likewise.
21121         * math/w_remainder.c: Likewise.
21122         * math/w_remainderf.c: Likewise.
21123         * math/w_remainderl.c: Likewise.
21124         * math/w_scalb.c: Likewise.
21125         * math/w_scalbf.c: Likewise.
21126         * math/w_scalbl.c: Likewise.
21127         * math/w_scalbln.c: Likewise.
21128         * math/w_scalblnf.c: Likewise.
21129         * math/w_scalblnl.c: Likewise.
21130         * math/w_sinh.c: Likewise.
21131         * math/w_sinhf.c: Likewise.
21132         * math/w_sinhl.c: Likewise.
21133         * math/w_tgamma.c: Likewise.
21134         * math/w_tgammaf.c: Likewise.
21135         * math/w_tgammal.c: Likewise.
21136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21137         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21138         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21141         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21142         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21143         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21146         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21147         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21148         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21151         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21152         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21153         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21154         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21157         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21160         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21161         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21162         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21163         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21164         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21165         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21166         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21167         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21168         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21169         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21170         * stdio-common/printf_fp.c: Likewise.
21171         * stdio-common/printf_fphex.c: Likewise.
21172         * stdio-common/printf_size.c: Likewise.
21174 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21176         [BZ #18470]
21177         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21178         strnlen.
21179         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21180         Remove variable.
21181         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21182         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21183         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21184         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21185         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21186         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21187         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21188         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21189         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21190         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21192         [BZ #18468]
21193         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21194         weak alias of __wmemchr.  Use libc_hidden_weak.
21195         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21196         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21197         instead of wmemchr.
21199 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21201         [BZ #18383]
21202         * elf/tst-tlsalign-extern.c: New file.
21203         * elf/tst-tlsalign-extern-static.c: New file.
21204         * elf/tst-tlsalign-vars.c: New file.
21205         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21206         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21207         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21208         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21209         (test-xfail-tst-tlsalign-extern-static): New variable.
21211 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21213         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21214         Use variable name _sc_err instead of err.
21215         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21216         instead of ret.
21217         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21218         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21219         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21220         (INLINE_SYSCALL): Likewise.
21222         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21223         * include/string.h (__strnlen): Use libc_hidden_proto.
21224         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21225         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21226         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21227         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21228         (libc_hidden_def): Undefine and redefine.
21229         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21230         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21231         __GI_strnlen.
21232         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21233         libc_hidden_def.
21234         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21236         [BZ #18469]
21237         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21238         weak alias of __towlower.  Use libc_hidden_weak.
21239         (towupper): Rename to __towupper and define as weak alias of
21240         __towupper.  Use libc_hidden_weak.
21241         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21242         (__towupper): Likewise.
21243         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21244         __towlower instead of towlower.
21246 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21248         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21249         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21251 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21253         * sysdeps/aarch64/libm-test-ulps: Update.
21255 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21257         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21258         Define.
21259         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21261         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21262         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21263         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21264         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21265         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21267 2015-06-01  Martin Sebor  <msebor@redhat.com>
21269         [BZ #18116]
21270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21271         (__setcontext): Use extended four-operand version of mtsf whenever
21272         possible.
21273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21274         (__novec_swapcontext): Likewise.
21276 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21278         * benchtests/scripts/compare_bench.py: New file.
21279         * benchtests/scripts/import_bench.py (mean): New function.
21280         (split_list): Likewise.
21281         (do_for_all_timings): Likewise.
21282         (compress_timings): Likewise.
21284         * benchtests/scripts/import_bench.py: New file.
21285         * benchtests/scripts/validate_benchout.py: Import import_bench
21286         instead of jsonschema.
21287         (validate_bench): Remove function.
21288         (main): Use import_bench.
21290 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21292         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21293         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21295 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21299 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21301         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21302         set THREAD_SELF->tid to a magic value and futex-wake it.
21303         Pass its address to the thread_exit system call.
21304         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21305         bit is clear.
21306         * sysdeps/nacl/lowlevellock.h: New file.
21307         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21309         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21310         Add TIMEOUT to current time, don't subtract it.
21312 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21314         [BZ #2981]
21315         [BZ #18422]
21316         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21317         ($(objpfx)tst-audit2.out): Also depend on
21318         $(objpfx)tst-auditmod9b.so.
21319         * elf/tst-audit2.c: Include <dlfcn.h>.
21320         (calloc_called): New.
21321         (calloc): Allow to be called more than once.
21322         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21324 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21326         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21327         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21329 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21331         * stdlib/monetary.h: Fix comment.
21333 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21335         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21336         Avoid using variables in #defines that might cause shadowing.
21337         (INTERNAL_VSYSCALL_CALL): Likewise.
21339 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21341         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21343         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21344         * nptl/lll_timedlock_wait.c: ... to this new file.
21345         * nptl/Makefile (libpthread-routines): Add it.
21346         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21347         * nptl/lll_timedwait_tid.c: ... to this new file.
21348         * nptl/Makefile (libpthread-routines): Add it.
21349         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21350         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21351         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21352         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21353         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21354         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21355         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21356         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21357         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21358         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21360 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21362         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21363         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21364         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21366         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21368         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21370         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21371         * sysdeps/unix/sysv/linux/tile/sysdep.h
21372         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21373         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21374         using vDSO syscall macro.
21376 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21378         [BZ #17293]
21379         * uk_UA: Fix sorting order for Ukrainian locale
21381 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21383         * stdlib/monetary.h: Fix comment.
21385 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21387         [BZ #18234]
21388         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21389         st_mtim and st_ctim members.
21390         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21391         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21392         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21393         (struct stat64): Likewise.
21394         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21395         (struct stat64): Likewise.
21396         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21397         (struct stat64): Likewise.
21399 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21401         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21402         Define and include sysdep-vdso.h.
21403         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21404         Likewise.
21405         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21406         Likewise.
21407         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21408         Define with VDSO_SYMBOL and use PTR_MANGLE.
21409         (__vdso_clock_gettime): Likewise.
21410         (__vdso_clock_getres): Likewise.
21411         (_libc_vdso_platform_setup): Likewise.
21412         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21413         Likewise.
21414         (_libc_vdso_platform_setup): Likewise.
21415         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21416         Likewise.
21417         (__vdso_clock_gettime): Likewise.
21418         (__vdso_clock_getres): Likewise.
21419         (__vdso_get_tbfreq): Likewise.
21420         (__vdso_getcpu): Likewise.
21421         (__vdso_time): Likewise.
21422         (__vdso_sigtramp_rt64): Likewise.
21423         (__vdso_signtramp32): Likewise.
21424         (__vdso_sigtramp_rt32): Likewise.
21425         (_libc_vdso_platform_setup): Likewise.
21426         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21427         Likewise.
21428         (__vdso_clock_gettime): Likewise.
21429         (__vdso_clock_getres): Likewise.
21430         (_libc_vdso_platform_setup): Likewise.
21431         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21432         Likewise.
21433         (__vdso_clock_gettime): Likewise.
21434         (_libc_vdso_platform_setup): Likewise.
21435         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21436         Likewise.
21437         (__vdso_getcpu): Likewise.
21438         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21439         Use VDSO_SYMBOL macro to define.
21440         (__vdso_clock_gettime): Likewise.
21441         (__vdso_clock_getres): Likewise.
21442         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21443         Likewise.
21444         (__vdso_clock_gettime): Likewise.
21445         (__vdso_clock_getres): Likewise.
21446         (__vdso_get_tbfreq): Likewise.
21447         (__vdso_getcpu): Likewise.
21448         (__vdso_time): Likewise.
21449         (__vdso_sigtramp_rt64): Likewise.
21450         (__vdso_signtramp32): Likewise.
21451         (__vdso_sigtramp_rt32): Likewise.
21452         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21453         Likewise.
21454         (__vdso_clock_gettime): Likewise.
21455         (__vdso_clock_getres): Likewise.
21456         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21457         Likewise.
21458         (__vdso_clock_gettime): Likewise.
21459         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21460         Likewise.
21461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21462         macro.
21463         (INTERNAL_VSYSCALL): Likewise.
21464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21465         Remove macro.
21466         (INTERNAL_VSYSCALL): Likewise.
21467         (INTERNAL_VSYSCALL_NCS): Likewise.
21468         (INTERNAL_VSYSCALL_CALL): New macro.
21469         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21471         Likewise.
21472         (INTERNAL_VSYSCALL): Likewise.
21473         (INTERNAL_VSYSCALL_NCS): Likewise.
21474         (INTERNAL_VSYSCALL_CALL): New macro.
21475         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21477         (INLINE_VSYSCALL): Remove macro.
21478         (INTERNAL_VSYSCALL): Remove macro.
21479         (INTERNAL_VSYSCALL_NCS): Remove macro.
21480         (INTERNAL_VSYSCALL_CALL): New macro.
21481         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21482         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21483         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21484         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21485         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21487         (INLINE_VSYSCALL): Remove macro.
21488         (INTERNAL_VSYSCALL): Likewise.
21489         (INTERNAL_VSYSCALL_NCS): Likewise.
21490         (INTERNAL_VSYSCALL_CALL): New macro.
21491         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21492         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21493         PTR_DEMANGLE on vDSO pointer.
21494         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21495         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21496         macro.
21497         (INTERNAL_SYSCALL): Likewise.
21498         (INTERNAL_VSYSCALL_NCS): Remove macro.
21499         (INTERNAL_VSYSCALL_CALL): New macro.
21500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21501         Remove macro.
21502         (INTERNAL_VSYSCALL): Likewise.
21503         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21504         sysdep-vdso.h instead of libc-vdso.h.
21505         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21506         definition.
21507         (INLINE_VSYSCALL): Likewise.
21508         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21509         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21510         definition.
21511         (INLINE_VSYSCALL): Likewise.
21512         (INTERNAL_VSYSCALL): Likewise.
21513         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21514         * sysdeps/unix/sysv/linux/timespec_get.c
21515         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21516         (timespec_get): Use ANSI prototype.
21517         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21518         and definition for Linux.
21520 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21522         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21523         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21525 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21527         [BZ #2981]
21528         [BZ #18410]
21529         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21530         for missing DT_PLTRELSZ.
21532 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21534         Remove obsolete aliases that broke 'locale -a'
21535         [BZ #18412]
21536         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21537         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21538         breaking some applications that use 'locale -a' output.
21539         Change the encoding of this file from Latin-1 to ASCII to avoid
21540         other potential problems with people grepping this file.
21542 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21544         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21545         -fasynchronous-unwind-tables.
21546         (CFLAGS-sendto.c): Likewise.
21547         (CFLAGS-sendmsg.c): Likewise.
21548         (CFLAGS-connect.c): Likewise.
21549         (CFLAGS-recvmsg.c): Likewise.
21550         (CFLAGS-recvfrom.c): Likewise.
21551         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21552         (SOCKETCALL): New macro: non-cancellable socketcall.
21553         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21555         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21556         * sysdeps/unix/sysv/linux/accept.c: New file.
21557         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21558         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21559         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21560         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21561         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21562         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21563         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21564         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21565         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21566         * sysdeps/unix/sysv/linux/send.c: Likewise.
21567         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21568         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21569         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21570         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21571         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21572         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21573         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21574         prototype.
21575         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21576         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21577         instead of __internal_xxx function.
21578         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21579         prototype.
21580         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21581         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21582         instead of __internal_xxx function.
21583         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21584         prototype.
21585         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21586         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21587         instead of __internal_xxx function.
21588         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21589         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21590         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21591         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21592         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21593         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21594         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21595         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21596         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21597         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21598         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21599         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21600         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21601         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21602         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21603         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21604         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21605         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21606         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21607         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21610         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21611         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21612         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21613         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21614         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21615         * sysdeps/unix/sysv/linux/send.S: Likewise.
21616         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21617         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21618         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21619         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21620         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21621         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21622         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21623         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21624         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21625         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21626         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21627         socketcall is implemented in GLIBC.
21629 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21631         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21632         (__fma): Ignore uninitialized warnings around packing.
21633         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21634         (__fmaf): Ignore uninitialized warnings around packing.
21635         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21636         (__fmal): Ignore uninitialized warnings around packing.
21638         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21639         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21641         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21643         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21644         switch statement into default case.
21645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21647         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21648         a conditional in forcing "inexact".
21649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21650         Likewise.
21652 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21654         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21655         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21656         for each INTERNAL_SYSCALL use.
21658 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #438]
21661         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21662         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21663         variable.
21665         [BZ #18444]
21666         * string/basename.c (basename): Rename to __basename and define as
21667         weak alias of __basename.  Use libc_hidden_weak.
21668         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21669         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21670         __basename instead of basename.
21671         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21672         Remove variable.
21673         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21675 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21677         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21678         (_IO_JUMPS_FILE_plus): New.
21679         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21680         _IO_CAST_FIELD_ACCESS.
21681         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21682         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21683         * libio/freopen.c (freopen): Likewise.
21684         * libio/freopen64.c (freopen64): Likewise.
21685         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21686         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21687         * libio/iofwide.c (_IO_fwide): Likewise.
21688         * libio/memstream.c (open_memstream): Likewise.
21689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21690         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21691         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21693 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21695         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21696         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21697         NADJ.
21698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21699         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21700         NADJ.
21701         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21702         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21703         NADJ.
21705         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21706         (p == 4) case.
21708         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21709         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21710         Remove variable.
21711         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21712         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21713         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21715 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21717         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21718         Adjust jump table label generation macros.
21720 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21722         * stdio-common/vfprintf.c (vfprintf): Move local variables
21723         args_malloced, specs, specs_malloced, and the code after
21724         do_positional to the printf_positional function.
21725         (printf_positional): New function.
21727 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21729         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21730         function.
21731         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21732         STEP4_TABLE, process_arg): Move macro definitions
21733         out of the vfprintf function.  (Cosmetic change only.)
21735 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21737         * benchtests/Makefile (stdio-common-bench): Define.
21738         (benchset): Add stdio-common-bench.
21739         * sprintf-inputs: New file.
21740         * sprintf-source.c: New file.
21742 2015-05-21  Andreas Schwab  <schwab@suse.de>
21744         [BZ #13028]
21745         [BZ #17053]
21746         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21747         of struct __res_state.
21748         * resolv/res_send.c (__libc_res_nsend): Likewise.
21749         (get_nsaddr): New function.
21750         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21751         statp directly.
21753 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21755         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21756         -D_POSIX_C_SOURCE=199506L.
21758         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21760         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21761         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21762         Do not mention otherwise.
21763         [POSIX] (_XOPEN_VERSION): Do not expect.
21764         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21765         [POSIX] (_POSIX2_C_BIND): Likewise.
21766         [POSIX] (_POSIX2_VERSION): Likewise.
21767         [POSIX] (_XOPEN_XPG2): Likewise.
21768         [POSIX] (_XOPEN_XPG3): Likewise.
21769         [POSIX] (_XOPEN_XPG4): Likewise.
21770         [POSIX] (_XOPEN_UNIX): Likewise.
21771         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21772         [POSIX] (_POSIX_BARRIERS): Likewise.
21773         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21774         [POSIX] (_POSIX_CPUTIME): Likewise.
21775         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21776         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21777         [POSIX] (_POSIX_SHELL): Likewise.
21778         [POSIX] (_POSIX_SPAWN): Likewise.
21779         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21780         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21781         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21782         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21783         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21784         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21785         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21786         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21787         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21788         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21789         [POSIX] (_POSIX2_PBS): Likewise.
21790         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21791         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21792         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21793         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21794         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21795         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21796         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21797         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21798         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21799         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21800         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21801         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21802         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21803         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21804         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21805         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21806         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21807         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21808         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21809         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21810         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21811         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21812         [POSIX] (_SC_2_C_BIND): Likewise.
21813         [POSIX] (_SC_2_C_VERSION): Likewise.
21814         [POSIX] (_SC_2_PBS): Likewise.
21815         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21816         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21817         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21818         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21819         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21820         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21821         [POSIX] (_SC_BARRIERS): Likewise.
21822         [POSIX] (_SC_BASE): Likewise.
21823         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21824         [POSIX] (_SC_DEVICE_IO): Likewise.
21825         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21826         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21827         [POSIX] (_SC_FD_MGMT): Likewise.
21828         [POSIX] (_SC_FIFO): Likewise.
21829         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21830         [POSIX] (_SC_FILE_LOCKING): Likewise.
21831         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21832         [POSIX] (_SC_IOV_MAX): Likewise.
21833         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21834         [POSIX] (_SC_NETWORKING): Likewise.
21835         [POSIX] (_SC_PAGE_SIZE): Likewise.
21836         [POSIX] (_SC_PASS_MAX): Likewise.
21837         [POSIX] (_SC_PIPE): Likewise.
21838         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21839         [POSIX] (_SC_REGEXP): Likewise.
21840         [POSIX] (_SC_SHELL): Likewise.
21841         [POSIX] (_SC_SIGNALS): Likewise.
21842         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21843         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21844         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21845         [POSIX] (_SC_USER_GROUPS): Likewise.
21846         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21847         [POSIX] (_SC_STREAMS): Likewise.
21848         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21849         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21850         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21851         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21852         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21853         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21854         [POSIX] (_PC_FILESIZEBITS): Likewise.
21855         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21856         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21857         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21858         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21859         [POSIX] (uid_t): Likewise.
21860         [POSIX] (gid_t): Likewise.
21861         [POSIX] (off_t): Likewise.
21862         [POSIX] (pid_t): Likewise.
21863         [POSIX] (cuserid): Allow.
21864         (_SC_2_CHAR_TERM): Require constant.
21865         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21866         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21867         variable.
21869 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21871         * sysdeps/nacl/pthread-pids.h: New file.
21872         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21873         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21875         * nptl/pthread-pids.h: New file.
21876         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21877         * nptl/nptl-init.c: Include <pthread-pids.h>.
21878         (__pthread_initialize_minimal_internal):
21879         Call __pthread_initialize_pids instead of set_tid_address syscall.
21881         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21882         * sysdeps/posix/usleep.c: ... here.
21884 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21886         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21887         call_pselect6 object.
21888         [$(subdir) = io]: Remove call_sync_file_range object.
21889         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21890         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21891         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21892         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21894 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21896         * math/s_cproj.c: Add include "math_private.h".
21897         * math/s_cprojf.c: Likewise.
21898         * math/s_cprojl.c: Likewise.
21900 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21902         [BZ #18244]
21903         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21904         high mantissa bit when testing whether P is a NaN.
21905         * math/libm-test.inc (remainder_test_data): Add more tests.
21906         (remquo_test_data): Likewise.
21908         [BZ #18049]
21909         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21910         below -32, return the argument, with underflow if subnormal.
21911         * math/auto-libm-test-in: Add more tests of atanh.
21912         * math/auto-libm-test-out: Regenerated.
21914 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21916         [BZ #18434]
21917         * nptl/tst-sem15.c: New file.
21918         * nptl/Makefile (tests): Add it.
21919         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21920         s/<</>>/ to fix typo in EOVERFLOW check.
21921         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21923 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21925         * manual/strings.texi (envz_remove): Fix typo in safety
21926         annotations.
21928 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21929             Steve Ellcey  <sellcey@imgtec.com>
21931         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21932         in order to avoid strict alias warnings.
21933         (iruserok_af): Ditto for ra.
21935 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21937         [BZ #17581]
21938         * malloc/hooks.c
21939         (magicbyte): Convert to a function and avoid returning 0x01.
21940         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21941         (mem2chunk_check): Fix unsigned comparisons to zero.
21942         Hoist defs of sz and magic.
21944 2015-05-19  Richard Henderson  <rth@redhat.com>
21946         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21948         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21950 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21952         [BZ #16159]
21953         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21954         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21955         (reused_arena): Find a non-corrupt arena.
21956         (heap_trim): Pass arena to unlink.
21957         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21958         malloc_printerr.
21959         (top_check): Likewise.
21960         (free_check): Likewise.
21961         (realloc_check): Likewise.
21962         * malloc/malloc.c (malloc_printerr): Add arena argument.
21963         (unlink): Likewise.
21964         (munmap_chunk): Adjust.
21965         (ARENA_CORRUPTION_BIT): New macro.
21966         (arena_is_corrupt): Likewise.
21967         (set_arena_corrupt): Likewise.
21968         (sysmalloc): Use mmap if there are no usable arenas.
21969         (_int_malloc): Likewise.
21970         (__libc_malloc): Don't fail if arena_get returns NULL.
21971         (_mid_memalign): Likewise.
21972         (__libc_calloc): Likewise.
21973         (__libc_realloc): Adjust for additional argument to
21974         malloc_printerr.
21975         (_int_free): Likewise.
21976         (malloc_consolidate): Likewise.
21977         (_int_realloc): Likewise.
21978         (_int_memalign): Don't touch corrupt arenas.
21979         * malloc/tst-malloc-backtrace.c: New test case.
21981         * Makefile (summarize-tests): Fix return value on success.
21983         * manual/string.texi (Envz Functions): Add envz_remove.
21985 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21987         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21988         (invalid_name): New function, broken out of ...
21989         (__opendirat): ... here.  Call it.
21990         (need_isdir_precheck): New function, broken out of ...
21991         (__opendirat): ... here.  Call it.
21992         Use __fxstatat64, not __xstatat64.
21993         (opendir_oflags): New function, broken out of ...
21994         (__opendirat): ... here.  Call it.
21995         (opendir_tail): New function, broken out of ...
21996         (__opendirat): ... here.  Call it.
21997         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21998         opendir_tail, rather than punting to __opendirat.
21999         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22001 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22003         * .gitignore: Ignore generated *.pyc.
22005 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22007         * include/stdio.h: Define __need_wint_t.
22008         * test-skeleton.c: Avoid `for' loop initial declaration.
22009         * nptl/tst-initializers1.c: Use test-skeleton.c.
22011 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22013         [BZ #18418]
22014         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22016 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #16352]
22019         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22020         (__ieee754_atanh): Force underflow exception for results with
22021         small absolute value.
22022         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22023         (__ieee754_atanhf): Force underflow exception for results with
22024         small absolute value.
22025         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22026         (__ieee754_atanh): Force underflow exception for results with
22027         small absolute value.
22028         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22029         (__ieee754_atanhf): Force underflow exception for results with
22030         small absolute value.
22031         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22032         (__ieee754_atanhl): Force underflow exception for results with
22033         small absolute value.
22034         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22035         (__ieee754_atanhl): Force underflow exception for results with
22036         small absolute value.
22037         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22038         (__ieee754_atanhl): Force underflow exception for results with
22039         small absolute value.
22040         * math/auto-libm-test-in: Do not allow missing underflow
22041         exceptions from atanh.
22042         * math/auto-libm-test-out: Regenerated.
22044         [BZ #18221]
22045         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22046         2**-28 as threshold for returning x or +/- 1/x.
22047         * math/auto-libm-test-in: Add more tests of tan.
22048         * math/auto-libm-test-out: Regenerated.
22050         [BZ #18220]
22051         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22052         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22053         * math/auto-libm-test-in: Add another test of lgamma.
22054         * math/auto-libm-test-out: Regenerated.
22056 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22058         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22059         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22060         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22061         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22062         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22063         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22064         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22067         (log1): Use fabs.  (my_log2): Use fabs.
22068         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22069         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22071         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22073         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22074         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22075         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22076         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22077         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22078         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22080 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22082         [BZ #18217]
22083         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22084         as threshold for returning 1 - x.
22085         * math/auto-libm-test-in: Add more tests of erfc.
22086         * math/auto-libm-test-out: Regenerated.
22088 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22090         [BZ #18196]
22091         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22092         threshold for large arguments.
22093         * math/auto-libm-test-in: Add another test of atan.
22094         * math/auto-libm-test-out: Regenerated.
22096         [BZ #16339]
22097         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22098         (__log1p): Force underflow exception for results with small
22099         absolute value.
22100         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22101         (__log1pf): Force underflow exception for results with small
22102         absolute value.
22103         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22104         (__log1p): Force underflow exception for results with small
22105         absolute value.
22106         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22107         (__log1pf): Force underflow exception for results with small
22108         absolute value.
22109         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22110         (__log1pl): Force underflow exception for results with small
22111         absolute value.
22112         * math/auto-libm-test-in: Do not allow missing underflow
22113         exceptions from log1p.
22114         * math/auto-libm-test-out: Regenerated.
22116 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22117             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22119         [BZ #16704]
22120         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22122 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22124         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22125         (libmvec): New variable.
22126         * configure.ac: Added option for mathvec build.
22127         * configure: Regenerated.
22128         * mathvec/Depend: New file.
22129         * mathvec/Makefile: New file.
22130         * shlib-versions: Added libmvec.
22131         * math/Makefile: Added rule for libm.so installation.
22133         * bits/math-vector.h: New file.
22134         * bits/libm-simd-decl-stubs.h: New header.
22135         * math/Makefile (headers): Added new header
22136         libm-simd-decl-stubs.h.
22137         * math/math.h (__MATHCALL_VEC): New macro.
22139         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22140         for conditions in testing functions.
22141         * math/Makefile: Added call of libm-have-vector-test.sh.
22142         * math/libm-test.inc (HAVE_VECTOR): New macros.
22144         * math/libm-test.inc: START refactored.
22145         * math/test-double.c (TEST_MATHVEC): Add define.
22146         * math/test-float.c: Likewise.
22147         * math/test-idouble.c: Likewise.
22148         * math/test-ifloat.c: Likewise.
22149         * math/test-ildoubl.c: Likewise.
22150         * math/test-ldouble.c: Likewise.
22151         * sysdeps/generic/math-tests-arch.h
22152         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22153         architecture check.
22155         * math/test-double.c (FUNC_TEST): New macro.
22156         * math/test-float.c: Likewise.
22157         * math/test-idouble.c: Likewise.
22158         * math/test-ifloat.c: Likewise.
22159         * math/test-ildoubl.c: Likewise.
22160         * math/test-ldouble.c: Likewise.
22161         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22163 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22165         * sysdeps/nacl/fdopendir.c: New file.
22167         * dirent/scandir-tail.c: New file.
22168         * dirent/scandir64-tail.c: New file.
22169         * dirent/Makefile (routines): Add them.
22170         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22171         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22172         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22173         [!SCANDIR] (SCANDIR_TAIL): New macro.
22174         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22175         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22176         (SCANDIRAT): Macro removed.
22177         (SCANDIR_TAIL): New macro.
22178         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22179         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22180         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22181         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22182         (READDIR): Macro removed.
22183         (SCANDIR_TAIL): New macro.
22184         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22185         (SCANDIR_TAIL): New macro.
22187         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22188         * dirent/scandir-cancel.c: ... to this new file.
22189         * dirent/Makefile (routines): Add it.
22190         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22191         * sysdeps/unix/sysv/linux/i386/scandir64.c
22192         (SKIP_SCANDIR_CANCEL): Macro removed.
22193         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22195         * dirent/tst-scandir.c: New file.
22196         * dirent/tst-scandir64.c: New file.
22197         * dirent/Makefile (tests): Add them.
22199 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22201         [BZ #18409]
22202         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22204 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22206         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22207         list.
22209 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22211         * benchtests/bench-strcoll.c: New benchmark.
22212         * benchtests/Makefile: Generate locales and run benchmark.
22213         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22214         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22215         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22216         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22217         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22218         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22219         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22220         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22221         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22222         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22223         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22224         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22225         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22226         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22227         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22228         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22229         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22230         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22231         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22232         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22233         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22234         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22235         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22236         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22238 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22240         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22241         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22243 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22245         * posix/uname-values.h: New file.
22246         * posix/uname.c: Include that instead of <config-name.h>.
22247         * sysdeps/nacl/uname-values.h: New file.
22248         * sysdeps/arm/nacl/uname-values.h: New file.
22250 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22252         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22253         splitting into fields.
22255 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22257         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22258         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22259         * locale/localeinfo.h: Add enum collation_encoding_type.
22260         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22261         * programs/ld-collate.c (collate_output): Add encoding type info.
22262         * string/strcoll_l.c (STRDIFF): New function.
22263         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22264         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22266 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22268         [BZ #18397]
22269         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22270         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22271         <fpu_control.h> instead of <math/fpu_control.c>.
22272         * sysdeps/mips/mips32/fpu/Makefile: New file.
22274 2015-05-11  Andreas Schwab  <schwab@suse.de>
22276         [BZ #18007]
22277         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22278         nss_endgrent.
22279         (_nss_compat_endgrent): Call nss_endgrent.
22280         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22281         nss_endpwent.
22282         (_nss_compat_endpwent): Call nss_endpwent.
22283         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22284         needent, call nss_setspent only if non-zero.
22285         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22286         (internal_endspent): Don't call nss_endspent.
22287         (_nss_compat_endspent): Call nss_endspent.
22288         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22289         Remove.  All uses removed.
22290         (internal_setent): Remove parameter stayopen, add parameter
22291         stream.  Use it instead of global variable.
22292         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22293         (internal_endent, internal_getent): Add parameter stream.  Use it
22294         instead of global variable.
22295         (CONCAT(_nss_files_end,ENTNAME))
22296         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22297         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22298         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22299         uses removed.
22300         (internal_setent, internal_endent): Add parameter stream.  Use it
22301         instead of global variable.
22302         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22303         stream.
22304         (get_next_alias): Add parameter stream.
22305         (_nss_files_getaliasent_r): Pass global stream.
22306         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22308         (_nss_files_gethostbyname4_r): Pass local stream to
22309         internal_setent, internal_getent and internal_endent.  Remove
22310         locking.
22312 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22314         * tst-strfmon1.c (tests): Update expected currency symbol.
22316 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22318         * sysdeps/nacl/gethostname.c: New file.
22320 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22322         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22323         and sinh.
22324         * math/auto-libm-test-out: Regenerated.
22325         * sysdeps/i386/fpu/libm-test-ulps: Update.
22326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22330         [BZ #18125]
22331         * stdlib/tst-setcontext3.c: New file.
22332         * stdlib/tst-setcontext3.sh: New file.
22333         * stdlib/Makefile (tests): Add tst-setcontext3.
22334         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22335         to verify test program created output file.
22336         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22337         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22338         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22339         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22341 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22343         [BZ #18383]
22344         * elf/tst-tlsalign.c: New file.
22345         * elf/tst-tlsalign-static.c: New file.
22346         * elf/tst-tlsalign-lib.c: New file.
22347         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22348         (tests-static): Add tst-tlsalign-static.
22349         (modules-names): Add tst-tlsalign-lib.
22350         (test-xfail-tst-tlsalign): New variable.
22351         (test-xfail-tst-tlsalign-static): New variable.
22353         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22354         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22356 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22358         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22359         csqrt, erfc, sin and sincos.
22360         * math/auto-libm-test-out: Regenerated.
22361         * sysdeps/i386/fpu/libm-test-ulps: Update.
22362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22364 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22366         * sysdeps/aarch64/libm-test-ulps: Update.
22368 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22370         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22371         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22372         * math/auto-libm-test-out: Regenerated.
22373         * sysdeps/i386/fpu/libm-test-ulps: Update.
22374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22376 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22378         [BZ #18265]
22379         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22380         (wcsncpy): Likewise.
22382 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22384         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22385         Assume __ASSUME_FALLOCATE is always true.
22386         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22387         (__posix_fallocate64_l64): Likweise.
22388         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22389         (posix_fallocate): Likewise.
22390         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22391         (__posix_fallocate64_l64): Likewise.
22392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22393         [!__ASSUME_FALLOCATE]: Add comment.
22395 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22397         * sysdeps/unix/sysv/linux/i386/Makefile
22398         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22399         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22400         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22401         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22402         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22403         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22404         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22406 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22408         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22409         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22410         tgamma.
22411         * math/auto-libm-test-out: Regenerated.
22412         * sysdeps/i386/fpu/libm-test-ulps: Update.
22413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22417         * math/auto-libm-test-in: Add more tests of tgamma.
22418         * math/auto-libm-test-out: Regenerated.
22419         * sysdeps/i386/fpu/libm-test-ulps: Update.
22420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22422         * math/auto-libm-test-in: Add more tests of tanh.
22423         * math/auto-libm-test-out: Regenerated.
22424         * sysdeps/i386/fpu/libm-test-ulps: Update.
22425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22427         * math/auto-libm-test-in: Add more tests of tan.
22428         * math/auto-libm-test-out: Regenerated.
22429         * sysdeps/i386/fpu/libm-test-ulps: Update.
22430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22432         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22433         * math/auto-libm-test-out: Regenerated.
22434         * sysdeps/i386/fpu/libm-test-ulps: Update.
22435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22437         * math/auto-libm-test-in: Add another test of pow.
22438         * math/auto-libm-test-out: Regenerated.
22439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22441         * math/auto-libm-test-in: Add more tests of lgamma.
22442         * math/auto-libm-test-out: Regenerated.
22443         * sysdeps/i386/fpu/libm-test-ulps: Update.
22444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22446         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22447         log1p.
22448         * math/auto-libm-test-out: Regenerated.
22449         * sysdeps/i386/fpu/libm-test-ulps: Update.
22450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22452 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22454         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22455         Elf64_Chdr structs and ELFCOMPRESS constants.
22457 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22459         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22460         expm1.
22461         * math/auto-libm-test-out: Regenerated.
22462         * sysdeps/i386/fpu/libm-test-ulps: Update.
22463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465         * math/auto-libm-test-in: Add more tests of erf and erfc.
22466         * math/auto-libm-test-out: Regenerated.
22467         * sysdeps/i386/fpu/libm-test-ulps: Update.
22468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22470 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22472         * config.h.in (HAVE_AARCH64_BE): Add.
22474 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22476         * math/auto-libm-test-in: Add more tests of csqrt.
22477         * math/auto-libm-test-out: Regenerated.
22478         * sysdeps/i386/fpu/libm-test-ulps: Update.
22479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22481         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22482         * math/auto-libm-test-out: Regenerated.
22483         * sysdeps/i386/fpu/libm-test-ulps: Update.
22484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22488 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22490         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22491         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22493         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22494         (euidaccess, eaccess): Define as weak aliases.
22496         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22497         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22498         but __suseconds_t is often 'long int' so some sources assume that
22499         type is being used (e.g. they use %ld to print tv_usec).
22501 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22503         [BZ #18007]
22504         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22505         (CVE-2014-8121)
22506         * nss/tst-nss-getpwent.c: New file.
22507         * nss/Makefile (tests): Add new test.
22509 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22511         [BZ #18346]
22512         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22513         exponents less than 48 as cases where high part of mantissa needs
22514         examining to determine whether argument is integral.
22515         * math/libm-test.inc (round_test_data): Add more tests.
22517 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22519         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22521 2015-04-27  David S. Miller  <davem@davemloft.net>
22523         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22524         __tls_get_addr.
22525         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22527 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22529         [BZ#18333]
22530         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22532 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22534         [BZ#18333]
22535         * time/tzset.c (parse_tzname): Return error on memory allocation
22536         failure.
22537         * test-skeleton.c (struct temp_name_list): Change type of name
22538         member to non-const.
22539         (add_temp_file): Create a copy of the file name.
22540         (delete_temp_files): Deallocate memory.
22541         (create_temp_file): Add comment.
22543 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22545         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22546         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22548 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22550         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22551         * sysdeps/arm/configure: Regenerated.
22553 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22555         [BZ #17715]
22556         * time/tzfile.c (__tzfile_read): Check for large values of
22557         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22558         * time/tzset.c (__tzstring_len): New function, based on the old
22559         __tzstring function.
22560         (__tzstring): Call __tzstring_len.
22561         (parse_tzname): New helper function extracted from
22562         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22563         the input string.
22564         (parse_offset): New helper function extracted from
22565         __tzset_parse_tz.  Replace switch with fallthrough with
22566         initialization before sscanf.
22567         (parse_rule): Likewise.
22568         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22569         new-style function definition.
22570         * timezone/Makefile (tests): Add tst-tzset.
22571         (tst-tzset.out): Dependencies on time zone files.
22572         (tst-tzset-ENV): Set TZDIR.
22573         (testdata/XT%): Copy crafted time zone files.
22574         * timezone/README: Mention crafted time zone files.
22575         * timezone/testdata/XT1, timezone/testdata/XT2,
22576         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22577         files.
22578         * timezone/tst-tzset.c: New test.
22580 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22582         * Makeconfig (+gccwarn): Remove -Winline.
22584 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22586         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22588 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22590         * NEWS: Mention sysconf() cache information support for s390.
22591         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22593 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22595         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22596         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22597         (__nearbyint): Likewise.
22598         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22599         (copysignl): Likewise.
22601 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22603         [BZ #18287]
22604         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22605         based on padding.  (CVE-2015-1781)
22607 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22609         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22610         libc-vdso.h.
22611         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22612         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22613         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22614         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22615         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22616         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22617         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22618         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22620         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22621         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22622         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22623         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22624         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22625         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22626         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22627         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22629         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22630         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22631         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22632         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22633         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22635 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22637         * stdlib/setenv.c (__add_to_environ):
22638         Dump core quickly if setenv (..., NULL, ...) is called.
22639         This time, do it the right way, and pacify GCC with a pragma.
22641 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22643         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22644         IMAP->l_prev cannot be null, and #if out the code for the contrary
22645         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22646         believe that NS (&_dl_ns[NSID]) could point outside the array.
22648         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22649         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22650         before using NSID as an index.
22652 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22654         [BZ #17825]
22655         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22656         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22657         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22659 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22661         Add preliminary port to Google Native Client on ARM.
22662         * abi-tags (.*-.*-nacl.*): New entry.
22663         * sysdeps/arm/nacl: New directory.
22664         * sysdeps/nacl: New directory.
22666 2015-04-16  David S. Miller  <davem@davemloft.net>
22668         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22669         lowlevellock-futex.h
22671 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22673         * sysdeps/tile/configure.ac: New file.
22674         * sysdeps/tile/configure: Regenerated.
22676 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22678         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22679         conditionals for weak_alias and libc_hidden_weak.
22680         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22681         libc_hidden_weak and weak_alias.
22682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22683         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22684         and weak_alias for static one.
22686 2015-04-15  David S. Miller  <davem@davemloft.net>
22688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22690 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22692         [BZ #18206]
22693         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22694           Use signed comparision instead of substraction to avoid
22695           overflow bug.
22696         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22697           Take the sign of ret.
22698         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22699           Do not expect precise return values. Only the sign matters.
22700         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22701         * wcsmbs/test-wcsncmp.c: New File.
22702         * string/test-strncmp.c: Add wcsncmp support.
22704 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22706         [BZ #6792]
22707         * math/w_log1p.c: New file.
22708         * math/w_log1pf.c: Likewise.
22709         * math/w_log1pl.c: Likewise.
22710         * math/Makefile (libm-calls): Add w_log1p.
22711         * math/s_log1pl.c (log1pl): Remove weak_alias.
22712         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22713         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22714         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22715         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22716         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22717         [NO_LONG_DOUBLE] (log1pl): Likewise.
22718         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22719         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22720         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22721         (log1p): Remove long_double_symbol.
22722         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22723         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22724         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22725         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22726         remove weak_alias for corresponding log1p function.
22727         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22728         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22729         * sysdeps/ia64/fpu/w_log1p.c: New file.
22730         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22731         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22732         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22734 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22736         [BZ #18247]
22737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22738         decimal exponent by 1.
22739         * stdlib/tst-strtod-round-data: Add more tests.
22740         * stdlib/tst-strtod-round.c (tests): Regenerated.
22742 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22744         * math/auto-libm-test-in: Add more tests of clog and clog10.
22745         * math/auto-libm-test-out: Regenerated.
22746         * sysdeps/i386/fpu/libm-test-ulps: Update.
22747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22751         * Makeconfig (module-cppflags): Exclude all .v.i files.
22752         (skip-module-cppflags): Variable removed.
22754         * configure.ac (libc_config_ok): Initialize before reading
22755         preconfigure scripts, not after.
22756         * configure: Regenerated.
22758         * test-skeleton.c (TIMEOUT): Move #define to top level.
22759         (main): Grok environment variable TEST_DIRECT.  If set, print
22760         test expectation details into that file and then behave as if
22761         given --direct.
22763 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22765         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22766         warning on 32-bit.
22768 2015-04-08  David S. Miller  <davem@davemloft.net>
22770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22772 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22774         * math/auto-libm-test-in: Add more tests of atanh.
22775         * math/auto-libm-test-out: Regenerated.
22776         * sysdeps/i386/fpu/libm-test-ulps: Update.
22777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22779         * math/auto-libm-test-in: Add more tests of atan.
22780         * math/auto-libm-test-out: Regenerated.
22781         * sysdeps/i386/fpu/libm-test-ulps: Update.
22782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22786         * elf/pldd.c (main): Rewrite to use struct
22787         scratch_buffer instead of extend_alloca.
22788         * elf/pldd-xx.c (find_maps): Likewise.
22789         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22790         <alloca.h>.
22791         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22792         scratch_buffer instead of extend_alloca.
22793         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22794         grp/compat-initgroups.c.
22795         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22796         Rewrite to use struct scratch_buffer instead of extend_alloca.
22797         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22798         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22800 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22802         * math/auto-libm-test-in: Add more tests of cbrt.
22803         * math/auto-libm-test-out: Regenerated.
22804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22806         * math/auto-libm-test-in: Add more tests of cabs.
22807         * math/auto-libm-test-out: Regenerated.
22808         * sysdeps/i386/fpu/libm-test-ulps: Update.
22809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22811         [BZ #18210]
22812         [BZ #18211]
22813         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22814         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22815         computations.
22816         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22817         clog10.
22818         * math/auto-libm-test-out: Regenerated.
22819         * sysdeps/i386/fpu/libm-test-ulps: Update.
22820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822         [BZ #18197]
22823         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22824         (atan): Set FE_TONEAREST mode for internal computations.
22825         * math/auto-libm-test-in: Add more tests of atan.
22826         * math/auto-libm-test-out: Regenerated.
22828 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22830         [BZ #17930]
22831         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22833 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22835         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22837 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22839         * include/scratch_buffer.h: New file.
22840         * malloc/scratch_buffer_grow.c: Likewise.
22841         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22842         * malloc/scratch_buffer_set_array_size.c: Likewise.
22843         * malloc/tst-scratch_buffer.c: Likewise.
22844         * malloc/Makefile (routines): Add scratch_buffer_grow.
22845         (tests): Add test case.
22846         * malloc/Versions (GLIBC_PRIVATE): Export
22847         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22848         __libc_scratch_buffer_set_array_size.
22850 2015-04-06  Richard Henderson  <rth@redhat.com>
22852         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22853         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22855         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22856         unsigned int before printing.
22858 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22860         [BZ #17596]
22861         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22862         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22864 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22866         * include/libc-internal.h (libc_max_align_t): Define.
22868 2015-04-02  Andreas Schwab  <schwab@suse.de>
22870         [BZ #16850]
22871         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22873 2015-04-02  Mel Gorman  <mgorman@suse.de>
22875         [BZ #17195]
22876         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22877         as well as the main arena.
22879 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22881         [BZ #18185]
22882         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22883         sharing L2 cache to 2 for Silvermont/Knights Landing.
22885 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22887         [BZ #17711]
22888         * config.make.in (have-protected-data): New.
22889         * configure.ac: Check linker support for protected data symbol.
22890         * configure: Regenerated.
22891         * elf/Makefile (modules-names): Add tst-protected1moda and
22892         tst-protected1modb if $(have-protected-data) is yes.
22893         (tests): Add tst-protected1a and tst-protected1b if
22894         $(have-protected-data) is yes.
22895         ($(objpfx)tst-protected1a): New.
22896         ($(objpfx)tst-protected1b): Likewise.
22897         (tst-protected1modb.so-no-z-defs): Likewise.
22898         * elf/tst-protected1a.c: New file.
22899         * elf/tst-protected1b.c: Likewise.
22900         * elf/tst-protected1mod.h: Likewise.
22901         * elf/tst-protected1moda.c: Likewise.
22902         * elf/tst-protected1modb.c: Likewise.
22904 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22906         [BZ #17711]
22907         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22908         indicates it is called from do_lookup_x on relocation against
22909         protected data, skip the data definion in the executable from
22910         copy reloc.
22911         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22912         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22913         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22914         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22915         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22916         otherwise to 0.
22917         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22918         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22919         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22920         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22921         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22922         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22924 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22926         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22927         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22929 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22931         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22932         THREAD_SETMEM_NC.
22933         * sysdeps/x86_64/nptl/tls.h: Ditto.
22935 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22937         * dlfcn/tststatic.c (main): Converted to ...
22938         (do_test): ... this.
22939         (TEST_FUNCTION): New macro.
22940         Include test-skeleton.c.
22942 2015-03-26  Alan Modra  <amodra@gmail.com>
22944         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22945         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22946         zero for undefined weak.
22947         (elf_machine_plt_conflict): Similarly.
22949 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22951         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22952         atanh.
22953         * math/auto-libm-test-out: Regenerated.
22954         * sysdeps/i386/fpu/libm-test-ulps: Update.
22955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22957         * math/auto-libm-test-in: Add another test of asin.
22958         * math/auto-libm-test-out: Regenerated.
22959         * sysdeps/i386/fpu/libm-test-ulps: Update.
22960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22962         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22963         Remove macro.
22964         (LLL_EBX_REG): Likewise.
22965         (LLL_ENTER_KERNEL): Likewise.
22967         * math/auto-libm-test-in: Add more tests of asin.
22968         * math/auto-libm-test-out: Regenerated.
22969         * sysdeps/i386/fpu/libm-test-ulps: Update.
22970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22972         [BZ #18138]
22973         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22974         libc_do_syscall_args): New structure.
22975         (INTERNAL_SYSCALL_MAIN_0): New macro.
22976         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22977         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22978         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22979         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22980         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22981         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22982         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22983         Replace conditional definitions by conditional definitions of ....
22984         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22985         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22986         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22987         (libpthread-sysdep_routines): Add libc-do-syscall.
22988         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22990         to __NR_futex not 240.
22992 2015-03-25  Alan Modra  <amodra@gmail.com>
22994         * NEWS: Advertise TLS optimization.
22995         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22996         (DT_PPC_NUM): Increment.
22997         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22998         (CHECK_STATIC_TLS): Use here.
22999         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23000         TLS descriptors.
23001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23002         * sysdeps/powerpc/dl-tls.c: New file.
23003         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23004         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23005         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23006         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23011 2015-03-25  Alan Modra  <amodra@gmail.com>
23013         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23014         for overlapping .opd entries" to "support...".
23015         * sysdeps/powerpc/powerpc64/configure: Regenerate
23017 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23019         * math/auto-libm-test-in: Add more tests of acos.
23020         * math/auto-libm-test-out: Regenerated.
23021         * sysdeps/i386/fpu/libm-test-ulps: Update.
23022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23024         * math/auto-libm-test-in: Add more tests of expm1.
23025         * math/auto-libm-test-out: Regenerated.
23026         * sysdeps/i386/fpu/libm-test-ulps: Update.
23027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23029 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23031         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23032         * math/auto-libm-test-out: Regenerated.
23033         * sysdeps/i386/fpu/libm-test-ulps: Update.
23034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23036         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23039         * math/auto-libm-test-in: Add more tests of log2.
23040         * math/auto-libm-test-out: Regenerated.
23041         * sysdeps/i386/fpu/libm-test-ulps: Update.
23042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23044 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23046         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23047         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23048         _IO_IS_APPENDING bit in READ_WRITE instead.
23050 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23052         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23053         (__determine_cpumask_size): Replace extend_alloca with a
23054         variable-length array.  Do not treat res == 0 as an error.
23056 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23058         [BZ #18100]
23059         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23060         and integer overflow.
23061         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23062         (main): Add integer overflow tests.
23063         * manual/pattern.texi (Calling Wordexp): Document additional use
23064         for WRDE_SYNTAX.
23066 2015-03-23  Alan Modra  <amodra@gmail.com>
23068         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23069         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23070         and false branch of conditional.
23071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23072         Likewise.
23074 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23076         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23077         libc-modules.h
23078         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23079         unused declaration of _hurd_intr_rpc_msg_in_trap.
23080         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23081         defined instead of whether it is non-zero.
23082         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23083         input constraint instead of both input and output constraint.  Use ecx
23084         clobber instead of %ecx.
23085         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23086         mutex_unlock): Use a statement expression instead of an expression list.
23087         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23088         type to vm_size_t instead of vm_address_t.
23089         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23090         defined instead of whether it is non-zero.
23091         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23092         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23093         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23094         comparisons with mapaddr.
23095         * nscd/nscd-client.h: Include <time.h>.
23096         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23097         9th parameter to __vm_region instead of int.
23098         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23099         * scripts/check-local-headers.sh (exclude): Add device/,
23100         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23101         cthreads.h.
23103 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23105         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23106         to account for alignment padding.
23107         * sysdeps/arm/memmove.S: Likewise.
23109 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23111         * sysdeps/unix/sysv/linux/generic/README: New file.
23113 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23115         [BZ #18138]
23116         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23117         (futex_abstimed_wait)
23118         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23119         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23120         of lll_futex_timed_wait.
23122 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23124         [BZ #17542]
23125         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23127 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23129         [BZ #17090]
23130         [BZ #17620]
23131         [BZ #17621]
23132         [BZ #17628]
23133         * NEWS: Update.
23134         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23135         entries with Static TLS too.  Skip entries past the end of the
23136         allocated DTV, from Alan Modra.
23137         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23138         Static TLS DTV entry set up from...
23139         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23140         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23141         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23142         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23143         for Static TLS.
23144         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23145         that the slot we find is associated with the given map before
23146         using its generation count.
23147         * nptl_db/db_info.c: Include ldsodefs.h.
23148         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23149         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23150         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23151         (link_map::l_tls_offset): New struct field.
23152         (dtv_t::counter): Likewise.
23153         (rtld_global): New struct.
23154         (_rtld_global): New rtld variable.
23155         (dl_tls_dtv_slotinfo_list): New rtld global field.
23156         (dtv_slotinfo_list): New struct.
23157         (dtv_slotinfo): Likewise.
23158         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23159         (td_lookup): Rename to...
23160         (td_mod_lookup): ... this.  Use new mod parameter instead of
23161         LIBPTHREAD_SO.
23162         * nptl_db/td_thr_tlsbase.c: Include link.h.
23163         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23164         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23165         addresses even if the DTV is out of date or missing them.
23166         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23167         index zero-length arrays.
23168         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23169         (td_lookup): Make it a macro implemented in terms of...
23170         (td_mod_lookup): ... this declaration.
23171         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23172         (DB_MAIN_VARIABLE): Likewise.
23174 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23176         [BZ #18134]
23177         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23179 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23181         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23183 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23185         [BZ #18128]
23186         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23187         (atomic_add, atomic_increment_and_test)
23188         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23190 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23192         * stdlib/setenv.c (__add_to_environ):
23193         Dump core quickly if setenv (..., NULL, ...) is called.
23195 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23197         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23198         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23199         all the necessary asm magic in one place.
23200         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23201         using those.
23203 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23205         [BZ #14906]
23206         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23207         traced file mtime. Use consistent log message.
23208         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23209         (register_traced_file): Call install_watches. Always set mtime.
23210         (invalidate_cache): Iterate over all trace files. Call install_watches.
23211         (inotify_check_files): Don't inline. Handle watching parent
23212         directories and configuration file movement in and out.
23213         (handle_inotify_events): New function.
23214         (main_loop_poll): Call handle_inotify_events.
23215         (main_loop_epoll): Likewise.
23216         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23217         (struct traced_file): Use array of inotify fds. Add parent directory,
23218         and basename.
23219         (struct database_dyn): Remove unused file_mtime.
23220         (init_traced_file): New inline function.
23221         (define_traced_file): New macro.
23222         * nss/nss_db/db-init.c: Use define_traced_file.
23223         (_nss_db_init): Use init_traced_file.
23224         * nss/nss_files/files-init.c: Use define_traced_file.
23225         (_nss_files_init): Use init_traced_file.
23227 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23229         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23230         [_LIBC]: Do not include <stdlib.h>.
23231         [!_LIBC] (abort): Remove declaration.
23232         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23233         _FP_STATIC_ASSERT instead of conditionally calling abort.
23234         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23235         (_FP_EXTEND_CNAN): Likewise.
23236         (FP_TRUNC): Likewise.
23237         (__FP_CLZ): Likewise.
23238         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23240 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23242         * manual/string.texi (XPG basename): Fix prototype.
23244 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23246         [BZ #18080]
23247         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23248         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23249         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23250         (__setcontext): Likewise.
23251         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23252         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23253         Call rt_sigprocmask syscall one time to set new signal mask
23254         and retrieve the current signal mask instead of two calls.
23255         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23256         (__swapcontext): Likewise.
23257         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23258         * stdlib/tst-setcontext2.c: New file.
23260 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23262         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23264 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23266         [BZ #18093]
23267         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23268         the wrong size.
23270 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23272         [BZ #18043]
23273         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23275 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23277         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23278         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23279         Remove define.
23280         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23281         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23282         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23283         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23284         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23285         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23286         define.
23287         * nptl_db/td_symbol_list.c (td_lookup): Remove
23288         HAVE_ASM_GLOBAL_DOT_NAME code.
23289         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23290         HAVE_ASM_GLOBAL_DOT_NAME check.
23291         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23292         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23293         (DOT_LABEL): Remove define.
23294         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23295         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23296         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23297         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23298         (__TLS_GET_ADDR): Likewise.
23299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23300         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23302 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23304         [BZ #18111]
23305         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23306         (_FPU_SETCW): Initialize cw from fpsr before storing.
23307         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23308         (fesetexceptflag): Rewrite using fpu_control.h.
23309         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23311 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23313         [BZ #18110]
23314         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23315         asms.
23316         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23318 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23320         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23321         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23322         abort.
23323         (_FP_FMA): Likewise.
23324         (_FP_DIV): Likewise.
23326 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23328         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23329         with 0 in that case.
23330         * Makefile (summarize-tests): New canned sequence, factored out of
23331         commands for targets tests and xtests.  Display summary lines that
23332         don't start with PASS: or XFAIL: rather than ones that do start with
23333         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23334         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23335         do start with ERROR: or FAIL:.
23336         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23337         (except for [$(build-shared) = yes]).
23338         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23339         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23340         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23341         * nptl/Makefile: Revert 2015-03-04 changes.
23342         [$(CXX) empty] (tests-unsupported): New variable.
23343         * debug/Makefile: Likewise.
23345         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23346         gnulib file.  Replace __attribute with __attribute__ throughout.
23348 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23350         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23352 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23354         [BZ #18104]
23355         * math/auto-libm-test-in: Add another test of pow.
23356         * math/auto-libm-test-out: Regenerated.
23358 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23360         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23361         $(config-cflags-nofma).
23363 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23365         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23366         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23367         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23368         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23369         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23370         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23371         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23372         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23373         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23374         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23375         Add comment on closing #endif.
23377 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23379         * posix/wordexp.c (CHAR_IN_SET): New macro.
23380         (parse_param): Use it.
23382 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23384         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23386 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23388         [BZ #18043]
23389         * posix/wordexp.c (parse_param): Fix buffer overflow.
23390         * posix/wordexp-test.c (test_case): Add test case.
23392 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23394         [BZ #18042]
23395         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23396         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23398 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23400         [BZ #18043]
23401         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23402         (do_bz18043): Delete.
23403         (at_page_end): New.
23404         (testit): Refactor to have words at the edge of unreadable page.
23406 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23408         [BZ #16734]
23409         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23410         Cleanup read-only streams as well.
23411         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23413 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23415         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23416         <bits/libc-lockP.h>
23418 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23420         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23421         on [__KERNEL__].
23422         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23423         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23424         * soft-fp/op-common.h (_FP_DECL): Likewise.
23426 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23428         * elf/ifuncdep2.c (global): Replace
23429         __attribute__((visibility("protected"))) with
23430         asm (".protected global").
23431         * elf/ifuncmod1.c (global): Likewise.
23432         * elf/ifuncmod5.c (global): Likewise.
23434 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23436         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23437         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23439 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23441         * manual/install.texi (Configuring and compiling):
23442         Document test-wrapper-env-only.
23443         * INSTALL: Regenerated.
23445 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23447         [BZ #18043]
23448         * posix/wordexp.c (parse_param): Fix buffer overflow.
23449         * posix/wordexp-test.c (do_bz18043): Add test case.
23451 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23453         * time/tst-strptime2.c (do_test): Ensure failing tests are
23454         reported correctly.
23455         * time/tst-strptime3.c (do_test): Likewise.
23457 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23459         Fix aio_error thread-safety.
23460         * sysdeps/pthread/aio_error.c: New file
23461         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23462         synchronization.
23464 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23466         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23467         (group_number, vfprintf): Use it.
23468         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23469         (JUMP, REF): Use it.
23470         (WORK_BUFFER_SIZE): New enum constant.
23471         (process_arg, vfprintf): Use it.
23473 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23475         * manual/errno.texi (Error Messages): Complete example function
23476         by adding missing #define.
23477         (program_invocation_name): Add statement indicating GNU
23478         extension and reference which header file declares the variable.
23479         (program_invocation_short_name): Likewise.
23481 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23483         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23484         compatibility note.
23486 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23488         * Makeconfig (test-wrapper-env-only): New variable.
23489         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23490         then use that with $(test-wrapper-env-only) rather than using
23491         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23493 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23495         [BZ #18082]
23496         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23497         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23498         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23499         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23500         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23501         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23502         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23503         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23504         Likewise.
23505         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23507         Likewise.
23508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23509         Likewise.
23510         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23511         Likewise.
23512         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23513         Likewise.
23514         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23516         Likewise.
23517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23518         Likewise.
23519         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23520         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23522 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23524         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23525         (ETH_ALEN): New macro.
23526         (struct ether_addr): Use it for length of ether_addr_octet.
23528         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23529         (setdb): Don't call __nss_configure_lookup for "rpc".
23530         (do_test): Don't call test_rpc.
23531         (output_rpcent, test_rpc): Functions moved ...
23532         * sunrpc/test-rpcent.c: ... to this new file.
23533         * sunrpc/Makefile (tests): Add it.
23535         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23536         __xpg_sigpause.
23537         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23538         * nptl/tst-signal6.c: Likewise.
23539         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23540         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23542         * configure.ac (libc_cv_cxx_link_ok): New check.
23543         Reset CXX to empty if it fails to link.
23544         * configure: Regenerated.
23545         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23546         bug-atexit3-lib only if $(CXX) is nonempty.
23547         * nptl/Makefile (tests): Likewise for tst-cancel24.
23548         (tests, tests-static): Likewise for tst-cancel24-static.
23549         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23550         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23551         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23552         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23554 2015-03-04  Andreas Schwab  <schwab@suse.de>
23556         [BZ #17631]
23557         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23558         for non-GCC compilers.
23559         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23560         Likewise.
23562 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23564         [BZ #17776]
23565         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23566         integer before bitwise and assembly operations.
23567         (feclearexcept): Likewise.
23568         * math/test-fenvinline.c: New file.
23569         * math/Makefile: Add test-fenvinline test.
23571 2015-03-03  Alan Modra  <amodra@gmail.com>
23573         [BZ #16512]
23574         * scripts/localplt.awk: Strip off symbol version.
23575         * NEWS: Mention bug fix.
23577 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23579         * sysdeps/pthread/timer_routines.c
23580         (timer_free_list, thread_free_list, thread_active_list): Make static.
23582 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23584         [BZ #17779]
23585         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23586         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23587         Undefine.
23588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23589         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23590         Likewise.
23591         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23592         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23593         Likewise.
23595 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23597         [BZ #18036]
23598         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23599         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23601 2015-03-02  Andreas Schwab  <schwab@suse.de>
23603         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23604         variable name.
23606 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23608         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23609         Return error status.
23611 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23613         [BZ #15969]
23614         * locale/findlocale.c (_nl_find_locale): Introduce const
23615         version of loc_name and drop unsafe type casts.
23617 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23619         * dlfcn/tststatic2.c (main): Converted to ...
23620         (do_test): ... this.
23621         (TEST_FUNCTION): New macro.
23622         Include test-skeleton.c.
23624 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23626         [BZ #17711]
23627         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23628         (tests-pie): Add vismain.
23629         (CFLAGS-vismain.c): New.
23630         * elf/vismain.c: Add comments for PIE requirement.
23632 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23634         [BZ #18046]
23635         [BZ #18047]
23636         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23637         0x1p-56L as threshold for just returning the argument.
23638         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23639         0x1p-32L as threshold for just returning the argument.
23640         * math/auto-libm-test-in: Add more tests of atanh.
23641         * math/auto-libm-test-out: Regenerated.
23642         * sysdeps/i386/fpu/libm-test-ulps: Update.
23643         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23645 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23647         * string/bcopy.c (bcopy): Call memmove for performance.
23649 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23651         * string/bzero.c (__bzero): Call memset for performance.
23653 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23655         [BZ #18068]
23656         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23657         to 00100000.
23659 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23661         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23663 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23665         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23666         (__kernel_standard): Use CSTR macro when setting exc.name.
23667         * sysdeps/ieee754/Makefile [$(subdir) = math]
23668         (CFLAGS-k_standard.c): Remove variable.
23670         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23671         setting p and q from "else if" to "else".
23672         (qzero): Likewise.
23673         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23674         (qone): Likewise.
23675         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23676         (qzerof): Likewise.
23677         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23678         (qonef): Likewise.
23679         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23680         (qzero): Likewise.
23681         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23682         (qone): Likewise.
23684         [BZ #18038]
23685         [BZ #18039]
23686         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23687         return pi/2 for arguments below 0x1p-113L.
23688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23689         return pi/2 for arguments below 0x1p-106L.
23690         * math/auto-libm-test-in: Add more tests of acos.
23691         * math/auto-libm-test-out: Regenerated.
23693         [BZ #16351]
23694         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23695         (MO): New macro.
23696         (__ieee754_asin): Force underflow exception for results with small
23697         absolute value.
23698         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23699         (MO): New macro.
23700         (__ieee754_asinf): Force underflow exception for results with
23701         small absolute value.
23702         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23703         (__ieee754_asin): Force underflow exception for results with small
23704         absolute value.
23705         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23706         (__ieee754_asinf): Force underflow exception for results with
23707         small absolute value.
23708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23709         (__ieee754_asinl): Force underflow exception for results with
23710         small absolute value.
23711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23712         (__ieee754_asinl): Force underflow exception for results with
23713         small absolute value.
23714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23715         (__ieee754_asinl): Force underflow exception for results with
23716         small absolute value.
23717         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23718         Include <math.h>.
23719         * math/auto-libm-test-in: Do not mark underflow exceptions as
23720         possibly missing for bug 16351.
23721         * math/auto-libm-test-out: Regenerated.
23723         [BZ #18030]
23724         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23725         of power of 2 down when low part has opposite sign.
23726         * math/libm-test.inc (logb_test_data): Add more tests.
23728 2015-02-26  Andreas Schwab  <schwab@suse.de>
23730         [BZ #18032]
23731         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23732         over collating symbol inside a bracket expression.  Minor cleanup.
23733         * posix/tst-fnmatch3.c (do_test): Add test case.
23735 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23737         [BZ #18029]
23738         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23739         Adjust exponent of power of 2 down when low part has opposite
23740         sign.
23741         * math/libm-test.inc (ilogb_test_data): Add more tests.
23743 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23745         [BZ #15969]
23746         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23747         the previous change.
23749         [BZ #15969]
23750         * locale/findlocale.c (_nl_find_locale): Retry archive search
23751         after alias expansion.
23753 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23755         * iconv/tst-iconv3.c (main): Converted to ...
23756         (do_test): ... this.
23757         (TEST_FUNCTION): New macro.
23758         Include test-skeleton.c.
23760         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23761         (convert): Make function static.
23762         (test_unalign): Likewise.  Add const to argument pointee types.
23763         (main): Replace with static function do_test.
23764         Print "Succeeded." only if RET is zero.
23765         (TEST_FUNCTION): New macro.
23766         Include test-skeleton.c.
23768         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23769         returns a null pointer.
23771 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23774         to __memcpy_ppc only for static builds.
23776 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23778         [BZ #18020]
23779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23780         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23781         * math/auto-libm-test-in: Add more tests of asinh.
23782         * math/auto-libm-test-out: Regenerated.
23783         * sysdeps/i386/fpu/libm-test-ulps: Update.
23784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23786 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23788         [BZ #15850]
23789         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23790         and ip6_mtuinfo definitions here.
23791         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23792         in this define too.  Update comment.
23794 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23796         * elf/sprof.c (load_shobj): Tweak error message to match others.
23798 2015-02-24  Kevin Easton  <kevin@guarana.org>
23800         [BZ #16145] (partial fix)
23801         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23802         to reduce lock contention.
23804 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23806         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23807         (struct timex): Update time comment.
23808         (ADJ_SETOFFSET): Define.
23810 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23812         [BZ #18019]
23813         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23814         2**56 not 2**28 as threshold for log (2x) formula.
23815         * math/auto-libm-test-in: Add more tests of acosh.
23816         * math/auto-libm-test-out: Regenerated.
23817         * sysdeps/i386/fpu/libm-test-ulps: Update.
23818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23820 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23822         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23823         parenthesis around the buf assignment.
23824         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23826 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23828         [BZ #16783]
23829         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23830         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23831         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23832         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23833         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23834         * math/libm-test.inc (scalb_test_data): Add more tests.
23836 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23838         [BZ #17916]
23839         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23840         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23842 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23844         [BZ #17523]
23845         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23846         * io/bits/fcntl2.h (open): Use it.
23847         (openat): Likewise.
23848         * io/open.c (__libc_open): Likewise.
23849         * io/open64.c (__libc_open64): Likewise.
23850         * io/open64_2.c (__open64_2): Likewise.
23851         * io/open_2.c (__open_2): Likewise.
23852         * io/openat.c (__openat): Likewise.
23853         * io/openat64.c (__openat64): Likewise.
23854         * io/openat64_2.c (__openat64_2): Likewise.
23855         * io/openat_2.c (__openat_2): Likewise.
23856         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23857         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23858         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23859         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23860         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23861         (__open_nocancel): Likewise.
23862         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23863         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23864         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23866 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23868         [BZ #14841]
23869         * resolv/gethnamaddr.c (getanswer): Skip logging if
23870         RES_USE_DNSSEC is set.
23871         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23873 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23875         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23877 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23879         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23880         201304L, for Unicode 7.
23882 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23884         [BZ #17836]
23885         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23886         shared library.  Add gmon-start.os otherwise.
23887         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23888         $(objpfx)gmon-start.os if builing shared library.
23889         ($(objpfx)g$(static-start-installed-name)): Likewise.
23891 2015-02-23  Andreas Schwab  <schwab@suse.de>
23893         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23895 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23897         [BZ #17269]
23898         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23899         (enlarge_userbuf): Likewise.
23901 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23903         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23904         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23905         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23906         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23908 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23910         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23911         expression inside statement expression.
23913 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23915         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23916         <sysdeps/nptl/lowlevellock.h> and remove macros and
23917         functions that are now defined there.
23918         (SYS_futex): Remove.
23919         (lll_compare_and_swap): Remove.
23920         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23922 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23924         [BZ #17999]
23925         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23926         instead of scandirat.
23927         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23928         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23929         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23930         __scandirat.
23931         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23932         (__scandirat): Declare.  Use libc_hidden_proto.
23933         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23934         Remove variable.
23935         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23937 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23939         [BZ #15319]
23940         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23941         (MO): New macro.
23942         (__ieee754_atan2): For results with small absolute value, force
23943         underflow exception and remove excess range and precision from
23944         return value.
23945         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23946         (MO): New macro.
23947         (__ieee754_atan2f): For results with small absolute value, force
23948         underflow exception and remove excess range and precision from
23949         return value.
23950         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23951         (MO): New macro.
23952         (__atan): For results with small absolute value, force underflow
23953         exception and remove excess range and precision from return value.
23954         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23955         (MO): New macro.
23956         (__atanf): For results with small absolute value, force underflow
23957         exception and remove excess range and precision from return value.
23958         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23959         <math.h>.
23960         (__ieee754_atan2): Force underflow exception for results with
23961         small absolute value.
23962         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23963         <math_private.h>.
23964         (atan): Force underflow exception for results with small absolute
23965         value.
23966         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23967         (__atanf): Force underflow exception for results with small
23968         absolute value.
23969         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23970         <math.h>.
23971         (__atanl): Force underflow exception for results with small
23972         absolute value.
23973         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23974         (__atanl): Force underflow exception for results with small
23975         absolute value.
23976         * sysdeps/x86/fpu/bits/mathinline.h
23977         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23978         (__ieee754_atan2): Only define inline for long double.
23979         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23980         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23981         * math/auto-libm-test-in: Do not mark underflow exceptions as
23982         possibly missing for bug 15319.  Add more tests of atan2.
23983         * math/auto-libm-test-out: Regenerated.
23984         * math/libm-test.inc (casin_test_data): Do not mark underflow
23985         exceptions as possibly missing for bug 15319.
23986         (casinh_test_data): Likewise.
23987         * sysdeps/i386/fpu/libm-test-ulps: Update.
23989 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23991         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23992         * sysdeps/mips/bits/endian.h: Fix comments.
23994 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23996         [BZ #17996]
23997         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23998         (hdestroy_r): Likewise.
23999         (hsearch_r): Likewise.
24000         (__hcreate_r): Declare and use libc_hidden_proto.
24001         (__hdestroy_r): Likewise.
24002         (__hsearch_r): Likewise.
24003         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24004         (hcreate): Call __hcreate_r instead of hcreate_r.
24005         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24006         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24007         as weak alias of __hcreate_r.
24008         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24009         __hdestroy_r.
24010         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24011         __hsearch_r.
24012         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24013         Remove variable.
24014         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24015         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24016         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24017         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24019 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24021         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24022         arena_lock into a single arena_get.
24024 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24026         * dl-reloc.c: Inlucde libc-internal.h.
24027         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24028         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24029         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24030         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24031         (grow_heap): Likewise.
24032         * malloc/malloc.c: Include libc-internal.h.
24033         (do_check_malloc): Call powerof2.
24034         (sysmalloc): Use pagesize. Call ALIGN_UP.
24035         (systrim): Use pagesize.
24036         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24037         (__libc_valloc): Use pagesize.
24038         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24040 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24042         [BZ #17991]
24043         * include/sys/resource.h (__getrlimit64): Declare.  Use
24044         libc_hidden_proto.
24045         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24046         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24047         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24048         getrlimit64.
24049         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24050         __getrlimit64.
24051         [!getrlimit64] (getrlimit64): Define as weak alias of
24052         __getrlimit64.  Use libc_hidden_weak.
24053         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24054         using __getrlimit64 not __new_getrlimit64.
24055         (__GI_getrlimit64): Likewise.
24056         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24057         Likewise.
24058         (__GI_getrlimit64): Likewise.
24059         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24061         (getrlimit): Add __getrlimit64 alias.
24062         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24063         Likewise.
24064         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24065         Remove variable.
24066         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24067         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24069 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24071         * libio/fileops.c: Add missing sys/mman.h
24072         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24074 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24076         * manual/math.texi (Errors in Math Functions): Clarify goals
24077         regarding inexact and underflow exceptions.
24079 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24081         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24082         * sysdeps/mips/memset.S: Ditto.
24084 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24086         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24088 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24090         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24091         (__v1longjmp): Remove versioned symbol.
24092         (__v1siglongjmp): Remove alias and versioned symbol.
24093         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24094         (__v2siglongjmp): Likewise.
24096 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24098         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24100 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24102         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24104 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24106         [BZ #17987]
24107         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24108         zero result does not depend on the sign resulting from
24109         subtraction.
24110         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24111         Likewise.
24112         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24113         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24114         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24115         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24116         * math/libm-test.inc (remquo_test_data): Add more tests.
24118 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24120         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24121         Problem reported by J William Piggott.
24123 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24125         [BZ #17978]
24126         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24127         products 4 * y and 2 * y where those would overflow.
24128         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24129         Likewise.
24130         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24131         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24132         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24133         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24134         * math/libm-test.inc (remquo_test_data): Add more tests.
24136         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24138         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24139         [defined _COMPILING_NEWLIB].
24140         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24141         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24143         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24144         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24146 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24148         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24149         acquired.
24151 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24153         [BZ #17792]
24154         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24155         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24156         HOST_STACK_END_ADDR): Likewise.
24158 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24160         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24161         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24162         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24164 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24166         * sysdeps/generic/c++-types.data: New file.
24167         * sysdeps/generic/ld.abilist: New file.
24168         * sysdeps/generic/libBrokenLocale.abilist: New file.
24169         * sysdeps/generic/libanl.abilist: New file.
24170         * sysdeps/generic/libc.abilist: New file.
24171         * sysdeps/generic/libcrypt.abilist: New file.
24172         * sysdeps/generic/libdl.abilist: New file.
24173         * sysdeps/generic/libm.abilist: New file.
24174         * sysdeps/generic/libpthread.abilist: New file.
24175         * sysdeps/generic/libresolv.abilist: New file.
24176         * sysdeps/generic/librt.abilist: New file.
24178 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24180         [BZ #17569]
24181         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24182         Compute absolute value of x as modified by fmod, not original
24183         value of x.
24184         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24185         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24186         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24187         RUN_TEST_ffI_f1_mod8.
24188         (remquo_test_data): Add more tests.
24190 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24192         * sysdeps/init_array/pt-crti.S: New file.
24194 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24196         [BZ #17967]
24197         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24198         __builtin_fmaf instead of relying on contraction of a * b + c.
24200 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24202         [BZ #17969]
24203         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24204         node.
24206 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24208         [BZ #17964]
24209         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24210         __builtin_fma instead of relying on contraction of a * b + c.
24212 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24214         * Makeconfig (ASFLAGS): Add -Werror=undef.
24215         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24216         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24217         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24219         * Makeconfig (after-link): New variable.
24220         (+link-pie, +link-pie-tests): Use it.
24221         (+link-static, +link-static-tests): Likewise.
24222         (+link, +link-tests): Likewise.
24223         * Makerules (build-module, build-module-asneeded): Likewise.
24224         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24225         Likewise.
24226         * elf/Makefile ($(objpfx)ld.so): Likewise.
24228 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24230         [BZ #17965]
24231         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24232         both struct timeval and struct timespec.
24234 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24236         [BZ #16560]
24237         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24238         and redefine.
24239         (__ieee754_exp2l): Do not multiply small fractional parts by
24240         M_LN2l.
24241         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24242         small argument.
24243         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24244         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24245         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24246         * math/auto-libm-test-in: Add more tests of exp2.
24247         * math/auto-libm-test-out: Regenerated.
24249 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24251         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24252         unaligned path.
24254 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24256         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24257         little endian.
24259 2015-02-12  Andreas Schwab  <schwab@suse.de>
24261         [BZ #15790]
24262         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24263         Filter out elision flags from value returned in kind.
24264         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24265         * nptl/tst-pthread-mutexattr.c: New file.
24267 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24269         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24270         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24271         into gnu-gnu, and update comment to refer to abi-tags.
24273 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24275         [BZ #15467]
24276         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24277         (__sincos): Set errno to EDOM for infinite argument.
24278         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24279         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24280         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24281         (__sincosl): Set errno to EDOM for infinite argument.
24282         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24283         (__sincosl): Set errno to EDOM for infinite argument.
24284         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24285         (__sincosl): Set errno to EDOM for infinite argument.
24286         * math/libm-test.inc (sincos_test_data): Test errno setting.
24288 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24290         * string/strxfrm_l.c: Remove #define STRCMP.
24291         * string/strcoll_l.c: Remove #define STRLEN.
24292         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24293         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24295 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24297         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24298         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24299         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24300         * sysdeps/mips/mips64/Makefile: ... here.
24301         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24302         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24303         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24304         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24305         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24306         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24307         * sysdeps/mips/mips64/n64/Implies: Likewise.
24309 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24311         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24312         <sys/time.h>, <string.h>, and <errno.h>.
24313         (dest_offset, dest_address, value, zero): Remove unused variables.
24314         (ldouble): Remove typedef.
24315         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24316         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24317         1).  Fix code style.
24318         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24319         (check): Function removed.
24320         (CHECK): New macro.
24321         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24322         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24323         Don't call set_sigaction_FP and remove_sigaction_FP here.
24324         (ldouble_test): Just use 'long double' as macro argument, no need for
24325         the 'ldouble' typedef.
24326         (do_test): Set up SIGFPE handler at start, using plain signal rather
24327         than sigaction.  Fix code style.
24329 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24331         [BZ #17949]
24332         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24333         jump label.
24335 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24337         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24338         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24340         * sysdeps/powerpc/configure.ac: Remove file.
24341         * sysdeps/powerpc/configure: Likewise.
24343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24344         [sysdep_routines]: Remove wordcopy-power6 object.
24345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24346         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24348         (__memmove_ppc32): Likewise.
24349         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24350         file.
24351         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24353         Remove preprocessor.
24355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24356         [sysdep_routines]: Remove wide chars objects.
24357         [wcsmbs]: New rule for wide char objects.
24359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24360         Remove wordcopy-power6 obejct.
24361         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24362         Use local call for wordcopy and memcpy symbols.
24363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24365         implementation for loader.
24366         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24368         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24369         Remove wordcopy-power7 object.
24370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24371         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24372         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24373         (_wordcopy_fwd_dest_aligned): Likewise.
24374         (_wordcopy_bwd_aligned): Likewise.
24375         (_wordcopy_bwd_dest_aligned): Likewise.
24377         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24378         Rewrite to call __memmove_ppc instead of include default
24379         implementation.
24381         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24382         Remove wide chars objects.
24383         [wcsmbs]: New rule for wide char objects.
24385 2015-02-09  Andreas Schwab  <schwab@suse.de>
24387         [BZ #17912]
24388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24389         in terms of __O_DIRECTORY.
24391 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24393         * time/getdate.c: Include <stdbool.h>.
24394         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24395         call PTR_MANGLE.
24396         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24397         PTR_DEMANGLE.
24399 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24401         Add ersatz _Static_assert on older C hosts
24402         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24403         pre-C11 C platform that is not known to support _Static_assert.
24405 2015-02-07  Richard Braun  <rbraun@sceen.net>
24407         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24408         sigstate.
24409         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24411 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24413         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24414         priority against unexistent AIO_PRIO_DELTA_MAX.
24415         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24416         instead of int.
24417         * misc/fchflags.c (fchflags): Likewise.
24418         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24419         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24420         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24421         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24422         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24423         Declare macros.
24424         [__USE_MISC] (chflags, fchflags): Declare functions.
24425         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24426         EINVAL when nfds is greater than FD_SETSIZE.
24427         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24428         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24429         45.
24430         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24431         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24432         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24433         MACH_RCV_TIMED_OUT.
24434         * hurd/hurd/signal.h (_hurd_self_sigstate,
24435         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24436         Explicit casts from void *.
24437         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24438         * abi-tags: Rename gnu-gnu os into gnu.
24440         [BZ #4719]
24441         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24442         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24443         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24444         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24445         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24446         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24448         [BZ #17944]
24449         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24450         duplicates ADDR->sun_path with sockaddr LEN limitation.
24451         * sysdeps/mach/hurd/connect.c: Include <string.h>
24452         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24453         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24454         * sysdeps/mach/hurd/sendto.c: Likewise.
24455         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24456         implementing it by hand.
24458 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24460         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24461         Use sfi_breg on ldr.
24462         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24463         Likewise.
24465         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24466         it's defined.
24467         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24468         Test SIGSETXID only if it's defined.
24470         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24472         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24473         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24475         * nptl/tst-align2.c: Moved ...
24476         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24477         * nptl/Makefile (tests): Remove tst-align2.
24478         * sysdeps/unix/sysv/linux/Makefile
24479         [$(subdir) = nptl] (tests): Add tst-align-clone.
24480         * nptl/tst-getpid1.c: Moved ...
24481         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24482         * nptl/tst-getpid2.c: Moved ...
24483         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24484         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24485         * sysdeps/unix/sysv/linux/Makefile
24486         [$(subdir) = nptl] (tests): ... here.
24487         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24488         * sysdeps/unix/sysv/linux/Makefile
24489         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24491         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24492         Drop trailing \n from perror argument.  Use return rather than exit.
24494         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24495         on [SA_SIGINFO].
24496         * nptl/tst-cancel21.c (do_test): Likewise.
24497         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24498         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24499         [!SA_SIGINFO]: Make it a stub test.
24501         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24502         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24504         * posix/tst-getlogin.c: Move to ...
24505         * login/tst-getlogin.c: ... here.
24506         * posix/Makefile (tests): Move tst-getlogin to ...
24507         * login/Makefile (tests): ... here.
24509         * libio/tst-atime.c (do_test): Move local variables SV and E
24510         inside [ST_NOATIME] conditional.
24512         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24514         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24516         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24517         (wait_code): New function replaces macro.
24518         Call nanosleep rather than syscall.
24520         * nptl/pt-system.c: Rewritten.  Put everything under
24521         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24522         Use IFUNC to redirect when possible.
24524         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24525         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24526         Use IFUNC to redirect when possible.
24528         * nptl/pt-fork.c: Rewritten.  Put everything under
24529         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24530         Use IFUNC to redirect when possible.
24531         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24533         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24534         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24535         unconditionally nowadays.  This included the only reference to
24536         __vdso_clock_gettime that appears outside libc proper.
24537         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24538         Remove version set (containing only __vdso_clock_gettime).
24539         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24540         Add attribute_hidden.
24541         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24542         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24543         libc_hidden_data_def.
24544         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24545         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24547         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24548         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24549         setrpcent, and getrpcport to ...
24550         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24551         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24552         getrpcbynumber_r, and getrpcent_r to ...
24553         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24554         * inet/getrpcbyname.c: Moved ...
24555         * sunrpc/getrpcbyname.c: ... here.
24556         * inet/getrpcbyname_r.c: Moved ...
24557         * sunrpc/getrpcbyname_r.c: ... here.
24558         * inet/getrpcbynumber.c: Moved ...
24559         * sunrpc/getrpcbynumber.c: ... here.
24560         * inet/getrpcbynumber_r.c: Moved ...
24561         * sunrpc/getrpcbynumber_r.c: ... here.
24562         * inet/getrpcent.c: Moved ...
24563         * sunrpc/getrpcent.c: ... here.
24564         * inet/getrpcent_r.c: Moved ...
24565         * sunrpc/getrpcent_r.c: ... here.
24566         * inet/Makefile (routines): Move those to ...
24567         * sunrpc/Makefile (routines): ... here.
24568         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24569         the $(subdirs) list.
24570         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24571         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24572         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24573         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24575         * elf/Makefile (routines): Include $(all-dl-routines), not just
24576         $(dl-routines).
24577         (rtld-routines): Likewise.  Use = rather than :=.
24578         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24579         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24580         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24581         * sysdeps/arm/Makefile: Likewise.
24582         * sysdeps/i386/Makefile: Likewise.
24583         * sysdeps/x86_64/Makefile: Likewise.
24584         * sysdeps/hppa/Makefile [$(subdir) = elf]
24585         (sysdep_routines, sysdep-rtld-routines): Don't add
24586         $(sysdep-dl-routines) to these.
24587         * sysdeps/ia64/Makefile: Likewise.
24588         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24589         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24590         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24591         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24592         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24593         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24594         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24595         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24596         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24597         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24598         these; sysdep-dl-routines alone is enough.
24600 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24602         [BZ #17932]
24603         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24604         where multiplication results in zero and third argument is finite
24605         and nonzero.
24606         * math/auto-libm-test-in: Add more tests of fma.
24607         * math/auto-libm-test-out: Regenerated.
24609         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24610         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24611         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24612         (_FP_CMP_EQ): Likewise.
24613         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24615         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24616         extra argument CHECK_NAN.  Redefine as wrapper around
24617         _FP_EXTEND_CNAN.
24619 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24621         * version.h (RELEASE): Set to "stable".
24622         (VERSION): Set to "2.21"
24623         * include/features.h (__GLIBC_MINOR__): Set to 21.
24625         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24627 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24628             Paul Eggert  <eggert@cs.ucla.edu>
24630         [BZ #16618]
24631         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24632         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24633         size in bytes. Store needed elements in wpmax. Use needed size
24634         in bytes for extend_alloca.
24636 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24638         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24639         binutls 2.25, and texinfo 5.2.
24640         * INSTALL: Regenerate.
24641         * sysdeps/nios2/configure: Regenerate.
24642         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24643         * manual/contrib.texi: Update.
24644         * po/be.po: Update.
24645         * po/bg.po: Update.
24646         * po/ca.po: Update.
24647         * po/cs.po: Update.
24648         * po/da.po: Update.
24649         * po/de.po: Update.
24650         * po/el.po: Update.
24651         * po/eo.po: Update.
24652         * po/es.po: Update.
24653         * po/fi.po: Update.
24654         * po/fr.po: Update.
24655         * po/gl.po: Update.
24656         * po/hr.po: Update.
24657         * po/hu.po: Update.
24658         * po/ia.po: Update.
24659         * po/id.po: Update.
24660         * po/it.po: Update.
24661         * po/ja.po: Update.
24662         * po/ko.po: Update.
24663         * po/lt.po: Update.
24664         * po/nb.po: Update.
24665         * po/nl.po: Update.
24666         * po/pl.po: Update.
24667         * po/pt_BR.po: Update.
24668         * po/ru.po: Update.
24669         * po/rw.po: Update.
24670         * po/sk.po: Update.
24671         * po/sl.po: Update.
24672         * po/sv.po: Update.
24673         * po/tr.po: Update.
24674         * po/uk.po: Update.
24675         * po/vi.po: Update.
24676         * po/zh_CN.po: Update.
24677         * po/zh_TW.po: Update.
24679         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24680         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24681         * sysdeps/hppa/dl-irel.h: Remove #warning.
24682         * sysdeps/hppa/entry.h: Provide prototype for
24683         __canonicalize_funcptr_for_compare and cast argument.
24684         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24685         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24686         * sysdeps/hppa/sotruss-lib.c: New file.
24687         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24688         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24689         (atomic_compare_and_exchange_bool_acq): Likewise.
24690         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24691         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24693         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24694         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24695         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24697 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24699         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24700         called function in non-PIC case.
24702 2015-01-31  David S. Miller  <davem@davemloft.net>
24704         * sysdeps/sparc/sparc32/bits/atomic.h
24705         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24706         unlock not after it.
24707         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24708         volatile register usage warnings from the compiler.
24710         * sysdeps/sparc/nptl/sem_init.c: Delete.
24711         * sysdeps/sparc/nptl/sem_post.c: Delete.
24712         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24713         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24714         * sysdeps/sparc/sparc32/sem_init.c: New file.
24715         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24716         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24717         padding explicitly initialized.
24718         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24719         padding for in-semaphore spinlock.
24720         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24721         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24722         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24723         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24724         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24725         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24726         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24727         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24728         version.
24729         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24732 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24734         [BZ #17801]
24735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24736         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24737         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24738         New.
24739         (index_AVX_Fast_Unaligned_Load): Likewise.
24740         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24741         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24742         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24743         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24744         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24745         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24746         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24747         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24748         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24750 2015-01-29  Andreas Schwab  <schwab@suse.de>
24752         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24754 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24756         [BZ #17892]
24757         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24759 2015-01-28  Martin Sebor  <msebor@redhat.com>
24761         * math/README.libm-test: Clarify. Add "How to read the test output."
24763 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24765         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24766         Define to 0.
24768 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24770         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24771         (__HAVE_64B_ATOMICS): Define to 0.
24773 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24775         [BZ #17885]
24776         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24777         value to set as new flag.
24779         [BZ #16576]
24780         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24781         and use _ARCH_PPCSQ instead.
24782         (__ieee754_sqrt): Likewise.
24783         (__ieee754_sqrtf): Likewise.
24784         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24785         _ARCH_PPCSQ is defined.
24786         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24787         fsqrt instruction.
24788         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24789         _ARCH_PPCSQ is defined.
24790         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24791         fsqrts instruction.
24792         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24794 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24796         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24797         bug (GCC BZ #64739).
24799 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24801         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24802         Mark _retval as used.
24803         (lll_futex_wake_unlock): Likewise.
24804         (lll_futex_timed_wait_requeue_pi): Likewise.
24806         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24807         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24808         register variables.
24810         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24811         libm_hidden_def.
24813         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24814         (__bswap_64): Mark as __always_inline.
24816 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24818         [BZ #15378]
24819         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24820         when none of the search directories exist.
24822 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24824         [BZ #17869]
24825         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24826         power8 in .machine directive.
24828         [BZ #17868]
24829         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24830         set dependency from opd value.
24832 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24835         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24836         architecture.
24838 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24840         [BZ #17870]
24841         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24842         with uint64_t.
24843         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24844         (uint64_t) 1.
24845         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24846         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24847         Replace 1UL with (uint64_t) 1.
24848         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24849         int with uint64_t.
24851 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24853         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24854         (if_freenameindex): Likewise.
24856         * resource/getrlimit64.c: Add missing libc_hidden_def.
24858 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24860         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24861         __label__.
24862         (_FP_FMA): Likewise.
24863         (_FP_TO_INT_ROUND): Likewise.
24864         (_FP_FROM_INT): Likewise.
24866 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24868         [BZ #16418]
24869         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24870         Make code racy and cancel safe.
24872 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24874         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24875         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24876         attribution.
24878         * pwd/tst-getpw.c: Rewrite.
24880         [BZ #17702]
24881         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24882         (modules-names): Add moddummy1 and moddummy2.
24883         ($(objpfx)tst-rec-dlopen): Define.
24884         * dlfcn/moddummy1.c: New file.
24885         * dlfcn/moddummy2.c: New file.
24886         * dlfcn/tst-rec-dlopen.c: New file.
24887         * elf/dl-cache.c (_dl_load_cache_lookup):
24888         Return char*. Copy result with alloca/strcpy/strdup.
24889         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24890         returns char*. Free cached. If not saving realname
24891         free cached.
24892         * elf/dl-open.c (dl_open_worker): Do not assert that
24893         _r_debug->r_state is RT_CONSISTENT.
24894         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24895         returns char*.
24897 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24898             Carlos O'Donell  <carlos@redhat.com>
24900         [BZ #12674]
24901         * nptl/sem_waitcommon.c: New file.
24902         * nptl/sem_wait.c: Include sem_waitcommon.c.
24903         (__sem_wait_cleanup, do_futex_wait): Remove.
24904         (__new_sem_wait): Adapt.
24905         (__new_sem_trywait): New function.
24906         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24907         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24908         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24909         (sem_timedwait): Adapt.
24910         * nptl/sem_post.c (__new_sem_post): Adapt.
24911         (futex_wake): New function.
24912         (__old_sem_post): Add release MO fence.
24913         * nptl/sem_open.c (sem_open): Adapt.
24914         * nptl/sem_init.c (__new_sem_init): Adapt.
24915         (futex_private_if_supported): New function.
24916         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24917         (__old_sem_getvalue): Add using previous code.
24918         * sysdeps/nptl/internaltypes.h: Adapt.
24919         * nptl/tst-sem13.c (do_test): Adapt.
24920         * nptl/tst-sem11.c (main): Adapt.
24921         * nptl/sem_trywait.c: Remove.
24922         * nptl/DESIGN-sem.txt: Remove.
24923         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24924         (gen-as-const-headers): Remove structsem.sym.
24925         * nptl/structsem.sym: Remove.
24926         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24927         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24928         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24929         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24930         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24932         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24933         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24934         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24935         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24936         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24937         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24938         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24939         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24940         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24941         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24942         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24943         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24944         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24945         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24946         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24947         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24949 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24951         * INSTALL: Regenerated.
24953         * po/libc.pot: Regenerated.
24955 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24956             Sandra Loosemore  <sandra@codesourcery.com>
24957             Andrew Jenner  <andrew@codesourcery.com>
24958             Joseph Myers  <joseph@codesourcery.com>
24959             Nathan Sidwell  <nathan@codesourcery.com>
24961         * NEWS: Mention new Nios II port.
24962         * sysdeps/nios2/Implies: New file.
24963         * sysdeps/nios2/Makefile: New file.
24964         * sysdeps/nios2/Subdirs: New file.
24965         * sysdeps/nios2/Versions: New file.
24966         * sysdeps/nios2/__longjmp.S: New file.
24967         * sysdeps/nios2/abort-instr.h: New file.
24968         * sysdeps/nios2/backtrace.c: New file.
24969         * sysdeps/nios2/bits/endian.h: New file.
24970         * sysdeps/nios2/bits/fenv.h: New file.
24971         * sysdeps/nios2/bits/link.h: New file.
24972         * sysdeps/nios2/bits/setjmp.h: New file.
24973         * sysdeps/nios2/bsd-_setjmp.S: New file.
24974         * sysdeps/nios2/bsd-setjmp.S: New file.
24975         * sysdeps/nios2/configure: New generated file.
24976         * sysdeps/nios2/configure.ac: New file.
24977         * sysdeps/nios2/crti.S: New file.
24978         * sysdeps/nios2/crtn.S: New file.
24979         * sysdeps/nios2/dl-init.c: New file.
24980         * sysdeps/nios2/dl-machine.h: New file.
24981         * sysdeps/nios2/dl-sysdep.h: New file.
24982         * sysdeps/nios2/dl-tls.h: New file.
24983         * sysdeps/nios2/dl-trampoline.S: New file.
24984         * sysdeps/nios2/gccframe.h: New file.
24985         * sysdeps/nios2/gmp-mparam.h: New file.
24986         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24987         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24988         * sysdeps/nios2/ldsodefs.h: New file.
24989         * sysdeps/nios2/libc-tls.c: New file.
24990         * sysdeps/nios2/libm-test-ulps: New file.
24991         * sysdeps/nios2/machine-gmon.h: New file.
24992         * sysdeps/nios2/math-tests.h: New file.
24993         * sysdeps/nios2/math_private.h: New file.
24994         * sysdeps/nios2/memusage.h: New file.
24995         * sysdeps/nios2/nptl/Makefile: New file.
24996         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24997         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24998         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24999         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25000         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25001         * sysdeps/nios2/nptl/tls.h: New file.
25002         * sysdeps/nios2/preconfigure: New file.
25003         * sysdeps/nios2/s_fma.c: New file.
25004         * sysdeps/nios2/s_fmaf.c: New file.
25005         * sysdeps/nios2/setjmp.S: New file.
25006         * sysdeps/nios2/sfp-machine.h: New file.
25007         * sysdeps/nios2/sotruss-lib.c: New file.
25008         * sysdeps/nios2/stackguard-macros.h: New file.
25009         * sysdeps/nios2/stackinfo.h: New file.
25010         * sysdeps/nios2/start.S: New file.
25011         * sysdeps/nios2/sysdep.h: New file.
25012         * sysdeps/nios2/tls-macros.h: New file.
25013         * sysdeps/nios2/tst-audit.h: New file.
25014         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25015         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25016         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25017         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25018         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25019         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25020         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25021         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25022         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25023         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25024         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25025         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25026         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25027         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25028         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25029         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25030         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25031         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25032         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25033         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25034         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25035         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25036         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25037         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25038         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25039         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25040         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25041         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25042         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25043         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25044         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25045         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25046         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25047         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25048         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25049         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25051         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25052         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25053         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25054         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25055         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25056         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25057         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25059 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25061         [BZ #17844]
25062         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25063         (getutent): Use weak_alias in non SHARED case
25064         and default_symbol_version in SHARED case.
25065         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25066         (getutent_r, pututline): Likewise.
25067         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25068         (getutid): Likewise.
25069         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25070         (getutid_r): Likewise.
25071         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25072         (getutline): Likewise.
25073         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25074         (getutline_r): Likewise.
25075         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25076         (updwtmp): Likewise.
25078 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25080         [BZ #17848]
25081         * sysdeps/s390/s390-32/memcmp.S
25082         (memcmp_g5): Rename to __memcmp_g5.
25083         * sysdeps/s390/s390-32/memcpy.S
25084         (memcpy_g5): Rename to __memcpy_g5.
25085         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25086         (memcpy_mvcle) Rename to __memcpy_mvcle.
25087         * sysdeps/s390/s390-32/memset.S
25088         (memset_g5): Rename to __memset_g5.
25089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25090         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25091         and use prefixed functions.
25092         * sysdeps/s390/s390-32/multiarch/memcmp.S
25093         (memcmp_z196): Rename to __memcmp_z196.
25094         (memcmp_z10): Rename to __memcmp_z10.
25095         (memcmp): Set alias to __memcmp_g5.
25096         (bcmp): Set alias to __memcmp_g5.
25097         * sysdeps/s390/s390-32/multiarch/memcpy.S
25098         (memcpy_z196): Rename to __memcpy_z196.
25099         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25100         (memcpy_z10): Rename to __memcpy_z10.
25101         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25102         (memcpy): Set alias to __memcpy_g5.
25103         * sysdeps/s390/s390-32/multiarch/memset.S
25104         (memset_z196): Rename to __memset_z196.
25105         Jump to __memset_mvcle instead of memset_mvcle.
25106         (memset_z10): Rename to __memset_z10.
25107         Jump to __memset_mvcle instead of memset_mvcle.
25108         (memset_mvcle) Rename to __memset_mvcle.
25109         (memset): Set alias to __memset_g5.
25110         * sysdeps/s390/s390-64/memcmp.S
25111         (memcmp_z900): Rename to __memcmp_z900.
25112         * sysdeps/s390/s390-64/memcpy.S
25113         (memcpy_z900): Rename to __memcpy_z900.
25114         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25115         (memcpy_mvcle) Rename to __memcpy_mvcle.
25116         * sysdeps/s390/s390-64/memset.S
25117         (memset_z900): Rename to __memset_z900.
25118         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25119         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25120         and use prefixed functions.
25121         * sysdeps/s390/s390-64/multiarch/memcmp.S
25122         (memcmp_z196): Rename to __memcmp_z196.
25123         (memcmp_z10): Rename to __memcmp_z10.
25124         (memcmp): Set alias to __memcmp_z900.
25125         (bcmp): Set alias to __memcmp_z900.
25126         * sysdeps/s390/s390-64/multiarch/memcpy.S
25127         (memcpy_z196): Rename to __memcpy_z196.
25128         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25129         (memcpy_z10): Rename to __memcpy_z10.
25130         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25131         (memcpy): Set alias to __memcpy_z900.
25132         * sysdeps/s390/s390-64/multiarch/memset.S
25133         (memset_z196): Rename to __memset_z196.
25134         Jump to __memset_mvcle instead of memset_mvcle.
25135         (memset_z10): Rename to __memset_z10.
25136         Jump to __memset_mvcle instead of memset_mvcle.
25137         (memset_mvcle) Rename to __memset_mvcle.
25138         (memset): Set alias to __memset_z900.
25140 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25142         [BZ #17748]
25143         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25144         __fesetenv instead of fesetenv.
25146 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25148         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25149         macro.
25151 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25153         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25154         regression on LE.
25156         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25157         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25159         strncmp-power8 object.
25160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25161         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25162         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25163         * NEWS: Update.
25165 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25166             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25168         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25169         trailing byte check.
25171 2015-01-13  David S. Miller  <davem@davemloft.net>
25173         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25175 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25177         * login/logout.c (logout): Use memset rather than bzero.
25178         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25179         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25180         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25181         (_gethtbyaddr): Likewise.
25182         * locale/programs/simple-hash.c (bcopy): Macro removed.
25184 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25186         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25187         Add strcmp-power8 object.
25188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25189         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25190         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25191         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25192         __strcmp_power8 implementation.
25193         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25194         * NEWS: Update.
25196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25197         Add strncpy-power8 and stpncpy-power8 objects.
25198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25199         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25200         implementations.
25201         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25202         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25203         __stpncpy_power8 implementation.
25204         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25205         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25206         __strncpy_power8 implementation.
25207         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25208         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25209         * NEWS: Update.
25211         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25212         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25213         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25216         strncat-power8 object.
25217         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25218         __strcat_power8 implementation.
25219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25220         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25221         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25222         optimized strcat for power8.
25224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25225         strcpy-power8 and stpcpy-power8 objects.
25226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25227         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25228         implementations.
25229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25230         multiarch stpcpy implementation for POWER8.
25231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25232         multiarch strcpy implementation for POWER8.
25233         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25234         __strcpy_power8 function.
25235         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25236         stpcpy for POWER8.
25237         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25238         strcpy for POWER8.
25239         * NEWS: Update.
25241 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25243         [BZ #16009]
25244         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25245         weights and rules. Use do_xfrm_cached if data fits in cache,
25246         do_xfrm otherwise.  Moved former main loop to...
25247         * (do_xfrm_cached): New function.
25248         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25249         find_idx, find_position and stack_push.
25250         * (find_idx): New function.
25251         * (find_position): Likewise.
25252         * localedata/sort-test.sh: Added test run for do_xfrm.
25253         * localedata/xfrm-test.c (main): Added command line option
25254         -nocache to run the test with strings that are too large for
25255         the STRXFRM cache.
25257 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25259         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25260         variable to lll_futex_wake call, not the value itself.
25262 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25264         [BZ #17803]
25265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25266         twom64.  Adjust value to 0x1p-64L.
25267         (__scalblnl): Only return standard underflowing result for K <=
25268         -64 not K <= -63; adjust exponent for underflowing result by 64
25269         not 63.
25270         * math/libm-test.inc (scalbn_test_data): Add more tests.
25271         (scalbln_test_data): Likewise.
25273         [BZ #17834]
25274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25275         0x1p63L.
25276         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25277         not HX.
25278         * math/libm-test.inc (scalbn_test_data): Add more tests.
25279         (scalbln_test_data): Likewise.
25281 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25282             Stefani Seibold  <stefani@seibold.net>
25284         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25285         (sysdep_routines): Add dl-vdso here, ...
25286         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25287         (sysdep_routines): ... not here.
25288         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25289         fallback when vDSO is not presented.
25290         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25291         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25292         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25293         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25294         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25295         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25296         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25297         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25298         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25300         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25301         fallback configurable symbol when vDSO is not available.
25302         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25303         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25304         be able to redefine fallback symbol when vDSO is not available.
25305         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25306         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25308 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25310         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25311         (TLS_INIT_TP): Add tm_capable initialization.
25312         (TLS_DEFINE_INIT_TP): Likewise.
25313         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25314         TCB.
25315         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25316         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25317         calculation.
25318         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25319         transactoion is lock elision is built and TCB tm_capable is set.
25320         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25322         (INTERNAL_SYSCALL_NCS): Likewise.
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25324         (INTERNAL_SYSCALL_NCS): Likewise.
25325         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25327         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25328         for powerpc.
25329         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25330         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25331         and remove it for 32 bits case.
25332         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25334         initialization.
25335         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25336         Disable lock elision with rdlocks if elision is not available.
25338         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25339         (sysdep_routines): Add lock elision objects.
25340         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25341         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25342         [pthread_mutex_t] (__elision): Add field.
25343         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25344         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25345         elision definitions for powerpc.
25346         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25347         implementation of lock elision for powerpc.
25348         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25349         implementation of timed lock elision for powerpc.
25350         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25351         implementation of trylock with lock elision for powerpc.
25352         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25353         implementaion of unlock for lock elision for powerpc.
25354         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25355         automatic enable lock elision for mutexes.
25356         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25357         transaction execution definitions for powerpc.
25358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25359         definitions.
25360         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25361         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25362         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25363         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25364         * NEWS: Update.
25366 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25368         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25369         for #include of <shm-directory.h>.
25371 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25374         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25376 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25378         [BZ #17791]
25379         * NEWS: Mention bug fix.
25380         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25381         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25382         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25384 2015-01-09  Torvald Riegel <triegel@redhat.com>
25386         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25388 2015-01-09  Torvald Riegel <triegel@redhat.com>
25390         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25392 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25394         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25395         pointer and cast to uintptr_t.
25397 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25399         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25400         removed.
25401         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25403 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25405         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25406         of 0.
25408 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25410         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25411         <nptl/pthreadP.h> instead.
25412         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25414         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25415         already defined.
25416         [__SIGRTMIN] (init): Function removed.
25417         [__SIGRTMIN] (initialized): Variable removed.
25418         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25419         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25420         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25421         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25422         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25423         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25424         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25425         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25426         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25427         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25428         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25429         * sysdeps/nptl/allocrtsig.c: New file.
25430         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25431         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25432         * sysdeps/generic/testrtsig.h: File removed.
25434         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25435         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25437         * nptl/nptl-init.c (pthread_functions): Conditionalize
25438         .ptr__nptl_setxid initialization on [SIGSETXID].
25440         * sysdeps/nptl/sys/procfs.h: New file.
25441         * nptl_db/Makefile (headers): Add it.
25442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25444         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25445         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25446         * nptl/pthread_attr_setaffinity.c: Include it.
25447         * nptl/pthread_setattr_default_np.c: Likewise.
25448         * nptl/check-cpuset.h: New file.
25450 2015-01-08  Richard Henderson  <rth@redhat.com>
25452         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25453         (CFLAGS-tst-execstack-prog.c): Likewise.
25454         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25456 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25457             Sandra Loosemore  <sandra@codesourcery.com>
25458             Andrew Jenner  <andrew@codesourcery.com>
25459             Joseph Myers  <joseph@codesourcery.com>
25460             Nathan Sidwell  <nathan@codesourcery.com>
25462         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25463         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25464         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25465         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25466         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25467         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25468         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25469         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25470         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25471         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25472         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25473         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25474         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25475         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25476         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25477         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25478         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25480 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25482         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25483         timespec struct member in syscall macro.
25484         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25485         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25486         first timeval struct member in syscall macro.
25487         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25489 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25491         [BZ #17748]
25492         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25493         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25494         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25495         __feupdateenv and define as weak alias of __feupdateenv.  Use
25496         libm_hidden_weak.
25497         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25498         libm_hidden_def.
25499         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25500         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25501         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25502         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25503         libm_hidden_def.
25504         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25505         __feupdateenv and define as weak alias of __feupdateenv.  Use
25506         libm_hidden_weak.
25507         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25508         libm_hidden_def.
25509         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25510         __feupdateenv and define as weak alias of __feupdateenv.  Use
25511         libm_hidden_weak.
25512         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25513         libm_hidden_def.
25514         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25515         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25516         (__feupdateenv): Likewise.
25517         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25518         __feupdateenv and define as weak alias of __feupdateenv.  Use
25519         libm_hidden_weak.
25520         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25521         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25522         libm_hidden_def.
25523         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25524         function.
25525         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25526         libm_hidden_def.
25527         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25528         __feupdateenv instead of feupdateenv.
25529         (default_libc_feupdateenv_test): Likewise.
25530         (libc_feresetround_ctx): Likewise.
25532 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25534         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25535         prototype.
25537 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25539         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25540         COLL_SYM in a couple of places to avoid uninitialized variable
25541         wanings on tilegx gcc 4.8.2.
25543 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25545         * sysdeps/aarch64/strcpy.S: New file.
25546         * sysdeps/aarch64/stpcpy.S: New file.
25547         * NEWS: Updated.
25549 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25551         * sysdeps/aarch64/strrchr.S: New file.
25552         * NEWS: Updated.
25554 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25556         [BZ #17658]
25557         * stdlib/setenv.c: Fix memory leak when setting large,
25558         duplicate string.
25560 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25562         [BZ #17273]
25563         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25564         and tabs from buffer before parsing fstab entry.
25565         * misc/tst-mntent.c (main): Add test for mount entry with
25566         trailing spaces and tabs.
25568 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25570         [BZ #17748]
25571         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25572         * math/fesetround.c (fesetround): Rename to __fesetround and
25573         define as weak alias of __fesetround.  Use libm_hidden_weak.
25574         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25575         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25576         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25577         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25578         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25579         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25580         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25581         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25582         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25583         __fesetround_inline.
25584         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25585         __fesetround_inline instead of __fesetround.
25586         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25587         __fesetround and define as weak alias of __fesetround.  Use
25588         libm_hidden_weak.  Call __fesetround_inline instead of
25589         __fesetround.
25590         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25591         __fesetround and define as weak alias of __fesetround.  Use
25592         libm_hidden_weak.
25593         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25594         Likewise.
25595         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25596         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25597         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25598         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25599         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25600         __fesetround and define as weak alias of __fesetround.  Use
25601         libm_hidden_weak.
25602         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25603         __fesetround instead of fesetround.
25604         (default_libc_feholdexcept_setround): Likewise.
25605         (libc_feholdsetround_ctx): Likewise.
25606         (libc_feholdsetround_noex_ctx): Likewise.
25608         [BZ #17748]
25609         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25610         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25611         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25612         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25613         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25614         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25615         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25616         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25617         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25618         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25619         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25620         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25621         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25622         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25623         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25624         libm_hidden_def.
25625         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25626         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25627         Likewise.
25628         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25629         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25630         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25631         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25632         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25633         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25634         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25635         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25636         __fesetenv instead of fesetenv.
25637         (libc_feresetround_noex_ctx): Likewise.
25638         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25639         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25640         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25641         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25642         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25643         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25644         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25645         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25646         (__feupdateenv): Likewise.
25647         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25650         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25652 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25654         [BZ #17806]
25655         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25656         addresses have been freed.
25658 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25660         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25661         and nservall.
25663 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25665         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25666         Clean up check_pf allocation pattern. addresses
25668 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25670         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25671         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25672         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25673         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25674         * nptl/pthread_join.c (pthread_join): Likewise.
25675         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25676         * sysdeps/posix/waitid.c (__waitid): Likewise.
25677         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25678         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25679         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25680         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25682         Likewise.
25683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25684         (__libc_pread64): Likewise.
25685         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25686         (__libc_pwrite): Likewise.
25687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25688         (__libc_pwrite64): Likewsie.
25689         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25690         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25691         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25692         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25693         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25694         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25695         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25697         Likewise.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25699         (__libc_pread64): Likewise.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25701         Likewise.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25703         (__libc_pwrite64): Likewise.
25704         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25705         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25706         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25707         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25708         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25709         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25710         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25711         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25712         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25713         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25714         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25715         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25716         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25717         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25718         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25719         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25720         Likewise.
25722 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25724         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25725         (CFLAGS-test-double.c): Likewise.
25726         (CFLAGS-test-ldouble.c): Likewise.
25727         (CPPFLAGS-test-ifloat.c): Likewise.
25728         (CPPFLAGS-test-idouble.c): Likewise.
25729         (CPPFLAGS-test-ildoubl.c): Likewise.
25730         (CFLAGS-test-test-fenv.c): Remove variable.
25731         (CFLAGS-test-misc.c): Likewise.
25733 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25735         [BZ #17797]
25736         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25737         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25738         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25739         CLOCKS_PER_SEC == 1000000.
25740         * time/clocktest.c (main): Replace %ld with %jd and cast to
25741         intmax_t.
25743 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25745         * sysdeps/generic/unwind-resume.h: New file.
25746         * sysdeps/gnu/unwind-resume.c: Include it.
25747         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25748         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25749         argument list.
25750         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25751         global rather than static.
25752         (_Unwind_Resume): Update user.
25753         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25754         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25755         rather than static.  Add __attribute__ ((cold)).
25756         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25757         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25758         * sysdeps/arm/arm-unwind-resume.S: New file.
25759         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25760         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25761         * sysdeps/arm/Makefile [$(subdir) = csu]
25762         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25763         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25764         Add rt-arm-unwind-resume.
25765         [$(subdir) = nptl]
25766         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25767         Add pt-arm-unwind-resume.
25768         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25769         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25771 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25773         [BZ #17748]
25774         * include/fenv.h (__feholdexcept): Declare.  Use
25775         libm_hidden_proto.
25776         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25777         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25778         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25779         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25780         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25781         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25782         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25783         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25784         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25785         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25786         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25787         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25788         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25789         (feholdexcept): Likewise.
25790         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25791         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25792         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25793         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25794         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25795         __feholdexcept instead of feholdexcept.
25796         (default_libc_feholdexcept_setround): Likewise.
25798 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25800         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25801         to avoid using stl/str to align destination.
25803 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25805         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25807 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25809         [BZ #17796]
25810         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25811         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25812         Define as weak alias not strong alias.
25814 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25816         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25817         bltzal with addiupc.
25818         (RTLD_START): Ditto.
25820 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25822         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25823         for __vdso_* functions in declarations.
25824         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25825         definitions.
25826         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25827         INTERNAL_VSYSCALL): Use struct return types to check for error.
25829         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25830         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25831         function with cast from llround().
25832         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25833         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25834         Define.
25836 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25838         [BZ #17793]
25839         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25840         Define as weak alias not strong alias.
25842         [BZ #17635]
25843         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25844         ...
25845         * ctype/ctype-extn.c: ... here.
25846         (__isblank_l): Move to ...
25847         * ctype/ctype-c99_l.c: ... here.  New file.
25848         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25849         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25850         Remove variable.
25851         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25852         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25853         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25854         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25855         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25857         [BZ #17777]
25858         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25859         (posix_fadvise64): Define as weak alias not strong alias.
25860         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25861         (posix_fallocate64): Likewise.
25862         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25863         Remove variable.
25864         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25865         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25866         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25867         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25868         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25870 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25872         [BZ #16191]
25873         * NEWS: Mention bug fix.
25874         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25875         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25876         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25877         (HOST_STACK_END_ADDR): Likewise.
25879 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25881         [BZ #17748]
25882         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25883         * math/fegetround.c (fegetround): Rename to __fegetround and
25884         define as weak alias of __fegetround.  Use libm_hidden_weak.
25885         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25886         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25887         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25888         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25889         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25890         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25891         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25892         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25893         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25894         Undefine after rather than before function definition; use
25895         parentheses around function name in definition.
25896         (__fegetround): Also undefine macro after function definition.
25897         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25898         __fegetround and define as weak alias of __fegetround.  Use
25899         libm_hidden_weak.  Do not undefine as macro.
25900         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25901         Likewise.
25902         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25903         __fegetround and define as weak alias of __fegetround.  Use
25904         libm_hidden_weak.
25905         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25906         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25907         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25908         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25909         __fegetround and define as weak alias of __fegetround.  Use
25910         libm_hidden_weak.
25911         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25912         __fegetround instead of fegetround.
25914         [BZ #17782]
25915         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25916         Condition macro definition on [__USE_MISC].
25918         [BZ #17781]
25919         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25920         (struct sigaction): Change type of sa_flags field to int.
25922         [BZ #17780]
25923         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25924         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25925         __glibc_reserved0.
25927         * nptl/version.c (banner): Use single year in copyright notice.
25929         * NEWS: Update copyright dates.
25930         * catgets/gencat.c (print_version): Likewise.
25931         * csu/version.c (banner): Likewise.
25932         * debug/catchsegv.sh: Likewise.
25933         * debug/pcprofiledump.c (print_version): Likewise.
25934         * debug/xtrace.sh (do_version): Likewise.
25935         * elf/ldconfig.c (print_version): Likewise.
25936         * elf/ldd.bash.in: Likewise.
25937         * elf/pldd.c (print_version): Likewise.
25938         * elf/sotruss.sh: Likewise.
25939         * elf/sprof.c (print_version): Likewise.
25940         * iconv/iconv_prog.c (print_version): Likewise.
25941         * iconv/iconvconfig.c (print_version): Likewise.
25942         * locale/programs/locale.c (print_version): Likewise.
25943         * locale/programs/localedef.c (print_version): Likewise.
25944         * login/programs/pt_chown.c (print_version): Likewise.
25945         * malloc/memusage.sh (do_version): Likewise.
25946         * malloc/memusagestat.c (print_version): Likewise.
25947         * malloc/mtrace.pl: Likewise.
25948         * manual/libc.texinfo: Likewise.
25949         * nptl/version.c (banner): Likewise.
25950         * nscd/nscd.c (print_version): Likewise.
25951         * nss/getent.c (print_version): Likewise.
25952         * nss/makedb.c (print_version): Likewise.
25953         * posix/getconf.c (main): Likewise.
25954         * scripts/test-installation.pl: Likewise.
25955         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25957 2015-01-02  Will Newton  <will.newton@linaro.org>
25959         * sysdeps/arm/armv7/configure: Removed.
25960         * sysdeps/arm/armv7/configure.ac: Likewise.
25962 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25964         * All files with FSF copyright notices: Update copyright dates
25965         using scripts/update-copyrights.
25966         * intl/plural.c: Regenerated.
25967         * locale/programs/charmap-kw.h: Likewise.
25968         * locale/programs/locfile-kw.h: Likewise.
25970 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25972         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25974 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25976         [BZ #17748]
25977         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25978         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25979         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25980         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25981         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25982         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25983         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25984         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25985         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25986         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25987         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25988         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25989         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25990         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25991         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25992         libm_hidden_def.
25993         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25994         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25995         Likewise.
25996         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25997         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25998         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25999         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26000         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26001         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26002         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26003         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26004         __fegetenv instead of fegetenv.
26005         (libc_feholdsetround_noex_ctx): Likewise.
26007 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26009         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26010         (Elf_MIPS_ABIFlags_v0): New structure.
26011         (EF_MIPS_FP64): Define.
26012         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26013         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26014         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26015         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26016         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26017         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26018         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26019         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26020         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26021         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26022         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26023         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26024         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26025         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26026         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26027         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26028         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26029         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26030         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26031         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26032         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26033         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26034         field.
26035         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26036         EF_MIPS_FP64.
26037         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26038         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26039         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26040         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26041         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26042         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26043         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26044         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26045         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26046         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26047         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26048         record the current FP ABI extension.
26049         (mips-mode-switch): Define to show if kernel headers support mode
26050         switching.
26051         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26052         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26053         supported SYSV ABI version to 3.
26054         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26055         feature.
26057 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26058             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26060         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26061         path.
26062         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26064 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26066         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26067         __fegetround and redefine to call __fegetround.  Remove condition
26068         on [!__NO_MATH_INLINES].
26069         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26070         function.
26071         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26072         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26073         Remove macro.
26074         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26075         instead of <fenv_libc.h>.
26076         (__llrintl): Call fegetround instead of __fegetround.
26077         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26078         instead of <fenv_libc.h>.
26079         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26080         (__lrintl): Call fegetround instead of __fegetround.
26081         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26082         instead of <fenv_libc.h>.
26083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26084         (__rintl): Call fegetround instead of __fegetround.
26086 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26088         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26089         arrays.
26091 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26093         [BZ #17775]
26094         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26095         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26096         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26098 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26100         * sysdeps/i386/tls-macros.h: Include <features.h>.
26101         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26102         (TLS_IE): Likewise.
26103         (TLS_LD): Likewise.
26104         (TLS_GD): Likewise.
26105         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26106         define for GCC >= 5.0.
26108 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26110         * math/test-fenv.c (test_single_exception, set_single_exc,
26111         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26112         feexcp_mask_test, feenable_test, fe_single_test): Add
26113         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26114         case where they are not used.
26115         * math/libm-test.inc: Likewise.
26116         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26117         unused in the absence of FP rounding/exception support.
26118         * stdio-common/tst-printf-round.c: Likewise.
26119         * stdlib/tst-strtod-round.c: Likewise.
26120         * stdlib/tst-strtod-underflow.c: Likewise.
26122 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26124         [BZ #17723]
26125         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26126         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26127         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26128         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26129         libm_hidden_weak.
26130         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26131         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26132         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26133         libm_hidden_def.
26134         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26135         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26136         libm_hidden_weak.
26137         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26138         Likewise.
26139         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26140         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26141         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26142         libm_hidden_weak.
26143         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26144         libm_hidden_def.
26145         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26146         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26147         (__feraiseexcept): Likewise.
26148         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26149         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26150         libm_hidden_weak.
26151         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26152         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26153         libm_hidden_def.
26154         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26155         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26156         Use libm_hidden_def.
26157         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26158         libm_hidden_def.
26159         (feraiseexcept): Define as weak not strong alias.  Use
26160         libm_hidden_weak.
26161         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26162         New inline function.  Factored out of ...
26163         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26164         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26165         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26166         feraiseexcept.
26167         * math/w_acos.c (__acos): Likewise.
26168         * math/w_asin.c (__asin): Likewise.
26169         * math/w_ilogb.c (__ilogb): Likewise.
26170         * math/w_j0.c (y0): Likewise.
26171         * math/w_j1.c (y1): Likewise.
26172         * math/w_jn.c (yn): Likewise.
26173         * math/w_log.c (__log): Likewise.
26174         * math/w_log10.c (__log10): Likewise.
26175         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26176         * sysdeps/aarch64/fpu/math_private.h
26177         (libc_feupdateenv_test_aarch64): Likewise.
26178         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26179         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26180         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26181         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26182         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26183         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26184         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26185         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26186         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26187         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26189 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26191         [BZ #17732]
26192         * io/test-utime.c (main): Replace %ld with %jd and cast to
26193         intmax_t.
26194         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26195         * nptl/tst-mutex5.c: Include <stdint.h>.
26196         (do_test): Replace %ld with %jd and cast to intmax_t.
26197         * posix/tst-regex.c (run_test): Likewise.
26198         (run_test_backwards): Likewise.
26199         * rt/tst-clock.c: Include <stdint.h>.
26200         (clock_test): Replace %ld with %jd and cast to intmax_t.
26201         * rt/tst-cpuclock1.c: Include <stdint.h>.
26202         (do_test): Replace %lu with %ju and cast to uintmax_t.
26203         * rt/tst-cpuclock2.c: Include <stdint.h>.
26204         (do_test): Replace %lu with %ju and cast to uintmax_t.
26205         * rt/tst-mqueue1.c: Include <stdint.h>.
26206         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26207         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26208         intmax_t.
26209         * rt/tst-mqueue4.c (do_test): Likewise.
26210         * rt/tst-timer4.c: Include <stdint.h>.
26211         (check_ts): Replace %ld with %jd and cast to intmax_t.
26212         (do_test): Likewise.
26213         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26214         and cast to intmax_t.
26215         * sysdeps/pthread/tst-timer.c (main): Likewise.
26216         * time/clocktest.c (main): Likewise.
26217         * time/tst-posixtz.c (do_test): Likewise.
26218         * timezone/tst-timezone.c (main): Likewise.
26220 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26221             H.J. Lu  <hongjiu.lu@intel.com>
26223         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26224         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26225         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26226         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26227         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26228         version if bit_Fast_Unaligned_Load is set.
26229         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26230         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26231         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26232         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26233         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26234         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26236         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26237         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26238         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26239         to 4.
26240         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26241         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26242         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26243         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26245 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26247         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26248         instead of #if to avoid a Wundef warning.
26249         * stdlib/tst-limits.c (do_test): Likewise.
26251         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26252         parallel other exception macros.
26253         (fegetenv): Convert from macro to extern inline so that it applies
26254         retroactively to inline functions already seen by the compiler.
26255         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26257         * posix/Makefile (before-compile): Use $(objpfx) for
26258         posix-conf-vars-def.h.
26260 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26262         * posix/getconf.c (main): Use size_t for type of I.
26263         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26264         NSPEC.
26266         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26267         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26268         * posix/posix-envs.def: Likewise.
26269         * sysdeps/posix/sysconf.c: Likewise.
26270         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26271         (specs): Remove array.
26272         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26273         array.
26275         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26276         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26277         (__sysconf): Use CONF_IS_* macros.
26279         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26280         ($(objpfx)posix-conf-vars-def.h): New target.
26281         * posix/posix-conf-vars.list: New file.
26282         * posix/posix-conf-vars.h: New file.
26283         * posix/confstr.c: Include posix-conf-vars.h.
26284         (confstr): Use CONF_IS_* macros.
26285         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26286         CONF_IS_* macros.
26287         * scripts/gen-posix-conf-vars.awk: New file.
26289 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26291         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26292         fegetround): Add no-op macros to avoid linknamespace issues.
26294         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26295         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26297         * sysdeps/unix/sysv/linux/tile/sysdep.h
26298         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26299         assembly-specific section to avoid a redefinition warning.
26301         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26302         long before casting to pointer to avoid a cast warning.
26304 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26306         * sysdeps/tile/tilegx/Implies: New file.
26308 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26310         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26312 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26314         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26316 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26319         not define.
26320         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26321         <kernel-features.h>.
26322         (__utimes) [__NR_utimes]: Make code unconditional.
26323         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26325         (__ASSUME_UTIMES): Do not undefine.
26326         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26327         (__ASSUME_UTIMES): Likewise.
26328         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26329         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26330         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26331         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26333 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26335         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26337 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26339         [BZ #17747]
26340         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26341         alias to weak alias for j0l, y0l.
26342         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26343         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26345         [BZ #17746]
26346         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26347         conversion.
26349 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26351         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26352         to zero if not already defined.
26354 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26356         [BZ #17724]
26357         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26358         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26359         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26360         (char *) casts added.
26361         * sysdeps/ieee754/k_standardf.c: New file.
26362         * sysdeps/ieee754/k_standardl.c: Likewise.
26363         * math/Makefile (libm-support): Remove k_standard.
26364         (libm-calls): Add k_standard.
26366 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26368         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26369         Optimize to avoid an unnecessary FPCR read.
26371 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26373         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26374         Optimize to reduce FPCR/FPSR accesses.
26376 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26378         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26379         Call libc_fetestexcept_aarch64.
26381 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26383         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26384         Call libc_fesetround_aarch64.
26386 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26388         [BZ #17733]
26389         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26390         (__bind): Do not define as weak alias.
26391         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26392         define.
26393         (__getsockname): Do not define as weak alias.
26395 2014-12-22  Will Newton  <will.newton@linaro.org>
26397         * manual/install.texi: Document that we require bison 2.7
26398         or above.
26399         * INSTALL: Regenerate.
26400         * configure.ac: Use AC_CHECK_PROG_VER instead of
26401         AC_PATH_PROG when checking for bison and check for
26402         version 2.7 or above.
26403         * configure: Regenerate.
26405 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26407         [BZ #17745]
26408         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26409         * sysdeps/tile/ffsll.c (ffsll): To here.
26411         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26413 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26415         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26416         if not defined.
26417         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26418         definition.
26419         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26420         hidden ___tls_get_addr.
26421         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26422         hidden __tls_get_addr.
26423         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26424         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26425         Likewise.
26427 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26429         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26430         _dl_init call.
26432 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26434         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26435         from "call _dl_init@PLT".
26436         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26438 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26440         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26441         guarantees.
26443 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26445         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26447 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26449         [BZ #17744]
26450         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26451         strnlen.
26453 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26455         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26456         of multu on MIPSr6.
26457         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26458         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26459         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26460         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26461         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26463 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26465         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26466         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26467         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26468         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26469         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26470         mips32r6/mips64r6.
26471         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26473 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26475         * string/strncat.c (STRNCAT): Simplify implementation.
26477 2014-12-19  David S. Miller  <davem@davemloft.net>
26479         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26480         access the quad as both a long double and as a series of 4 words.
26482         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26483         link_map->l_info array access.
26485 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26487         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26489         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26490         * math/atest-exp2.c (TIMEOUT): Likewise.
26491         * math/atest-sincos.c (TIMEOUT): Likewise.
26493 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26495         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26496         -Wno-error with -fno-builtin-lround.
26498 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26500         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26501         Contains futex constants and functions moved over from ...
26502         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26503         <lowlevellock-futex.h>.
26504         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26505         (lll_timedwait_tid): Add comments and parentheses around macro
26506         arguments.
26508 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26511         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26512         (__lll_private_flag): Remove.
26513         (lll_futex_wait): Likewise.
26514         (lll_futex_timed_wait): Likewise.
26515         (lll_futex_wake): Likewise.
26516         (lll_futex_requeue): Likewise.
26517         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26518         (__lll_timedwait_tid): Spell out argument names.
26519         (lll_timedwait_tid): Add comments and parentheses around macro
26520         arguments.
26521         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26522         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26524 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26526         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26527         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26529         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26530         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26531         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26532         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26533         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26534         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26539         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26540         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26541         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26542         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26543         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26544         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26546 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26548         * sysdeps/x86_64/x32/Makefile: New file.
26550 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26552         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26553         1L with (mp_limb_t) 1.
26555 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26557         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26558         * nptl/libc_pthread_init.c: ... here.
26559         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26560         * nptl/register-atfork.c: ... here.
26562         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26563         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26564         Use assert_perror to check its return value.
26565         (__gai_create_helper_thread): Likewise.
26567         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26569         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26571 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26573         [BZ #17725]
26574         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26575         __profil_counter.
26576         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26577         Likewise.
26578         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26579         Likewise.
26580         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26581         Likewise.
26582         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26583         (profil_counter): Likewise.
26584         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26585         (profil_counter): Likewise.
26586         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26587         Likewise.
26588         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26589         Likewise.
26590         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26591         (profil_counter): Likewise.
26592         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26593         Likewise.
26594         [!__profil_counter] (profil_counter): Define as weak alias of
26595         __profil_counter.
26596         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26597         (profil_counter): Rename to __profil_counter.
26598         [!__profil_counter] (profil_counter): Define as weak alias of
26599         __profil_counter.
26600         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26601         (profil_counter): Rename to __profil_counter.
26602         [!__profil_counter] (profil_counter): Define as weak alias of
26603         __profil_counter.
26604         * sysdeps/posix/profil.c: Update comment referring to
26605         profil_counter.
26606         (__profil): Use __profil_counter instead of profil_counter.
26607         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26608         __profil_counter.  Use __profil_counter_ushort and
26609         __profil_counter_uint in definitions.
26610         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26611         instead of profil_counter_uint and profil_counter_ushort.
26613         [BZ #17722]
26614         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26615         define as weak alias of __inet_makeaddr.
26616         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26617         as weak alias of __inet_addr.
26618         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26619         as weak alias of __inet_pton.  Use libc_hidden_weak.
26620         * include/arpa/inet.h (__inet_pton): Declare.  Use
26621         libc_hidden_proto.
26622         (inet_makeaddr): Don't use libc_hidden_proto.
26623         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26624         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26625         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26626         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26627         Remove variable.
26628         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26629         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26631 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26633         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26635 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26637         * stdio-common/bug-vfprintf-nargs.c (do_test):
26638         Cast value to intptr_t to avoid format warning
26639         for usage with PRIdPTR printing macro.
26641 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26643         * libio/tst-widetext.c (do_test):
26644         Use format type %td instead of %Zd for ptrdiff_t
26645         in order to avoid format warning.
26647 2014-12-17  Andreas Schwab  <schwab@suse.de>
26649         * nscd/mem.c (gc): Add size_t cast to match printf format.
26651 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26653         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26654         (init): Apply PTR_MANGLE to pointers before storing them.
26655         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26656         before using them.
26658 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26660         [BZ #17719]
26661         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26662         define as weak alias of __memrchr.
26663         (__memrchr): Do not define as strong alias of memrchr.
26664         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26665         Remove variable.
26666         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26667         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26668         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26670         [BZ #17717]
26671         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26672         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26673         (if_indextoname): Rename to __if_indextoname and define as weak
26674         alias of __if_indextoname.  Use libc_hidden_weak.
26675         (if_freenameindex): Rename to __if_freenameindex and define as
26676         weak alias of __if_freenameindex.
26677         (if_nameindex): Rename to __if_nameindex and define as weak alias
26678         of __if_nameindex.
26679         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26680         __if_nametoindex and define as weak alias of __if_nametoindex.
26681         Use libc_hidden_weak.
26682         (if_freenameindex): Rename to __if_freenameindex and define as
26683         weak alias of __if_freenameindex.
26684         (if_nameindex): Rename to __if_nameindex and define as weak alias
26685         of __if_nameindex.
26686         (if_indextoname): Rename to __if_indextoname and define as weak
26687         alias of __if_indextoname.  Use libc_hidden_weak.
26688         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26689         __if_nametoindex and define as weak alias of __if_nametoindex.
26690         Use libc_hidden_weak.
26691         (if_freenameindex): Rename to __if_freenameindex and define as
26692         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26693         (if_nameindex_netlink): Use __if_freenameindex instead of
26694         if_freenameindex.
26695         (if_nameindex): Rename to __if_nameindex and define as weak alias
26696         of __if_nameindex.  Use libc_hidden_weak.
26697         (if_indextoname): Rename to __if_indextoname and define as weak
26698         alias of __if_indextoname.  Use libc_hidden_weak.
26699         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26700         libc_hidden_proto.
26701         [!_ISOMAC] (__if_freenameindex): Likewise.
26702         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26703         if_nametoindex.
26704         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26705         variable.
26706         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26707         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26708         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26709         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26710         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26711         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26712         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26714         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26715         Remove variable.
26716         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26717         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26719 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26721         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26722         subscript above bounds'
26724         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26725         bounds.
26727 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26729         * libio/tst-fopenloc.c: Use test-skeleton.c.
26731         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26732         (entry): Rename to ITEM.
26733         (do_test, comp): Adjust.
26735         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26737 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26739         * string/tester.c: Include <libc-internal.h>.
26740         (test_memset): Ignore -Wmemset-transposed-args.
26742 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26744         * misc/tst-mntent2.c (do_test): Fix warning.
26746 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26748         * elf/tst-unique4lib.cc(a): Mark as used.
26750 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26752         [BZ #17630]
26753         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26754         names.
26756 2014-12-16  Allan McRae  <allan@archlinux.org>
26758         * stdio-common/Makefile (tests): Re-add bug26.
26760 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26762         [BZ #17657]
26763         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26764         static array.
26766 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26768         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26769         (__lll_lock_wait): Likewise.
26770         (__lll_timedlock_wait): Likewise.
26771         (__lll_timedwait_tid): Likewise.
26772         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26773         (__lll_robust_timedlock_wait): Likewise.
26774         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26775         (lll_cond_trylock): Likewise.
26776         (__lll_lock): Likewise.
26777         (__lll_robust_lock): Likewise.
26778         (__lll_cond_lock): Likewise.
26779         (lll_robust_cond_lock): Likewise.
26780         (__lll_timedlock): Likewise.
26781         (__lll_robust_timedlock): Likewise.
26782         (__lll_unlock): Likewise.
26783         (__lll_robust_unlock): Likewise.
26784         (lll_wait_tid): Likewise.
26785         (lll_timedwait_tid): Likewise.
26787 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26789         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26791 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26793         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26795 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26797         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26798         * stdio-common/tst-sprintf.c: Likewise.
26800 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26802         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26804 2014-12-15  Jeff Law  <law@redhat.com>
26806         [BZ #16617]
26807         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26808         on the heap.  (CVE-2012-3406)
26809         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26810         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26811         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26813 2014-12-15  Will Newton  <will.newton@linaro.org>
26815         * manual/install.texi: Bump required version of texinfo
26816         to 4.7 from 4.5.
26817         * INSTALL: Regenerated.
26818         * configure.ac: Check for makeinfo version 4.7 and above.
26819         * configure: Regenerated.
26821 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26823         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26824         PREFIX, string constant to insert between directory and name.
26825         * sysdeps/posix/shm_open.c: Update caller.
26826         * sysdeps/posix/shm_unlink.c: Likewise.
26827         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26828         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26829         (SEM_SHM_PREFIX): New macro.
26830         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26831         [$(have-thread-library) = no].
26832         * nptl/Makefile (libpthread-routines): Add shm-directory.
26833         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26834         * sysdeps/nptl/shm-directory.h: New file.
26835         * sysdeps/posix/shm-directory.c
26836         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26837         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26838         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26839         INTERNAL_SYSCALL.
26840         (__where_is_shmfs): Function removed.
26841         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26842         Variables removed.
26843         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26844         Use SHM_GET_NAME.
26845         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26847         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26848         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26849         unconditional for use inside libpthread.
26850         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26852 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26854         * nptl/pthread_getaffinity.c: New file.
26855         * nptl/pthread_setaffinity.c: New file.
26856         * nptl/pthread_getname.c: New file.
26857         * nptl/pthread_setname.c: New file.
26859         * nptl/pthread_create.c (START_THREAD_DEFN)
26860         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26862 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26863             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26865         * resolv/res_send.c (send_vc): Disable warning resplen may
26866         be used uninitialized.
26868 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26870         * nptl/tst-mutex6.c
26871         (ATTR_NULL): New define checks ATTR against NULL.
26872         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26873         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26875 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26877         [BZ #17581]
26878         * malloc/hooks.c
26879         (mem2mem_check): Revert my previous change.
26880         (malloc_check_get_size): Revert my previous change.
26881         (mem2chunk_check): Revert my previous change.
26883 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26885         * sysdeps/posix/shm-directory.c: New file.
26886         * sysdeps/posix/shm-directory.h: New file.
26887         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26888         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26889         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26890         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26891         Transmute EPERM to EACCES.
26892         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26893         from ...
26894         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26895         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26897 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26899         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26900         pointer and cast to uintptr_t.
26901         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26902         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26903         Add cast to avoid warning.
26904         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26906 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26908         * nptl/semaphore.h: Move to ...
26909         * sysdeps/pthread/semaphore.h: ... here.
26910         * Makefile (installed-headers): Change nptl/semaphore.h to
26911         sysdeps/pthread/semaphore.h.
26913 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26915         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26916         generated error format strings.
26918         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26919         -Wformat-extra-args warnings for scanf formats.
26920         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26921         test of zero-length format (duh).
26922         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26923         corner-case scanf format test.
26924         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26925         generated fprintf format string.
26926         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26927         corner-case sprintf format tests.
26928         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26929         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26930         -Wformat-extra-args warnings throughout.
26931         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26932         (CFLAGS-scanf4.c): Likewise.
26933         (CFLAGS-scanf7.c): Likewise.
26934         (CFLAGS-tst-sprintf.c): Likewise.
26935         (CFLAGS-tst-printf.c): Likewise.
26936         (CFLAGS-tst-printfsz.c): Likewise.
26938 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26940         * include/cpio.h: New file.
26941         * include/fmtmsg.h: Likewise.
26943         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26944         corresponding format argument to size_t.
26945         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26946         arguments.
26947         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26948         corresponding format argument to size_t.
26949         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26950         arguments.
26951         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26952         corresponding format argument to size_t.
26953         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26954         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26955         (CFLAGS-tst-mbswcs2.c): Likewise.
26956         (CFLAGS-tst-mbswcs3.c): Likewise.
26957         (CFLAGS-tst-mbswcs4.c): Likewise.
26958         (CFLAGS-tst-mbswcs5.c): Likewise.
26959         (CFLAGS-tst-trans.c): Likewise.
26961 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26963         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26964         rather than assuming they won't contain any '%'s.
26966 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26968         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26969         inhibit_loop_to_libcall to avoid recursive calls.
26970         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26971         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26973 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26975         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26976         prototype.
26978 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26980         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26981         integer value instead of boolean.
26983 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26985         * malloc/malloc.c: Fix powerof2 check.
26987 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26989         * locale/programs/locfile.h (maybe_swap_uint32):
26990         Remove inline and add unused attribute.
26992 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26994         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26995         Truncating assembler expression to a .long expression.
26997 2014-12-11  Andreas Schwab  <schwab@suse.de>
26999         * elf/rtld.c (struct map_args): Constify str member.
27000         (do_preload): Constify fname argument.
27002 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27005         constants definition.
27007 2014-12-11  Andreas Schwab  <schwab@suse.de>
27009         [BZ #16657]
27010         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27011         FORCE_ELISION instead of DO_ELISION.
27012         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27013         Remove.
27014         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27015         Likewise.
27017         * iconvdata/gconv-modules: Remove duplicate entry.
27019 2014-12-11  Will Newton  <will.newton@linaro.org>
27021         Merge gettext 0.19.3 into intl/.
27023         This involves a number of cosmetic changes to comments
27024         and ANSI function definitions and prototypes throughout
27025         all the files. The gettext copyright header is used but
27026         with the date ranges taken from the glibc copy.
27028         * NEWS: Add gettext merge to 2.21.
27029         * intl/bindtextdom.c: Switch to gettext copyright.
27030         Use ANSI definitions and prototypes.
27031         Use gl_* locking primitives rather than __libc_* ones.
27032         Use __builtin_expect rather than __glibc_likely/unlikely.
27033         * intl/dcgettext.c: Switch to gettext copyright.
27034         Use ANSI definitions and prototypes.
27035         * intl/dcigettext.c: Switch to gettext copyright.
27036         Use ANSI definitions and prototypes.
27037         (INTDIV0_RAISES_SIGFPE): New define.
27038         Use gl_* locking primitives rather than __libc_* ones.
27039         Include eval-plural.h instead of plural-eval.c.
27040         Use __builtin_expect rather than __glibc_likely/unlikely.
27041         * intl/dcngettext.c: Switch to gettext copyright.
27042         Use ANSI definitions and prototypes.
27043         * intl/dgettext.c: Likewise.
27044         * intl/dngettext.c: Likewise.
27045         * intl/plural-eval.c: Renamed to...
27046         * intl/eval-plural.h: ...this.
27047         * intl/explodename.c: Switch to gettext copyright.
27048         Use ANSI definitions and prototypes.
27049         (_nl_explode_name): Use strchr instead of __rawmemchr.
27050         * intl/finddomain.c: Switch to gettext copyright.
27051         Use ANSI definitions and prototypes.
27052         Use gl_* locking primitives rather than __libc_* ones.
27053         (_nl_find_domain): Use malloc rather than alloca for
27054         allocation of temporary locale name.
27055         * intl/gettext.c: Switch to gettext copyright.
27056         Use ANSI definitions and prototypes.
27057         * intl/gettextP.h: Switch to gettext copyright.
27058         Use ANSI definitions and prototypes.
27059         Use gl_* locking primitives rather than __libc_* ones.
27060         * intl/gmo.h: Switch to gettext copyright.
27061         (struct sysdep_string): Move struct segment_pair outside of
27062         struct definition.
27063         * intl/hash-string.c: Use ANSI definitions and prototypes.
27064         * intl/hash-string.h: Switch to gettext copyright.
27065         Use ANSI definitions and prototypes.
27066         * intl/l10nflist.c: Switch to gettext copyright.
27067         Use ANSI definitions and prototypes.
27068         (_nl_normalize_codeset): Avoid integer overflow.
27069         * intl/loadinfo.h: Switch to gettext copyright.
27070         Use ANSI definitions and prototypes.
27071         (LIBINTL_DLL_EXPORTED): New define.
27072         (PATH_SEPARATOR): New define.
27073         * intl/loadmsgcat.c: Switch to gettext copyright.
27074         * intl/localealias.c: Switch to gettext copyright.
27075         Use ANSI definitions and prototypes.
27076         (_nl_expand_alias): Use PATH_SEPARATOR.
27077         * intl/ngettext.c: Switch to gettext copyright.
27078         Use ANSI definitions and prototypes.
27079         * intl/plural-exp.c: Likewise.
27080         * intl/plural-exp.h: Switch to gettext copyright.
27081         Use ANSI definitions and prototypes.
27082         (struct expression): Move definition of enum operator outside
27083         of struct definition.
27084         * intl/plural.c: Regenerate.
27085         * intl/plural.y: Switch to gettext copyright.
27086         Use ANSI definitions and prototypes.
27087         Port to bison 3.0.
27088         * intl/textdomain.c: Switch to gettext copyright.
27089         Use ANSI definitions and prototypes.
27090         Use gl_* locking primitives rather than __libc_* ones.
27092 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27094         * debug/warning-nop.c: Add used atrribute.
27096 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27098         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27100         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27101         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27102         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27104 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27105             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27107         [BZ #17634]
27108         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27109         Undefine after defining function.  Define as weak alias of
27110         __wcschr.  Use libc_hidden_weak.
27111         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27112         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27113         (libc_hidden_def): Also define __GI___wcschr alias.
27114         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27115         __wcschr and define as weak alias of __wcschr.
27116         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27117         __wcschr.
27118         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27119         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27120         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27121         libc_hidden_weak.  Do not use libc_hidden_def.
27122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27123         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27124         __GI___wcschr alias.
27125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27126         [IS_IN (libc)] (wcschr): Define as macro expanding to
27127         __redirect_wcschr.
27128         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27129         [IS_IN (libc)] (__wcschr_power6): Likewise.
27130         [IS_IN (libc)] (__wcschr_power7): Likewise.
27131         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27132         instead of wcschr.
27133         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27134         __libc_wcschr.
27135         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27136         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27137         __wcschr and define as weak alias of __wcschr.  Use
27138         libc_hidden_builtin_def.
27139         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27140         as weak alias of __wcschr.  Use libc_hidden_weak.
27141         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27142         wcschr.
27143         * time/era.c (_nl_init_era_entries): Likewise.
27144         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27145         variable.
27146         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27147         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27149 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27151         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27152         format for long int variable.
27154 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27156         [BZ #10672]
27157         * manual/search.texi: (Array Sort Function): Remove claim how to make
27158         qsort stable.
27160 2014-12-10  Andreas Schwab  <schwab@suse.de>
27162         [BZ #12847]
27163         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27164         user-controlled locks.
27166 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27168         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27169         register.
27171 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27173         * configure.ac (--disable-werror): New configure option.
27174         (enable_werror): New AC_SUBST.
27175         * configure: Regenerated.
27176         * config.make.in (enable-werror): New variable.
27177         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27178         -Wno-error=undef.
27179         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27180         * manual/install.texi (Configuring and compiling): Document
27181         --disable-werror.
27182         * INSTALL: Regenerated.
27183         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27184         (CFLAGS-tst-chk2.c): Likewise.
27185         (CFLAGS-tst-chk3.c): Likewise.
27186         (CFLAGS-tst-chk4.cc): Likewise.
27187         (CFLAGS-tst-chk5.cc): Likewise.
27188         (CFLAGS-tst-chk6.cc): Likewise.
27189         (CFLAGS-tst-lfschk1.c): Likewise.
27190         (CFLAGS-tst-lfschk2.c): Likewise.
27191         (CFLAGS-tst-lfschk3.c): Likewise.
27192         (CFLAGS-tst-lfschk4.cc): Likewise.
27193         (CFLAGS-tst-lfschk5.cc): Likewise.
27194         (CFLAGS-tst-lfschk6.cc): Likewise.
27196         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27197         (main): Disable -Wdeprecated-declarations around calls to
27198         register_printf_function.
27200         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27201         (do_test): Disable -Wdiv-by-zero around some calls to
27202         fwrite_unlocked and fread_unlocked.
27204         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27205         (DIAG_POP_NEEDS_COMMENT): Likewise.
27206         (_DIAG_STR1): Likewise.
27207         (_DIAG_STR): Likewise.
27208         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27209         * stdio-common/bug21.c: Include <libc-internal.h>.
27210         (do_test): Disable -Wformat around call to sscanf.
27211         * stdio-common/scanf14.c: Include <libc-internal.h>.
27212         (main): Disable -Wformat around some calls to scanf functions.
27214 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27216         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27218 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27220         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27221         stack variable alignment.
27223 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27225         [BZ #17682]
27226         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27227         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27228         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27229         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27230         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27231         __getrlimit instead of getrlimit.
27232         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27233         __gettimeofday instead of gettimeofday.
27234         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27235         Likewise.
27236         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27237         Likewise.
27238         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27239         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27240         Remove variable.
27241         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27242         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27244 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27246         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27247         for wide-character tests.
27249 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27251         * io/openat64.c: #include <libc-internal.h>
27252         (__openat64): Prototypify.  Use ignore_value on MODE.
27253         * io/openat.c: Likewise.
27254         * misc/reboot.c: #include <libc-internal.h>
27255         (reboot): Prototypify.  Use ignore_value on HOWTO.
27256         * misc/ptrace.c: #include <libc-internal.h>
27257         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27259 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27261         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27262         XPG4, UNIX98 and XOPEN2K.
27263         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27264         Remove variable.
27265         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27267 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27269         * libio/fileops.c: Use ISO C style for function definitions.
27270         * libio/iofopen.c: Likewise.
27271         * libio/wfileops.c: Likewise.
27273         [BZ #17653]
27274         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27275         offset on EOF.
27276         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27277         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27278         (fgets_func): Function pointer to fgets and fgetws.
27279         (do_ftell_test): Add test to verify ftell value after read
27280         EOF.
27281         (do_test): Set fgets_func.
27283         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27284         O_TRUNC flag for w and w+ modes.
27285         (do_rewind_test): Likewise.
27286         (do_ftell_test): Likewise.
27287         (do_write_test): Likewise.
27289         [BZ #17647]
27290         * libio/fileops.c (do_ftell): Seek only when there are
27291         unflushed writes.
27292         * libio/wfileops.c (do_ftell_wide): Likewise.
27293         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27294         test case.
27295         (do_one_test): Call it.
27297 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27299         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27300         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27301         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27302         Remove variable.
27303         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27304         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27305         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27307 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27309         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27310         Remove variable.
27311         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27313         [BZ #17668]
27314         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27315         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27316         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27317         __freeifaddrs.  Use libc_hidden_weak.
27318         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27319         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27320         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27321         __freeifaddrs.  Use libc_hidden_weak.
27322         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27323         __getifaddrs and define as weak alias of __getifaddrs.  Use
27324         libc_hidden_weak.
27325         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27326         __freeifaddrs.  Use libc_hidden_weak.
27327         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27328         Remove variable.
27329         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27330         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27332 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27334         [BZ #17601]
27335         * sysdeps/mips/start.S (__start): Use indirect jump to call
27336         __libc_start_main.
27338 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27340         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27342         * nptl/tst-mutex1.c: Include <stdbool.h>.
27343         [!ATTR] (ATTR_NULL): New macro.
27344         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27345         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27346         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27348         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27349         to char *.
27351         [BZ #17665]
27352         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27353         Change conditional to [__USE_MISC].
27355         [BZ #17664]
27356         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27357         fgets_unlocked.
27358         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27359         __fgets_unlocked.
27360         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27361         fgets_unlocked.
27362         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27363         Remove variable.
27364         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27365         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27366         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27367         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27368         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27369         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27370         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27371         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27372         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27374         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27376 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27378         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27379         Remove strpbrk objects.
27380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27381         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27382         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27384         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27385         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27387         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27388         Remove strcspn objects.
27389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27390         (__libc_ifunc_impl_list): Remove strcspn implementation.
27391         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27392         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27393         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27394         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27397         Remove strspn objetcs.
27398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27399         (__libc_ifunc_impl_list): Remove strspn implementation.
27400         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27401         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27402         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27403         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27405 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27407         [BZ #17581]
27408         * malloc/hooks.c
27409         (mem2mem_check): Add a terminator to the chain of checking blocks.
27410         (malloc_check_get_size): Use it here.
27411         (mem2chunk_check): Ditto.
27413 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27415         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27416         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27418 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27420         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27422         * nptl/nptl-init.c: Include libc-internal.h.
27423         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27425         * elf/ldconfig.c (search_dir): Expand comment.
27427 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27429         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27430         variable.
27431         (linknamespace-symlist-stdlibs-tests): Likewise.
27432         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27433         instead of $(objpfx)symlist-stdlibs.
27434         (linknamespace-libs-isoc): New variable.
27435         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27436         (linknamespace-libs-ISO): New variable.
27437         (linknamespace-libs-ISO99): Likewise.
27438         (linknamespace-libs-ISO11): Likewise.
27439         (linknamespace-libs-XPG3): Likewise.
27440         (linknamespace-libs-XPG4): Likewise.
27441         (linknamespace-libs-POSIX): Likewise.
27442         (linknamespace-libs-UNIX98): Likewise.
27443         (linknamespace-libs-XOPEN2K): Likewise.
27444         (linknamespace-libs-POSIX2008): Likewise.
27445         (linknamespace-libs-XOPEN2K8): Likewise.
27446         ($(objpfx)symlist-stdlibs): Replace by
27447         $(linknamespace-symlist-stdlibs-tests).  Use
27448         $(linknamespace-libs-$*) as set of libraries.
27449         ($(linknamespace-header-tests)): Update dependencies.  Use
27450         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27451         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27452         * conform/linknamespace.pl: Remove comment about considering
27453         definitions of symbols from irrelevant libraries.
27455 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27457         [BZ #13862]
27458         * elf/dl-tls.c: Include <atomic.h>.
27459         (oom): Remove #ifdef SHARED/#endif.
27460         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27461         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27462         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27463         big enough.
27464         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27465         * nptl/Makefile (tests): Add tst-stack4.
27466         (modules-names): Add tst-stack4mod.
27467         ($(objpfx)tst-stack4): New.
27468         (tst-stack4mod.sos): Likewise.
27469         ($(objpfx)tst-stack4.out): Likewise.
27470         ($(tst-stack4mod.sos)): Likewise.
27471         (clean): Likewise.
27472         * nptl/tst-stack4.c: New file.
27473         * nptl/tst-stack4mod.c: Likewise.
27475 2014-11-27  J. Brown  <jb999@gmx.de>
27477         * sysdeps/x86/bits/string.h: Add recent CPUs.
27479 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27481         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27482         sigblock.
27484         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27485         feof.
27487         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27488         variable.
27490 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27492         * nscd/connections.c: Include libc-internal.h because of macro
27493         usage ignore_value.
27495 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497         * string/bits/string3.h (__warn_memset_zero_len): Don't
27498         declare for gcc newer than 5.0.
27499         (memset): Don't test for zero-length __LEN for gcc newer than
27500         5.0.
27502 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27504         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27505         size_t for %zu format.
27507         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27508         difference, not %ju.
27510 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27512         * include/libc-internal.h (ignore_value): New macro.
27513         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27514         with ignore_value.
27516         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27517         definition.
27519         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27520         pthread_cleanup_push to void *.
27522         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27523         Undefine.
27525         [BZ #16619]
27526         [BZ #16740]
27527         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27528         instead of 1L << 52.
27530         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27531         * libio/bug-rewind2.c (do_test): Likewise.
27533         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27534         * debug/test-strcpy_chk-ifunc.c: Likewise.
27535         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27536         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27537         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27538         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27539         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27540         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27541         * Rules [$(multi-arch) = no] (tests): Do not filter out
27542         $(tests-ifunc).
27543         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27544         * debug/Makefile (tests-ifunc): Remove variable.
27545         (tests): Do not add $(tests-ifunc).
27546         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27547         (tests): Do not add $(tests-ifunc).
27548         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27549         [TEST_IFUNC]: Remove conditionals.
27550         * string/test-string.h (TEST_IFUNC): Remove macro.
27551         [TEST_IFUNC]: Remove conditionals.
27553         * string/test-strchr.c [!WIDE] (L): New macro.
27554         [WIDE] (L): Likewise.
27555         (check1): Use CHAR instead of char.  Use L on string and character
27556         constants.
27558 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27560         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27561         tests.
27562         * sysdeps/powerpc/bits/atomic.h
27563         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27564         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27565         (atomic_exchange_and_add_acq): Likewise.
27566         (atomic_exchange_and_add_rel): Likewise.
27567         * sysdeps/powerpc/powerpc32/bits/atomic.h
27568         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27569         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27570         * sysdeps/powerpc/powerpc64/bits/atomic.h
27571         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27572         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27574 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27576         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27577         Change synchronization of __sched_fifo_min_prio and
27578         __sched_fifo_max_prio.
27579         * nptl/pthread_mutexattr_getprioceiling.c
27580         (pthread_mutexattr_getprioceiling): Likewise.
27581         * nptl/pthread_mutexattr_setprioceiling.c
27582         (pthread_mutexattr_setprioceiling): Likewise.
27583         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27584         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27585         Likewise.
27587 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27589         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27590         void.
27592 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27594         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27595         third argument const.
27597 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27599         fnmatch: work around GCC compiler warning bug with uninit var
27600         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27601         This works around a bug with x86-64 GCC 4.9.2 and earlier
27602         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27603         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27604         used uninitialized in this function [-Wmaybe-uninitialized]".
27606 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27608         * posix/bug-regex31.c (main): Return RES not 0.
27610 2014-11-25  Anton Blanchard <anton@samba.org>
27612         * sysdeps/powerpc/bits/atomic.h
27613         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27615 2014-11-24  Sterling Augustine  <saugustine@google.com>
27617         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27619 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27621         [BZ #17608]
27622         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27624 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27626         [BZ #17633]
27627         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27628         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27629         variable.
27630         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27631         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27633 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27635         * string/strncpy.c (strncpy): Improve performance by using memset.
27637 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27639         * string/strcpy.c (strcpy):
27640         Improve performance by using strlen and memcpy.
27642 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27644         * string/strcoll_l.c (get_next_seq): __always_inline.
27645         * string/strcoll_l.c (do_compare): __always_inline.
27647 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27650         defined.
27651         * include/mqueue.h: Likewise.
27652         * include/stdlib.h: Likewise.
27654         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27655         (get_null_defines): Adjust.
27656         * sunrpc/Makefile: Adjust comment.
27657         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27658         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27659         (CFLAGS-interp.c): Likewise.
27660         (CFLAGS-ldconfig.c): Likewise.
27661         (CPPFLAGS-.os): Likewise.
27662         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27663         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27664         * extra-modules.mk (extra-modules.mk): Likewise.
27665         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27666         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27667         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27668         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27669         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27670         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27671         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27672         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27673         * iconvdata/Makefile (CPPFLAGS): Likewise.
27674         (cpp-srcs-left): Add libof for all iconvdata routines.
27675         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27676         * include/assert.h: Likewise.
27677         * include/ctype.h: Likewise.
27678         * include/errno.h: Likewise.
27679         * include/libc-symbols.h: Likewise.
27680         * include/math.h: Likewise.
27681         * include/netdb.h: Likewise.
27682         * include/resolv.h: Likewise.
27683         * include/stdio.h: Likewise.
27684         * include/stdlib.h: Likewise.
27685         * include/string.h: Likewise.
27686         * include/sys/stat.h: Likewise.
27687         * include/wctype.h: Likewise.
27688         * intl/l10nflist.c: Likewise.
27689         * libidn/idn-stub.c: Likewise.
27690         * libio/libioP.h: Likewise.
27691         * nptl/libc_multiple_threads.c: Likewise.
27692         * nptl/pthreadP.h: Likewise.
27693         * posix/regex_internal.h: Likewise.
27694         * resolv/res_hconf.c: Likewise.
27695         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27696         * sysdeps/arm/memmove.S: Likewise.
27697         * sysdeps/arm/sysdep.h: Likewise.
27698         * sysdeps/generic/_itoa.h: Likewise.
27699         * sysdeps/generic/symbol-hacks.h: Likewise.
27700         * sysdeps/gnu/errlist.awk: Likewise.
27701         * sysdeps/gnu/errlist.c: Likewise.
27702         * sysdeps/i386/i586/memcpy.S: Likewise.
27703         * sysdeps/i386/i586/memset.S: Likewise.
27704         * sysdeps/i386/i686/memcpy.S: Likewise.
27705         * sysdeps/i386/i686/memmove.S: Likewise.
27706         * sysdeps/i386/i686/mempcpy.S: Likewise.
27707         * sysdeps/i386/i686/memset.S: Likewise.
27708         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27709         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27710         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27711         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27712         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27713         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27714         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27716         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27718         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27719         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27720         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27721         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27722         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27723         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27724         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27725         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27726         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27727         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27728         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27729         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27730         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27731         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27732         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27733         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27734         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27735         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27736         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27737         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27738         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27739         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27741         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27742         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27743         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27744         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27745         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27746         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27747         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27748         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27749         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27750         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27751         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27752         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27753         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27754         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27755         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27756         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27757         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27758         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27759         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27760         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27761         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27762         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27763         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27764         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27765         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27766         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27767         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27768         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27769         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27770         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27771         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27772         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27773         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27774         * sysdeps/posix/closedir.c: Likewise.
27775         * sysdeps/posix/opendir.c: Likewise.
27776         * sysdeps/posix/readdir.c: Likewise.
27777         * sysdeps/posix/rewinddir.c: Likewise.
27778         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27779         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27780         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27781         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27784         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27787         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27788         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27789         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27790         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27791         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27792         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27794         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27796         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27798         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27799         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27801         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27806         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27813         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27814         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27815         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27816         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27817         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27818         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27819         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27820         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27821         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27822         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27823         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27824         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27825         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27826         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27827         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27828         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27829         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27835         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27836         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27837         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27838         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27839         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27840         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27841         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27842         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27843         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27844         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27845         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27846         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27847         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27849         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27850         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27851         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27852         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27853         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27854         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27855         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27856         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27857         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27858         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27859         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27860         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27861         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27862         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27864         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27865         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27866         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27867         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27868         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27869         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27870         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27874         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27876         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27877         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27879         * sysdeps/unix/alpha/sysdep.S: Likewise.
27880         * sysdeps/unix/alpha/sysdep.h: Likewise.
27881         * sysdeps/unix/make-syscalls.sh: Likewise.
27882         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27884         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27885         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27887         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27888         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27889         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27890         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27891         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27893         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27895         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27896         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27897         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27898         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27899         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27900         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27901         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27902         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27903         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27904         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27905         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27906         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27907         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27908         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27911         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27912         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27915         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27916         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27920         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27921         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27922         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27923         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27924         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27925         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27928         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27929         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27934         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27935         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27938         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27940         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27941         * sysdeps/x86_64/memcpy.S: Likewise.
27942         * sysdeps/x86_64/memmove.c: Likewise.
27943         * sysdeps/x86_64/memset.S: Likewise.
27944         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27945         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27946         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27947         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27948         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27950         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27951         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27952         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27953         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27956         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27957         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27958         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27959         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27960         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27961         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27962         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27963         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27964         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27965         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27966         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27967         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27968         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27969         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27970         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27971         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27972         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27973         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27974         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27975         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27976         * sysdeps/x86_64/strcmp.S: Likewise.
27978         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27980         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27981         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27982         * elf/rtld-Rules: Likewise.
27983         * elf/setup-vdso.h: Likewise.
27984         * include/assert.h: Likewise.
27985         * include/bits/stdlib-float.h: Likewise.
27986         * include/errno.h: Likewise.
27987         * include/sys/stat.h: Likewise.
27988         * include/unistd.h: Likewise.
27989         * sysdeps/aarch64/setjmp.S: Likewise.
27990         * sysdeps/alpha/setjmp.S: Likewise.
27991         * sysdeps/arm/__longjmp.S: Likewise.
27992         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27993         * sysdeps/arm/setjmp.S: Likewise.
27994         * sysdeps/arm/sysdep.h: Likewise.
27995         * sysdeps/generic/_itoa.h: Likewise.
27996         * sysdeps/generic/dl-sysdep.h: Likewise.
27997         * sysdeps/generic/ldsodefs.h: Likewise.
27998         * sysdeps/i386/dl-tls.h: Likewise.
27999         * sysdeps/i386/setjmp.S: Likewise.
28000         * sysdeps/m68k/setjmp.c: Likewise.
28001         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28002         * sysdeps/mach/hurd/opendir.c: Likewise.
28003         * sysdeps/posix/getcwd.c: Likewise.
28004         * sysdeps/posix/opendir.c: Likewise.
28005         * sysdeps/posix/profil.c: Likewise.
28006         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28007         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28008         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28009         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28010         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28011         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28012         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28013         * sysdeps/s390/dl-tls.h: Likewise.
28014         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28015         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28016         * sysdeps/sh/sh3/setjmp.S: Likewise.
28017         * sysdeps/sh/sh4/setjmp.S: Likewise.
28018         * sysdeps/unix/alpha/sysdep.h: Likewise.
28019         * sysdeps/unix/arm/sysdep.S: Likewise.
28020         * sysdeps/unix/i386/sysdep.S: Likewise.
28021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28022         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28023         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28026         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28027         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28028         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28029         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28030         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28031         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28032         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28036         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28044         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28045         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28048         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28049         * sysdeps/x86_64/setjmp.S: Likewise.
28051         * include/math.h: Use IS_IN instead of IS_IN_libm.
28052         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28053         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28054         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28055         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28063         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28064         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28072         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28073         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28074         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28075         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28076         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28077         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28078         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28079         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28080         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28081         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28082         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28083         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28084         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28086         Likewise.
28087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28088         Likewise.
28089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28090         Likewise.
28091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28092         Likewise.
28093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28094         Likewise.
28095         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28096         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28097         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28098         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28099         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28100         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28106         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28107         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28108         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28109         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28110         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28111         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28112         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28113         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28114         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28115         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28116         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28118         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28119         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28121         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28123         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28124         * nptl/pthreadP.h: Likewise.
28125         * nptl_db/structs.def: Likewise.
28126         * sysdeps/arm/sysdep.h: Likewise.
28127         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28128         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28129         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28130         * sysdeps/unix/alpha/sysdep.h: Likewise.
28131         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28133         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28134         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28135         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28136         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28138         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28139         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28140         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28141         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28142         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28143         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28144         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28149         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28150         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28152         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28153         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28154         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28155         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28156         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28158         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28159         * nptl/pthreadP.h: Likewise.
28160         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28161         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28162         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28163         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28164         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28165         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28167         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28168         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28169         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28170         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28171         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28173         Likewise.
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28175         Likewise.
28176         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28177         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28178         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28181         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28182         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28185         * dlfcn/dladdr.c: Use IS_IN.
28186         * dlfcn/dladdr1.c: Likewise.
28187         * dlfcn/dlclose.c: Likewise.
28188         * dlfcn/dlerror.c: Likewise.
28189         * dlfcn/dlinfo.c: Likewise.
28190         * dlfcn/dlmopen.c: Likewise.
28191         * dlfcn/dlopen.c: Likewise.
28192         * dlfcn/dlsym.c: Likewise.
28193         * dlfcn/dlvsym.c: Likewise.
28195         * include/ifaddrs.h: Use IS_IN.
28196         * inet/check_pf.c: Likewise.
28197         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28198         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28200         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28201         IS_IN_ldconfig.
28202         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28203         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28205         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28206         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28207         IS_IN (libc).
28209         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28211         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28212         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28213         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28214         * include/libc-symbols.h (IS_IN_LIB): New macro.
28215         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28216         * include/netdb.h: Likewise.
28217         * include/stap-probe.h: Remove all uses of IN_LIB.
28219         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28220         instead of IN_MODULE.
28221         * include/libc-symbols.h (IN_MODULE): Define using
28222         MODULE_NAME.
28223         (PASTE_NAME, PASTE_NAME1): New macros.
28224         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28225         of IN_LIB.
28226         (STAP_PROBE_ASM): Likewise.
28228 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28230         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28231         __mach_init in dlopened libc.
28233 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28235         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28236         * sysdeps/arm/preconfigure: Regenerate.
28238 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28240         * nptl/pthread_create.c (__pthread_create_2_1): Set
28241         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28242         when copying values from IATTR into PD.
28244 2014-11-21  Will Newton  <will.newton@linaro.org>
28245             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28247         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28248         Refactor inline-asm.  Also add comment.
28250         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28251         ElfW macro instead of hardcoded Elf64 types.
28252         (la_aarch64_gnu_pltenter): Likewise.
28253         * sysdeps/aarch64/dl-machine.h
28254         (elf_machine_runtime_setup): Use ElfW(Addr).
28256         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28257         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28258         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28259         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28260         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28261         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28262         (R_AARCH64_TLS_DTPMOD): This.
28263         (R_AARCH64_TLS_DTPREL64): Rename to ...
28264         (R_AARCH64_TLS_DTPREL): This.
28265         (R_AARCH64_TLS_TPREL64): Rename to ...
28266         (R_AARCH64_TLS_TPREL): This.
28267         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28268         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28269         R_AARCH64_TLS_TPREL64.
28270         (elf_machine_rela): Likewise.
28272 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28274         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28275         by setting it to 0.  64b atomics are not supported currently.
28277 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28279         [BZ #16469]
28280         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28281         search domain names.
28283 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28285         [BZ #16469]
28286         * NEWS: Update.
28287         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28288         trailing dot.
28289         * posix/tst-getaddrinfo5.c: New.
28290         * posix/Makefile (tests): Add it.
28292 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28294         [BZ #14498]
28295         * NEWS: Fixed.
28296         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28297         after parsing line but before break_if_match.
28298         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28299         if there is a protocol mismatch.
28301 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28303         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28304         because the potential race is on the user-supplied stream.
28306 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28308         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28309         string literal if not passed a buffer.
28310         * manual/job.texi (ctermid): Update reasoning, note deviation
28311         from posix, suggest mtasurace when not passed a buffer, for
28312         future non-preliminary safety notes.
28314 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28316         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28317         of not passing it a buffer.
28318         Reported by Peng Haitao.
28320 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28322         * manual/Makefile ($(objpfx)stamp-summary): Require
28323         check-safety.sh to pass.
28324         * manual/check-safety.sh: Wish for verification that every
28325         @deftypefn and @deftypefun is followed by a @safety remark.
28327 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28329         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28331         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28332         PTHREAD_CANCEL_ASYNCHRONOUS.
28333         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28334         send SIGCANCEL.
28336         * nptl/default-sched.h: New file.
28337         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28338         * nptl/pthread_create.c: Include it.
28339         (__pthread_create_2_1): Use collect_default_sched instead of making
28340         Linux syscalls here directly.
28342 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28344         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28345         __pthread_once): Use C11 atomics.
28347 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28349         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28351 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28353         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28354         atomic_thread_fence_acquire, atomic_thread_fence_release,
28355         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28356         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28357         atomic_compare_exchange_weak_relaxed,
28358         atomic_compare_exchange_weak_acquire,
28359         atomic_compare_exchange_weak_release,
28360         atomic_exchange_acquire, atomic_exchange_release,
28361         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28362         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28363         atomic_fetch_and_acquire,
28364         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28366 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28368         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28369         USE_ATOMIC_COMPILER_BUILTINS): Define.
28370         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28372         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28374         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28376         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28378         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28380         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28382         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28384         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28386         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28388         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28389         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28390         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28391         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28392         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28393         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28394         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28395         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28396         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28397         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28398         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28399         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28400         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28402         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28404         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28405         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28406         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28408         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28411 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28413         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28414         the sched_priority value here.  It was already checked when the user
28415         called pthread_attr_setschedparam.
28417         * nptl/tst-bad-schedattr.c: New file.
28418         * nptl/Makefile (tests): Add it.
28420 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28421             Florian Weimer  <fweimer@redhat.com>
28422             Joseph Myers  <joseph@codesourcery.com>
28423             Adam Conrad  <adconrad@0c3.net>
28424             Andreas Schwab  <schwab@suse.de>
28425             Brooks  <bmoses@google.com>
28427         [BZ #17625]
28428         * wordexp-test.c (__dso_handle): Add prototype.
28429         (__register_atfork): Likewise.
28430         (__app_register_atfork): New function.
28431         (registered_forks): New global.
28432         (register_fork): New function.
28433         (test_case): Add 3 new tests for WRDE_CMDSUB.
28434         (main): Call __app_register_atfork.
28435         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28436         fork count is non-zero fail the test.
28437         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28438         is set.
28439         (parse_dollars): Remove check for WRDE_NOCMD.
28440         (parse_dquote): Likewise.
28442 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28444         * Makeconfig (built-modules): List non-library modules to be
28445         built.
28446         (module-cppflags): Include libc-modules.h for
28447         everything except shlib-versions.v.i.
28448         (CPPFLAGS): Use it.
28449         (before-compile): Add libc-modules.h.
28450         ($(common-objpfx)libc-modules.h,
28451         $(common-objpfx)libc-modules.stmp): New targets.
28452         (common-generated): Add libc-modules.h and libc-modules.stmp.
28453         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28454         * include/libc-symbols.h: Don't include libc-modules.h.
28455         * include/libc-modules.h: Remove file.
28456         * scripts/gen-libc-modules.awk: New script to generate
28457         libc-modules.h.
28458         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28459         Depend on libc-modules.stmp.
28461         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28463         * Makeconfig (in-module): Get value of libof set for the
28464         translation unit.
28465         (CPPFLAGS): Use $(in-module).
28466         * Makerules: Don't suffix routine names for nonlib.
28467         * include/libc-modules.h: New file.
28468         * include/libc-symbols.h: Include libc-modules.h
28469         (IS_IN): New macro to replace IS_IN_* macros.
28470         * elf/Makefile: Set libof-* for each routine.
28471         * elf/rtld-Rules: Likewise.
28472         * extra-modules.mk: Likewise.
28473         * iconv/Makefile: Likewise.
28474         * iconvdata/Makefile: Likewise.
28475         * locale/Makefile: Likewise.
28476         * malloc/Makefile: Likewise.
28477         * nss/Makefile: Likewise.
28478         * sysdeps/gnu/Makefile: Likewise.
28479         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28480         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28481         * sysdeps/s390/s390-64/Makefile: Likewise.
28482         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28483         CPPFLAGS for nscd instead of nonlib.
28485 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28487         * nptl/createthread.c: New file.
28489         * nptl/createthread.c: Moved ...
28490         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28492         * nptl/createthread.c: Add proper top-line comment.
28493         (do_clone): Folded into ...
28494         (create_thread): ... here.  Take new arguments STOPPED_START and
28495         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28496         increment __nptl_threads, do event-reporting logic, do
28497         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28498         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28499         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28500         just send SIGCANCEL.
28501         * nptl/pthread_create.c: Forward-declare create_thread before
28502         including createthread.c.
28503         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28504         declaration, and new macro START_THREAD_SELF to replace argument.
28505         Remove return statement.
28506         (report_thread_creation): New function.
28507         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28508         synchronization logic, and __nptl_nthreads increment here, around
28509         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28510         PD->parent_cancelhandling here, before create_thread.  When
28511         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28512         __deallocate_stack, and ENOMEM translation here.
28514 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28516         [BZ #17616]
28517         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28518         (mptwo): Rename to __mptwo.
28519         (__inv): Use __mptwo instead of mptwo.
28520         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28521         (mptwo): Rename to __mptwo.
28522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28523         of mpone and __mptwo instead of mptwo.
28524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28525         instead of mpone.
28526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28527         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28528         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28529         of mpone and __mptwo instead of mptwo.
28530         (__mpranred): Use __mpone instead of mpone.
28531         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28532         variable.
28533         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28534         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28535         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28536         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28537         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28538         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28539         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28540         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28541         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28542         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28543         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28544         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28545         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28546         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28547         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28548         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28549         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28550         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28551         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28553 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28555         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28556         replace BSD Handler xref with BSD Signal Handling.
28558 2014-11-17  Richard Henderson  <rth@redhat.com>
28560         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28561         (_FP_PACK_RAW_2): Remove.
28562         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28563         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28564         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28565         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28566         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28567         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28568         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28569         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28570         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28571         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28572         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28573         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28574         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28575         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28576         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28577         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28579 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28581         * signal/signal.h [__USE_MISC]
28582         (struct sigvec): Remove type.
28583         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28584         (sigvec): Remove declaration.
28585         * sysdeps/posix/sigvec.c: Moved ...
28586         * signal/sigvec.c: ... here, replacing old file.
28587         (struct sigvec): New type, copied from old signal.h definition.
28588         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28589         (__sigvec): Convert definition to prototype.
28590         (sigvec): Replace weak_alias with compat_symbol.
28591         * signal/Versions (libc: GLIBC_2.21): New version set.
28592         * include/signal.h: Remove __sigvec declaration.
28593         * sysdeps/unix/bsd/sigvec.c: Remove file.
28594         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28595         * manual/signal.texi (BSD Handler): Remove subsection.
28596         Move siginterrupt up to ...
28597         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28598         (Blocking in BSD): Fold subsection into its parent.
28599         * NEWS: Mention sigvec removal.
28601 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28603         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28604         (DLA_FMS): Make definition conditional only on [__FMA4__].
28605         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28606         definition.
28608         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28609         Make definition conditional only on [PROF].
28610         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28611         definition.
28612         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28613         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28615         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28616         !__GNUC__].
28617         * include/signal.h (__sigpause): Move declaration above call to
28618         libc_hidden_proto.
28619         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28620         variable.
28621         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28622         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28624 2014-11-14  David S. Miller  <davem@davemloft.net>
28626         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28627         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28629 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28631         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28632         * configure: Regenerated.
28633         * manual/install.texi (Tools for Compilation): Document a
28634         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28635         compiler verified to work.
28636         * INSTALL: Regenerated.
28638         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28639         redeclare with asm name.
28640         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28641         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28642         including <string.h>.
28643         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28644         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28645         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28646         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28647         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28649         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28651 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28653         * stdlib/strtol.c (__strtol): Use prototype definition.
28655         [BZ #17594]
28656         * stdlib/strtol.c (SYM__): New macro.
28657         (SYM__1): Likewise.
28658         (__strtol): Likewise.
28659         (strtol): Rename to __strtol and define as weak alias of
28660         __strtol.  Use libc_hidden_weak.
28662 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28664         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28665         Use numbered labels in inline assembly.
28667 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28669         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28670         Add setjmp LIBC_PROBE.
28671         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28672         Likewise.
28673         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28674         Add longjmp, longjmp_target LIBC_PROBE.
28675         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28676         Likewise.
28678 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28681         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28682         to get rid of unused variable warning.
28684 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28686         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28687         Check for unwind_backtrace ==  NULL only in SHARED case.
28688         (__backchain_backtrace): Compile only in SHARED case.
28689         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28690         Likewise.
28691         (__backchain_backtrace): Declare as static.
28693 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28695         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28696         (__libc_multiple_threads_ptr): Variable moved ...
28697         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28699 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28701         * conform/GlibcConform.pm: New file.
28702         * conform/conformtest.pl: Use GlibcConform module.
28703         * conform/linknamespace.pl: New file.
28704         * conform/list-header-symbols.pl: Likewise.
28705         * conform/Makefile (linknamespace-symlists-base): New variable.
28706         (linknamespace-symlists-tests): Likewise.
28707         (linknamespace-header-base): Likewise.
28708         (linknamespace-header-tests): Likewise.
28709         (tests-special): Add new tests.
28710         ($(linknamespace-symlists-tests)): New rule.
28711         (linknamespace-libs): New variable.
28712         ($(objpfx)symlist-stdlibs): New rule.
28713         ($(linknamespace-header-tests)): Likewise.
28714         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28715         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28716         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28717         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28718         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28719         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28720         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28721         (test-xfail-ISO/math.h/linknamespace): Likewise.
28722         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28723         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28724         (test-xfail-ISO/time.h/linknamespace): Likewise.
28725         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28726         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28727         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28728         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28729         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28730         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28731         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28732         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28733         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28734         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28735         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28736         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28737         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28738         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28739         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28740         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28741         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28742         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28743         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28744         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28745         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28746         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28747         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28748         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28749         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28750         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28751         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28752         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28753         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28754         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28755         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28756         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28757         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28758         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28759         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28760         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28761         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28762         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28763         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28764         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28765         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28766         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28767         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28768         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28769         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28770         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28771         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28772         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28773         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28774         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28775         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28776         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28777         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28778         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28779         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28780         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28781         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28782         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28783         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28784         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28785         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28786         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28787         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28788         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28789         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28790         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28791         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28792         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28793         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28794         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28795         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28796         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28797         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28798         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28799         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28800         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28801         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28802         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28803         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28804         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28805         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28806         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28807         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28808         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28809         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28810         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28811         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28812         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28813         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28814         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28815         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28816         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28817         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28818         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28819         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28820         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28821         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28822         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28823         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28824         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28825         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28826         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28827         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28828         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28829         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28830         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28831         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28832         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28833         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28834         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28835         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28836         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28837         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28838         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28839         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28840         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28841         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28842         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28843         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28844         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28845         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28846         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28847         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28848         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28849         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28850         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28851         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28852         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28853         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28854         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28855         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28856         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28857         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28858         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28859         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28860         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28861         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28862         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28863         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28864         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28865         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28866         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28867         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28868         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28869         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28870         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28871         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28872         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28873         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28874         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28876         [BZ #17589]
28877         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28878         of fgets_unlocked.
28880         [BZ #17585]
28881         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28882         (memmem): Rename to __memmem and define as weak alias of
28883         __memmem.  Use libc_hidden_weak.
28884         (__memmem): Use libc_hidden_def.
28885         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28886         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28887         memmem.
28889         [BZ #17582]
28890         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28891         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28892         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28893         and define as weak alias of __fgets_unlocked.  Use
28894         libc_hidden_weak.
28895         (__fgets_unlocked): Use libc_hidden_def.
28896         * include/stdio.h (__fgets_unlocked): Declare.  Use
28897         libc_hidden_proto.
28898         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28899         __fgets_unlocked instead of fgets_unlocked.
28900         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28901         (GET_NPROCS_CONF_PARSER): Likewise.
28902         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28903         (GET_NPROCS_CONF_PARSER): Likewise.
28905         [BZ #17574]
28906         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28907         weak alias of __wmemset.  Use libc_hidden_weak.
28908         (__wmemset): Use libc_hidden_def.
28909         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28910         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28911         of wmemset.
28913         [BZ #17573]
28914         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28915         with asm name __mempcpy.
28916         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28918         [BZ #17572]
28919         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28920         and define as weak alias of __rawmemchr.
28921         (__rawmemchr): Do not define as strong alias of rawmemchr.
28923         [BZ #17571]
28924         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28925         alias of __qsort_r.
28926         (qsort): Call __qsort_r instead of qsort_r.
28927         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28928         (__qsort_r): Declare.  Call libc_hidden_proto.
28929         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28930         instead of qsort_r.
28931         * nscd/gai.c (__qsort_r): Define to qsort_r.
28932         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28933         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28934         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28936         [BZ #17570]
28937         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28938         define as weak alias of __malloc_info.
28940         [BZ #17584]
28941         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28942         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28943         (__rewinddir): Use libc_hidden_def.
28944         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28945         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28946         (__rewinddir): Use libc_hidden_def.
28947         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28948         weak alias of __rewinddir.  Don't use libc_hidden_def.
28949         (__rewinddir): Use libc_hidden_def.
28950         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28951         (__rewinddir): Use libc_hidden_proto.
28952         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28953         rewinddir.
28954         (__getcwd): Use __rewinddir instead of rewinddir.
28956         [BZ #17583]
28957         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28958         alias of __fileno.  Use libc_hidden_weak.
28959         (__fileno): Use libc_hidden_def.
28960         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28961         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28962         alias of __ftello.
28963         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28964         __ftello.
28965         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28966         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28967         libc_hidden_def.
28968         (fread_unlocked): Don't use libc_hidden_ver.
28969         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28970         and define as weak alias of __fread_unlocked.  Don't use
28971         libc_hidden_def.
28972         (__fread_unlocked): Use libc_hidden_def.
28973         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28974         (ftello): Don't use libc_hidden_proto.
28975         (__ftello): Declare.  Use libc_hidden_proto.
28976         (fread_unlocked): Don't use libc_hidden_proto.
28977         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28978         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28979         and __ftello instead of fileno, fread_unlocked and ftello.
28981 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28983         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28984         GOT12.
28985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28986         Likewise.
28987         (_dl_start_user): Likewise.
28988         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28990 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28991             Siddhesh Poyarekar  <siddhesh@redhat.com>
28993         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28994         Move argv and envp down instead of moving argc up.
28995         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28997 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28999         [BZ #17506]
29000         * test-skeleton.c (main): Return successful if one of
29001         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29002         * string/tst-strcoll-overflow.c: Define expected status.
29004 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29006         [BZ #17475]
29007         * locale/iso-639.def: Define Bhili and Tulu language codes.
29009 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29011         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29013 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29015         [BZ #17555]
29016         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29018 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29020         * configure.ac: Updated check of minimal required version to
29021         2.22.
29022         * manual/install.texi (Tools for Compilation): Updated version
29023         number.
29024         * configure: Regenerated.
29025         * INSTALL: Likewise.
29027 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29029         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29030         __tls_get_addr.
29032 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29034         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29035         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29036         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29037         libc_hidden_weak.
29038         (waitpid): Define as alias of __waitpid.
29039         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29040         __waitpid.
29041         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29042         libc_hidden_weak.
29043         (waitpid): Define as alias of __waitpid.
29044         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29045         __libc_waitpid alias.
29046         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29047         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29048         Likewise.
29049         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29050         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29051         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29052         alias.
29053         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29054         __waitpid.
29055         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29056         libc_hidden_weak.
29057         (waitpid): Define as alias of __waitpid.
29059 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29061         * manual/llio.texi: Add comment that write safety has been
29062         fixed in Linux.
29064         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29065         (localplt-build-dso): Add elf/ld.so.
29066         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29067         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29068         and free for ld.so.
29069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29070         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29072         Likewise.
29073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29074         Likewise.
29075         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29076         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29077         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29078         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29079         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29080         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29081         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29082         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29083         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29084         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29085         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29087 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29089         [BZ #14132]
29090         * include/libc-symbols.h (INTUSE): Remove macro.
29091         (INTDEF): Likewise.
29092         (INTVARDEF): Likewise.
29093         (_INTVARDEF): Likewise.
29094         (INTDEF2): Likewise.
29095         (INTVARDEF2): Likewise.
29096         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29097         rtld_hidden_def instead of INTVARDEF.
29098         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29099         (_dl_starting_up_internal): Remove declaration.
29100         (_dl_starting_up): Use rtld_hidden_proto.
29101         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29102         declaration.
29103         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29104         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29105         _dl_starting_up.
29106         * elf/dl-writev.h (_dl_writev): Likewise.
29107         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29108         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29109         _dl_starting_up_internal.
29111 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29113         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29114         test-skeleton.c.
29116 2014-11-05  Will Newton  <will.newton@linaro.org>
29118         * benchtests/Makefile: (bench-malloc): Add malloc thread
29119         scalability benchmark.
29120         * benchtests/bench-malloc-threads.c: New file.
29122 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29124         * sysdeps/aarch64/strchrnul.S: New file.
29126 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29128         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29129         definition.
29130         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29131         Likwise.
29132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29133         Likewise.
29134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29135         Likewise.
29136         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29137         Likewise.
29138         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29139         Likewise.
29141 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29143         * catgets/test-gencat.c: Use test-skeleton.c.
29144         * catgets/tst-catgets.c: Likewise.
29145         * csu/tst-empty.c: Likewise.
29146         * elf/tst-audit2.c: Likewise.
29147         * elf/tst-global1.c: Likewise.
29148         * elf/tst-pathopt.c: Likewise.
29149         * elf/tst-piemod1.c: Likewise.
29150         * elf/tst-tls10.c: Likewise.
29151         * elf/tst-tls11.c: Likewise.
29152         * elf/tst-tls12.c: Likewise.
29153         * gnulib/tst-gcc.c: Likewise.
29154         * iconvdata/tst-e2big.c: Likewise.
29155         * iconvdata/tst-loading.c: Likewise.
29156         * iconv/tst-iconv1.c: Likewise.
29157         * iconv/tst-iconv2.c: Likewise.
29158         * inet/test-inet6_opt.c: Likewise.
29159         * inet/tst-gethnm.c: Likewise.
29160         * inet/tst-network.c: Likewise.
29161         * inet/tst-ntoa.c: Likewise.
29162         * intl/tst-codeset.c: Likewise.
29163         * intl/tst-gettext2.c: Likewise.
29164         * intl/tst-gettext3.c: Likewise.
29165         * intl/tst-ngettext.c: Likewise.
29166         * intl/tst-translit.c: Likewise.
29167         * io/test-stat.c: Likewise.
29168         * libio/test-fmemopen.c: Likewise.
29169         * libio/tst-freopen.c: Likewise.
29170         * libio/tst-sscanf.c: Likewise.
29171         * libio/tst-ungetwc1.c: Likewise.
29172         * libio/tst-ungetwc2.c: Likewise.
29173         * libio/tst-widetext.c: Likewise.
29174         * localedata/tst-ctype.c: Likewise.
29175         * localedata/tst-digits.c: Likewise.
29176         * localedata/tst-leaks.c: Likewise.
29177         * localedata/tst-mbswcs1.c: Likewise.
29178         * localedata/tst-mbswcs2.c: Likewise.
29179         * localedata/tst-mbswcs3.c: Likewise.
29180         * localedata/tst-mbswcs4.c: Likewise.
29181         * localedata/tst-mbswcs5.c: Likewise.
29182         * localedata/tst-setlocale.c: Likewise.
29183         * localedata/tst-trans.c: Likewise.
29184         * localedata/tst-wctype.c: Likewise.
29185         * localedata/tst-xlocale1.c: Likewise.
29186         * login/tst-grantpt.c: Likewise.
29187         * malloc/tst-calloc.c: Likewise.
29188         * malloc/tst-malloc.c: Likewise.
29189         * malloc/tst-mallocstate.c: Likewise.
29190         * malloc/tst-mcheck.c: Likewise.
29191         * malloc/tst-mtrace.c: Likewise.
29192         * malloc/tst-obstack.c: Likewise.
29193         * math/atest-exp2.c: Likewise.
29194         * math/atest-exp.c: Likewise.
29195         * math/atest-sincos.c: Likewise.
29196         * math/test-matherr.c: Likewise.
29197         * math/test-misc.c: Likewise.
29198         * math/test-powl.c: Likewise.
29199         * math/tst-definitions.c: Likewise.
29200         * misc/tst-dirname.c: Likewise.
29201         * misc/tst-efgcvt.c: Likewise.
29202         * misc/tst-fdset.c: Likewise.
29203         * misc/tst-hsearch.c: Likewise.
29204         * misc/tst-mntent2.c: Likewise.
29205         * nptl/tst-sem7.c: Likewise.
29206         * nptl/tst-sem8.c: Likewise.
29207         * nptl/tst-sem9.c: Likewise.
29208         * nss/test-netdb.c: Likewise.
29209         * posix/tst-fnmatch.c: Likewise.
29210         * posix/tst-getlogin.c: Likewise.
29211         * posix/tst-gnuglob.c: Likewise.
29212         * posix/tst-mmap.c: Likewise.
29213         * pwd/tst-getpw.c: Likewise.
29214         * resolv/tst-inet_ntop.c: Likewise.
29215         * rt/tst-timer.c: Likewise.
29216         * stdio-common/test-fseek.c: Likewise.
29217         * stdio-common/test-popen.c: Likewise.
29218         * stdio-common/test-vfprintf.c: Likewise.
29219         * stdio-common/tst-cookie.c: Likewise.
29220         * stdio-common/tst-fileno.c: Likewise.
29221         * stdio-common/tst-gets.c: Likewise.
29222         * stdio-common/tst-obprintf.c: Likewise.
29223         * stdio-common/tst-perror.c: Likewise.
29224         * stdio-common/tst-sprintf2.c: Likewise.
29225         * stdio-common/tst-sprintf3.c: Likewise.
29226         * stdio-common/tst-sprintf.c: Likewise.
29227         * stdio-common/tst-swprintf.c: Likewise.
29228         * stdio-common/tst-tmpnam.c: Likewise.
29229         * stdio-common/tst-unbputc.c: Likewise.
29230         * stdio-common/tst-wc-printf.c: Likewise.
29231         * stdlib/tst-environ.c: Likewise.
29232         * stdlib/tst-fmtmsg.c: Likewise.
29233         * stdlib/tst-limits.c: Likewise.
29234         * stdlib/tst-rand48-2.c: Likewise.
29235         * stdlib/tst-rand48.c: Likewise.
29236         * stdlib/tst-random2.c: Likewise.
29237         * stdlib/tst-random.c: Likewise.
29238         * stdlib/tst-strtol.c: Likewise.
29239         * stdlib/tst-strtoll.c: Likewise.
29240         * stdlib/tst-tls-atexit.c: Likewise.
29241         * stdlib/tst-xpg-basename.c: Likewise.
29242         * string/test-ffs.c: Likewise.
29243         * string/tst-bswap.c: Likewise.
29244         * string/tst-inlcall.c: Likewise.
29245         * string/tst-strtok.c: Likewise.
29246         * string/tst-strxfrm.c: Likewise.
29247         * sysdeps/x86_64/tst-audit10.c: Likewise.
29248         * sysdeps/x86_64/tst-audit3.c: Likewise.
29249         * sysdeps/x86_64/tst-audit4.c: Likewise.
29250         * sysdeps/x86_64/tst-audit5.c: Likewise.
29251         * time/tst-ftime_l.c: Likewise.
29252         * time/tst-getdate.c: Likewise.
29253         * time/tst-mktime3.c: Likewise.
29254         * time/tst-mktime.c: Likewise.
29255         * time/tst-posixtz.c: Likewise.
29256         * time/tst-strptime2.c: Likewise.
29257         * time/tst-strptime3.c: Likewise.
29258         * wcsmbs/tst-btowc.c: Likewise.
29259         * wcsmbs/tst-mbrtowc.c: Likewise.
29260         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29261         * wcsmbs/tst-wchar-h.c: Likewise.
29262         * wcsmbs/tst-wcpncpy.c: Likewise.
29263         * wcsmbs/tst-wcrtomb.c: Likewise.
29264         * wcsmbs/tst-wcsnlen.c: Likewise.
29265         * wcsmbs/tst-wcstof.c: Likewise.
29267 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #14132]
29270         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29271         INTDEF.
29272         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29273         declaration.
29274         (_dl_mcount): Use rtld_hidden_proto.
29275         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29276         _dl_mcount.
29277         * elf/rtld.c (_rtld_global_ro): Likewise.
29279         [BZ #14132]
29280         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29281         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29282         of _dl_init_internal.
29283         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29284         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29285         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29286         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29287         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29288         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29289         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29290         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29291         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29292         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29293         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29294         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29295         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29296         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29297         * sysdeps/tile/dl-start.S (_start): Likewise.
29298         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29299         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29301         [BZ #14132]
29302         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29303         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29304         (rtld_progname): Make macro definition unconditional.
29305         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29306         INTDEF.
29307         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29308         (dl_main): Likewise.
29309         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29310         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29311         instead of _dl_argv_internal.
29312         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29313         __GI__dl_argv instead of INTUSE(_dl_argv).
29314         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29315         __GI__dl_argv instead of _dl_argv_internal.
29317         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29318         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29319         macro.
29320         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29321         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29322         New macro.
29323         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29324         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29325         macro.
29326         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29327         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29329 2014-11-04  Andreas Schwab  <schwab@suse.de>
29331         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29333 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29335         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29336         mtvsrd instruction in binary form.
29338 2014-11-03  Andreas Schwab  <schwab@suse.de>
29340         [BZ #17522]
29341         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29342         for less than MB_LEN_MAX use a local buffer of that size.
29343         * libio/tst-fputws.c: New file.
29344         * libio/Makefile (tests): Add tst-fputws.
29346 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29348         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29349         the size of the fpu_fr.fpu_dregs[] array.
29351 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29353         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29354         (__nanosleep): Do not define as alias.
29355         (nanosleep): Define as alias of __nanosleep.
29356         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29357         __libc_nanosleep name.
29359 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29361         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29362         install.texi in comment.
29364 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29366         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29367         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29368         ... add here and use lwsync or sync ...
29369         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29370         ... and add here using lwsync.
29372 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29374         * elf/dl-machine-reject-phdr.h: New file.
29375         * elf/dl-load.c: #include that.
29376         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29377         if that returned true.
29379 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29381         [BZ #17496]
29382         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29383         gen-as-const-headers chunk.  Add a big scare comment after the last
29384         safe place to touch before-compile.
29386 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29388         * manual/install.texi (Tools for Compilation): Update autoconf
29389         version requirements.
29390         * INSTALL: Regenerated.
29392         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29393         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29394         (__libc_pselect): Likewise.
29396         [BZ #14138]
29397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29402 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29404         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29405         correct barrier instruction.
29406         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29407         Likewise.
29408         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29409         Likewise.
29411 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29413         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29414         after defining inlines.  Instead, just use parens to defeat macro
29415         expansion of __isctype in its declaration.
29417 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29419         * include/sys/uio.h (__libc_readv): Remove declaration.
29420         (__libc_writev): Likewise.
29421         * misc/readv.c (__libc_readv): Rename to __readv.
29422         (__readv): Do not define as alias.
29423         (readv): Define as alias of __readv.
29424         * misc/writev.c (__libc_writev): Rename to __writev.
29425         (__writev): Do not define as alias.
29426         (writev): Define as alias of __writev.
29427         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29428         (__readv): Do not define as alias.
29429         (readv): Define unconditionally as alias of __readv.
29430         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29431         (__writev): Do not define as alias.
29432         (writev): Define unconditionally as alias of __writev.
29433         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29434         name.
29435         (writev): Do not define __libc_writev name.
29437 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29439         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29440         (convert_charseq): New function, broken out of ...
29441         (use_from_charmap): ... here.  Call it.
29442         (use_to_charmap): Use convert_charseq and free instead of duplicating
29443         its code with a variable-length stack struct.
29445 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29447         * include/fcntl.h (__libc_creat): Remove declaration.
29448         * io/creat.c (__libc_creat): Rename to creat.
29449         (creat): Do not define as alias.
29450         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29451         of creat instead of __libc_creat.
29452         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29453         to creat.
29454         (creat): Do not define as alias.
29455         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29456         __libc_creat.
29457         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29458         __libc_creat name.
29459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29460         Likewise.
29462 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29464         * manual/llio.texi: Add comments discussing why write() may be
29465         considered MT-unsafe on Linux.
29467 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29469         * dl-load.c (local_strdup): Remove.
29470         (expand_dynamic_string_token): Use __strdup.
29471         (decompose_rpath): Likewise.
29472         (_dl_map_object): Likewise.
29474 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29476         [BZ #14132]
29477         * sysdeps/generic/unwind-dw2-fde.c
29478         (__register_frame_info_bases_internal): Do not declare.
29479         (__register_frame_info_table_bases_internal): Likewise.
29480         (__deregister_frame_info_bases_internal): Likewise.
29481         (__register_frame_info_bases): Declare and use hidden_proto before
29482         definition.  Use hidden_def instead of INTDEF.
29483         (__register_frame_info_table_bases): Likewise.
29484         (__deregister_frame_info_bases): Likewise.
29485         (__register_frame_info): Do not use INTUSE.
29486         (__register_frame): Likewise.
29487         (__register_frame_info_table): Likewise.
29488         (__register_frame_table): Likewise.
29489         (__deregister_frame_info): Likewise.
29490         (__deregister_frame): Likewise.
29492 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29495         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29496         not undefine.
29497         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29498         Likewise.
29499         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29500         Likewise.
29502 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29504         [BZ #14138]
29505         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29506         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29507         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29508         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29509         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29510         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29511         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29512         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29513         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29514         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29515         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29516         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29517         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29518         syscall.
29519         (setfsuid): Likewise.
29520         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29521         (setfsuid): Likewise.
29522         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29523         (setfsuid): Likewise.
29524         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29525         Likewise.
29526         (setfsuid): Likewise.
29527         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29528         (setfsuid): Likewise.
29529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29530         Likewise.
29531         (setfsuid): Likewise.
29533 2014-10-27  Andreas Schwab  <schwab@suse.de>
29535         [BZ #17501]
29536         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29537         check for Slow_SSE4_2 feature bit.
29538         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29539         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29540         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29541         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29543 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29545         * configure.ac: Validate compiler version with a empirical test of
29546         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29547         $CC -v output.
29548         * configure: Regenerated.
29550         * inet/htons.c (htons): Prototypify.
29551         * inet/htonl.c (htonl): Likewise.
29553 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29555         * string/strncat.c (strncat): Improve performance by using strlen.
29557 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29559         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29561 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29563         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29564         Call libc_fetestexcept_aarch64.
29566 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29568         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29569         Call libc_feholdexcept_aarch64.
29571 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29573         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29574         Call get_rounding_mode.
29576 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29578         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29579         Simplify logic.
29581 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29583         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29584         Simplify logic.
29586 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29588         [BZ #14138]
29589         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29590         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29591         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29592         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29593         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29594         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29595         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29596         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29597         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29598         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29599         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29600         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29601         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29602         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29603         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29604         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29605         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29606         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29607         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29608         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29609         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29610         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29611         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29612         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29613         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29614         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29615         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29616         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29617         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29618         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29619         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29620         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29621         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29622         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29623         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29624         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29625         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29626         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29627         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29628         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29629         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29630         syscall.
29631         (geteuid): Likewise.
29632         (getgid): Likewise.
29633         (getuid): Likewise.
29634         (getresgid): Likewise.
29635         (getresuid): Likewise.
29636         (getgroups): Likewise.
29637         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29638         (geteuid): Likewise.
29639         (getgid): Likewise.
29640         (getuid): Likewise.
29641         (getresgid): Likewise.
29642         (getresuid): Likewise.
29643         (getgroups): Likewise.
29644         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29645         (geteuid): Likewise.
29646         (getgid): Likewise.
29647         (getuid): Likewise.
29648         (getresgid): Likewise.
29649         (getresuid): Likewise.
29650         (getgroups): Likewise.
29651         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29652         Likewise.
29653         (geteuid): Likewise.
29654         (getgid): Likewise.
29655         (getuid): Likewise.
29656         (getresgid): Likewise.
29657         (getresuid): Likewise.
29658         (getgroups): Likewise.
29659         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29660         (geteuid): Likewise.
29661         (getgid): Likewise.
29662         (getuid): Likewise.
29663         (getresgid): Likewise.
29664         (getresuid): Likewise.
29665         (getgroups): Likewise.
29666         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29667         Likewise.
29668         (geteuid): Likewise.
29669         (getgid): Likewise.
29670         (getuid): Likewise.
29671         (getgroups): Likewise.
29673         [BZ #14138]
29674         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29675         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29676         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29677         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29678         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29679         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29680         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29681         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29682         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29683         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29684         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29685         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29686         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29687         __chown.
29688         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29689         (lchown): Likewise.
29690         (fchown): Likewise.
29691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29692         Likewise.
29693         (lchown): Likewise.
29694         (fchown): Likewise.
29695         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29696         (lchown): Likewise.
29697         (fchown): Likewise.
29698         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29699         Likewise.
29700         (lchown): Likewise.
29701         (fchown): Likewise.
29703 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29705         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29706         Simplify logic.
29708 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29710         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29711         Cleanup logic.
29713 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29715         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29716         Remove unused include.
29718 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29720         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29721         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29722         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29723         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29725 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29726             Helge Deller <deller@gmx.de>
29728         [BZ #17508]
29729         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29730         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29731         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29733 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29735         [BZ #14132]
29736         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29737         Remove macro definition.
29738         (__ashrdi3_v_glibc20): Likewise.
29739         (__lshrdi3_v_glibc20): Likewise.
29740         (__cmpdi2_v_glibc20): Likewise.
29741         (__ucmpdi2_v_glibc20): Likewise.
29742         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29743         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29744         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29745         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29746         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29747         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29749 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29751         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29752         old GNU extension [0] syntax.
29753         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29754         alloca rather than an array member with variable length.
29755         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29756         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29757         (parse_opt): ... here.  Likewise use alloca there.
29758         Validate the -i argument before checking for rootness.
29759         (send_shutdown): New function, broken out of ...
29760         (parse_opt): ... here.
29762 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29764         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29765         macro to get at the _rt_local_ro field.
29766         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29767         ([PIC] case) or _dl_hwcap ([!PIC] case).
29768         * sysdeps/arm/setjmp.S: Likewise.
29770         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29771         * sysdeps/arm/configure.ac: New check to define it.
29772         * sysdeps/arm/configure: Regenerated.
29773         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29774         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29775         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29776         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29777         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29778         Use move/movt pair instead of a load.
29779         (LDST_GLOBAL): Macro removed.
29780         (LDR_GLOBAL): New macro replaces it.
29781         (LDR_HIDDEN): New macro.
29782         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29783         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29785         * setjmp/tst-setjmp-static.c: New file.
29786         * setjmp/Makefile (tests): Add it.
29787         (tests-static): New variable.
29789 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29791         [BZ #17485]
29792         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29794 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29796         [BZ #14132]
29797         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29799 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29801         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29803 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29805         * io/fts.c (dirent_not_directory): New function.
29806         (fts_build): Call it.
29808 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29810         * nptl/version.c (__nptl_main): Use normal __write rather than
29811         INTERNAL_SYSCALL.
29812         (banner): Update copyright years.
29814         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29815         gettimeofday.
29816         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29817         * nptl/pthread_cond_timedwait.c: Likewise.
29818         * nptl/pthread_mutex_timedlock.c: Likewise.
29819         * nptl/sem_timedwait.c: Likewise.
29821         * sysdeps/nptl/bits/libc-lock.h
29822         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29823         (__libc_lock_init_recursive): Return void, not 0.
29824         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29825         (__libc_rwlock_init): Likewise.
29826         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29828 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29830         [BZ #15215]
29831         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29832         (__pthread_once_slow): ... here.
29833         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29834         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29836 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29838         [BZ #15215]
29839         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29840         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29841         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29842         * nptl/pthread_once.c (__pthread_once): Likewise.
29843         Update comments.
29845 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29847         [BZ #14138]
29848         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29849         name.
29850         (writev): Use __libc_writev as strong name.
29851         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29852         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29854 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29856         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29858         * sysdeps/i386/nptl/tls.h
29859         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29860         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29861         New macros.
29862         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29863         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29864         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29865         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29866         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29867         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29869         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29870         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29871         on [__NR_futex].
29872         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29873         broken out of ...
29874         (__pthread_mutex_init): ... here.  Call it.
29875         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29876         Conditionalize PI cases on [__NR_futex].
29877         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29878         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29879         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29881         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29882         conditional on [SIGSETXID].
29883         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29884         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29885         is defined.  Likewise for SIGSETXID.
29886         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29887         Conditionalize definitions on [SIGSETXID].
29888         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29889         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29890         unblocking on [SIGCANCEL].
29892         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29893         [__NR_set_robust_list].
29895 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29897         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29898         (do_compare): Likewise.
29900 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29902         [BZ #15884]
29903         * string/strcoll_l.c: Don't include stdio.h.
29904         (coll_seq): Remove members idxarr and rulearr.
29905         (get_next_seq_cached): Remove function.
29906         (get_next_seq): Likewise.
29907         (get_next_seq_nocache): Rename to get_next_seq.
29908         (do_compare): Remove function.
29909         (do_compare_nocache): Rename to do_compare.
29910         (STRCOLL): Remove weight and rules cache.
29912 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29914         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29915         * sysdeps/arm/sfp-machine.h: ... to here.
29916         * sysdeps/arm/Implies: Remove arm/soft-fp.
29918 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29920         * conform/data/sys/utsname.h-data (*_t): Allow.
29921         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29922         [POSIX] (WEXITED): Do not expect constant.
29923         [POSIX] (WSTOPPED): Likewise.
29924         [POSIX] (WNOHANG): Likewise.
29925         [POSIX] (WNOWAIT): Likewise.
29926         [POSIX] (siginfo_t): Do not expect type or elements.
29927         [POSIX] (pid_t): Do not expect type.
29928         [POSIX] (signal.h): Do not allow header.
29929         [POSIX] (sys/resource.h): Likewise.
29930         [POSIX] (si_*): Do not allow pattern.
29931         [POSIX] (W*): Likewise.
29932         [POSIX] (P_*): Likewise.
29933         [POSIX] (BUS_*): Likewise.
29934         [POSIX] (CLD_*): Likewise.
29935         [POSIX] (FPE_*): Likewise.
29936         [POSIX] (ILL_*): Likewise.
29937         [POSIX] (POLL_*): Likewise.
29938         [POSIX] (SEGV_*): Likewise.
29939         [POSIX] (SI_*): Likewise.
29940         [POSIX] (TRAP_*): Likewise.
29941         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29942         variable.
29944 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29946         [BZ #12926]
29947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29948         infinite loop when __recvmsg returns 0.
29950 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29952         * CANCEL-FCT-WAIVE: Remove file.
29953         * CANCEL-FILE-WAIVE: Likewise.
29955         [BZ #14132]
29956         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29957         instead of INTVARDEF.
29958         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29959         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29960         rtld_hidden_data_def instead of INTVARDEF.
29961         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29962         * elf/dl-deps.c (expand_dst): Likewise.
29963         * elf/dl-load.c (_dl_dst_count): Likewise.
29964         (_dl_dst_substitute): Likewise.
29965         (decompose_rpath): Likewise.
29966         (_dl_init_paths): Likewise.
29967         (open_path): Likewise.
29968         (_dl_map_object): Likewise.
29969         * elf/rtld.c (dl_main): Likewise.
29970         (process_dl_audit): Likewise.
29971         (process_envvars): Likewise.
29972         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29973         Remove declaration.
29974         (__libc_enable_secure): Use rtld_hidden_proto.
29976 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29978         * elf/dl-load.c
29979         (add_path): New function broken out of _dl_rtld_di_serinfo.
29980         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29982 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29984         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29985         parentheses around macro arguments.
29986         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29992         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29997         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29999         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30000         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30001         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30002         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30004         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30010         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30014         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30015         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30017         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30018         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30019         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30020         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30021         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30022         Likewise.
30023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30030         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30034         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30035         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30044         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30045         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30047         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30048         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30049         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30050         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30051         (_FP_FRAC_SRS_1): Likewise.
30052         (_FP_FRAC_CLZ_1): Likewise.
30053         (_FP_MUL_MEAT_1_imm): Likewise.
30054         (_FP_MUL_MEAT_1_wide): Likewise.
30055         (_FP_MUL_MEAT_1_hard): Likewise.
30056         (_FP_SQRT_MEAT_1): Likewise.
30057         (_FP_FRAC_ASSEMBLE_1): Likewise.
30058         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30059         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30060         (__FP_CLZ_2): Likewise.
30061         (_FP_MUL_MEAT_2_wide): Likewise.
30062         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30063         (_FP_MUL_MEAT_2_gmp): Likewise.
30064         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30065         (_FP_SQRT_MEAT_2): Likewise.
30066         (_FP_FRAC_ASSEMBLE_2): Likewise.
30067         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30068         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30069         (_FP_FRAC_CLZ_4): Likewise.
30070         (_FP_MUL_MEAT_4_wide): Likewise.
30071         (_FP_MUL_MEAT_4_gmp): Likewise.
30072         (_FP_SQRT_MEAT_4): Likewise.
30073         (_FP_FRAC_ASSEMBLE_4): Likewise.
30074         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30075         * soft-fp/op-common.h (_FP_CMP): Likewise.
30076         (_FP_CMP_EQ): Likewise.
30077         (_FP_CMP_UNORD): Likewise.
30078         (_FP_TO_INT): Likewise.
30079         (_FP_FROM_INT): Likewise.
30080         [!__FP_CLZ] (__FP_CLZ): Likewise.
30081         (_FP_DIV_HELP_imm): Likewise.
30082         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30083         Likewise.
30084         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30086         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30090         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30094         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30095         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30097         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30098         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30099         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30100         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30102         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30104         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30108         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30112         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30113         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30115         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30116         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30117         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30118         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30119         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30120         (FP_UNPACK_RAW_SP): Likewise.
30121         (FP_PACK_RAW_S): Likewise.
30122         (FP_PACK_RAW_SP): Likewise.
30123         (FP_UNPACK_S): Likewise.
30124         (FP_UNPACK_SP): Likewise.
30125         (FP_UNPACK_SEMIRAW_S): Likewise.
30126         (FP_UNPACK_SEMIRAW_SP): Likewise.
30127         (FP_PACK_S): Likewise.
30128         (FP_PACK_SP): Likewise.
30129         (FP_PACK_SEMIRAW_S): Likewise.
30130         (FP_PACK_SEMIRAW_SP): Likewise.
30131         (_FP_SQRT_MEAT_S): Likewise.
30132         (FP_CMP_S): Likewise.
30133         (FP_CMP_EQ_S): Likewise.
30134         (FP_CMP_UNORD_S): Likewise.
30135         (FP_TO_INT_S): Likewise.
30136         (FP_FROM_INT_S): Likewise.
30138         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30140         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30141         (FP_EX_INVALID_IMZ): Likewise.
30142         (FP_EX_INVALID_IMZ_FMA): Likewise.
30143         (FP_EX_INVALID_ISI): Likewise.
30144         (FP_EX_INVALID_ZDZ): Likewise.
30145         (FP_EX_INVALID_IDI): Likewise.
30146         (FP_EX_INVALID_SQRT): Likewise.
30147         (FP_EX_INVALID_CVI): Likewise.
30148         (FP_EX_INVALID_VC): Likewise.
30149         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30150         "invalid" exceptions.
30151         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30152         (_FP_ADD_INTERNAL): Likewise.
30153         (_FP_MUL): Likewise.
30154         (_FP_FMA): Likewise.
30155         (_FP_DIV): Likewise.
30156         (_FP_CMP_CHECK_NAN): Likewise.
30157         (_FP_SQRT): Likewise.
30158         (_FP_TO_INT): Likewise.
30159         (FP_EXTEND): Likewise.
30161 2014-10-09  Allan McRae  <allan@archlinux.org>
30163         * po/fr.po: Update French translation from translation project.
30165 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30167         [BZ #14132]
30168         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30169         of INTDEF.
30170         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30171         (__cxa_atexit): Use libc_hidden_proto.
30172         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30174         [BZ #14132]
30175         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30176         declaration.
30177         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30178         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30179         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30180         [!_ISOMAC] (__iswctype_internal): Likewise.
30181         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30182         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30183         alias.
30184         (fcntl): Remove __fcntl_internal alias.
30185         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30186         __connect_internal alias.
30187         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30188         Likewise.
30190         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30191         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30192         FP_DENORM_ZERO.
30193         (_FP_CHECK_FLUSH_ZERO): New macro.
30194         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30195         (_FP_CMP): Likewise.
30196         (_FP_CMP_EQ): Likewise.
30197         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30198         FP_DENORM_ZERO.
30199         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30200         (FP_TRUNC): Likewise.
30202         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30203         treated as invalid conversion, not as normal exponent.
30205         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30206         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30207         (_FP_CMP_EQ): Likewise.
30208         (_FP_CMP_UNORD): Likewise.
30209         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30210         (FP_CMP_EQ_D): Likewise.
30211         (FP_CMP_UNORD_D): Likewise.
30212         * soft-fp/extended.h (FP_CMP_E): Likewise.
30213         (FP_CMP_EQ_E): Likewise.
30214         (FP_CMP_UNORD_E): Likewise.
30215         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30216         (FP_CMP_EQ_Q): Likewise.
30217         (FP_CMP_UNORD_Q): Likewise.
30218         * soft-fp/single.h (FP_CMP_S): Likewise.
30219         (FP_CMP_EQ_S): Likewise.
30220         (FP_CMP_UNORD_S): Likewise.
30221         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30222         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30223         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30224         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30225         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30226         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30227         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30228         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30229         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30230         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30231         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30232         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30233         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30234         to FP_CMP_Q.
30235         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30236         FP_CMP_Q.
30237         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30238         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30239         FP_CMP_EQ_Q.
30240         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30241         FP_CMP_Q.
30242         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30243         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30244         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30245         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30246         FP_CMP_EQ_Q.
30247         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30248         FP_CMP_Q.
30249         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30250         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30251         FP_CMP_EQ_Q.
30252         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30253         FP_CMP_Q.
30254         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30255         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30256         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30257         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30258         FP_CMP_EQ_Q.
30260         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30261         a subnormal result, set the underflow exception if trapping on
30262         underflow is enabled.
30263         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30264         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30265         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30266         redefine to 0.
30267         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30268         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30269         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30270         * soft-fp/extendxftf2.c (__extendxftf2): Use
30271         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30273         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30274         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30275         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30276         FP_HANDLE_EXCEPTIONS.
30277         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30278         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30279         FP_HANDLE_EXCEPTIONS.
30280         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30281         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30282         FP_HANDLE_EXCEPTIONS.
30283         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30284         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30285         FP_HANDLE_EXCEPTIONS.
30287 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30289         [BZ #14132]
30290         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30291         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30292         use INTUSE.
30293         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30294         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30295         Remove alias.
30296         (__adjtimex): Define using libc_hidden_ver.
30297         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30298         Remove declaration.
30299         (ntp_gettime): Call __adjtimex directly.
30300         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30301         Remove declaration.
30302         (ntp_gettimex): Call __adjtimex directly.
30303         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30304         __adjtimex_internal alias.
30306 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30308         [BZ #17460]
30309         * nscd/nscd.c (more_help): Rewrite list of tables collection
30310         using xstrdup and asprintf.
30312         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30314 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30315             Roland McGrath  <roland@hack.frob.com>
30317         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30318         (do_lookup_unique): ... local function 'enter' here; update callers.
30320 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30322         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30323         compat_symbol calls on [SHARED].
30324         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30325         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30326         Remove.
30327         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30328         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30329         (oldsetrlimit): Remove.
30330         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30332         (lchown): New syscall entry.
30333         (oldsetrlimit): Remove.
30334         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30335         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30336         (oldsetrlimit): Remove.
30337         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30339         [BZ #14138]
30340         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30341         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30342         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30343         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30344         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30345         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30346         (fchown): Likewise.
30347         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30348         (fchown): Likewise.
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30350         Likewise.
30352 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30354         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30355         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30356         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30357         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30358         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30359         Likewise.
30360         (__old_sem_post): Likewise.
30362 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30364         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30365         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30366         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30367         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30368         Use INLINE_VSYSCALL macro.
30369         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30370         __vdso_clock_gettime.
30371         * sysdeps/unix/sysv/linux/tile/init-first.c
30372         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30373         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30374         __vdso_clock_gettime.
30376         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30377         to set up frame more cleanly.
30379         * sysdeps/tile/memcmp.c: New file.
30381         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30383         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30384         * sysdeps/tile/tilegx/strcasestr.c: New file.
30385         * sysdeps/tile/tilegx/strnlen.c: New file.
30386         * sysdeps/tile/tilegx/strstr.c: New file.
30388         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30390 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30392         * nptl/tst-setuid3.c: Write errors to stdout.
30394 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30396         * elf/dl-deps.c
30397         (preload): New functions broken out of _dl_map_object_deps.
30398         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30400 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30402         [BZ #14138]
30403         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30404         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30406 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30408         * sysdeps/mips/strcmp.S: New.
30410 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30412         [BZ #14138]
30413         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30414         (linkat): Likewise.
30415         (mkdirat): Likewise.
30416         (readlinkat): Likewise.
30417         (renameat): Likewise.
30418         (symlinkat): Likewise.
30419         (unlinkat): Likewise.
30420         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30421         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30422         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30423         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30424         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30425         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30426         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30428 2014-09-30  Will Newton  <will.newton@linaro.org>
30430         * math/math.h: Define long double math functions if
30431         _LIBC_TEST is defined.
30432         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30434         * localedata/Makefile: Move assignment to tests-special
30435         into an ifdef testing run-built-tests.
30436         * timezone/Makefile: Likewise.
30438 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30440         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30441         with $(BASH) not $(SHELL).
30443 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30444             Matthew LeGendre  <legendre1@llnl.gov>
30446         [BZ #17411]
30447         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30448         l_reloc_result.
30450 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30452         * stdio-common/printf_fp.c
30453         (hack_digit): New function, broken out of ...
30454         (__printf_fp): ... local function here.  Update call sites.
30455         hack_digit now takes an additional parameter that is a pointer
30456         to a struct of the referenced locals.  Those locals moved inside
30457         the struct and references updated.
30459 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30461         * aclocal.m4: Require autoconf 2.69.
30462         * configure: Regenerated.
30463         * sysdeps/aarch64/configure: Likewise.
30464         * sysdeps/alpha/configure: Likewise.
30465         * sysdeps/arm/armv7/configure: Likewise.
30466         * sysdeps/arm/configure: Likewise.
30467         * sysdeps/ia64/configure: Likewise.
30468         * sysdeps/mach/configure: Likewise.
30469         * sysdeps/mips/configure: Likewise.
30470         * sysdeps/s390/configure: Likewise.
30471         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30474         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30475         file.
30476         * sysdeps/ia64/configure.ac: Likewise.
30478 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30481         specify symbol version for ld.so.  Do not include entry for
30482         libpthread.
30483         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30484         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30487         [BZ #14171]
30488         * Makeconfig [$(build-shared) = yes]
30489         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30490         makefiles.
30491         [$(build-shared) = yes && $(soversions.mk-done) = t]
30492         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30493         [$(build-shared) = yes && $(soversions.mk-done) = t]
30494         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30495         to Makerules.
30496         [$(build-shared) = yes && $(soversions.mk-done) = t]
30497         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30498         here.
30499         [$(build-shared) = yes && $(soversions.mk-done) = t]
30500         (common-generated): Don't append gnu/lib-names.h and
30501         gnu/lib-names.stmp here.
30502         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30503         (lib-names-h-abi): New variable.
30504         [$(build-shared) = yes && $(soversions.mk-done) = t]
30505         (lib-names-stmp-abi): Likewise.
30506         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30507         abi-variants] (before-compile): Append
30508         $(common-objpfx)$(lib-names-h-abi).
30509         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30510         abi-variants] (common-generated): Append gnu/lib-names.h.
30511         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30512         abi-variants] (install-others-nosubdir): Depend on
30513         $(inst_includedir)/$(lib-names-h-abi).
30514         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30515         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30516         [$(build-shared) = yes && $(soversions.mk-done) = t]
30517         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30518         [$(build-shared) = yes && $(soversions.mk-done) = t]
30519         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30520         [$(build-shared) = yes && $(soversions.mk-done) = t]
30521         (common-generated): Append $(lib-names-h-abi) and
30522         $(lib-names-stmp-abi).
30523         * scripts/lib-names.awk: Do not handle multi being set.
30524         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30525         Remove variable.
30526         (abi-lp64_be-ld-soname): Likewise.
30527         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30528         Likewise.
30529         (abi-hard-ld-soname): Likewise.
30530         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30531         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30532         Remove variable.
30533         (abi-o32_hard-ld-soname): Likewise.
30534         (abi-o32_soft_2008-ld-soname): Likewise.
30535         (abi-o32_hard_2008-ld-soname): Likewise.
30536         (abi-n32_soft-ld-soname): Likewise.
30537         (abi-n32_hard-ld-soname): Likewise.
30538         (abi-n32_soft_2008-ld-soname): Likewise.
30539         (abi-n32_hard_2008-ld-soname): Likewise.
30540         (abi-n64_soft-ld-soname): Likewise.
30541         (abi-n64_hard-ld-soname): Likewise.
30542         (abi-n64_soft_2008-ld-soname): Likewise.
30543         (abi-n64_hard_2008-ld-soname): Likewise.
30544         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30545         Likewise.
30546         (abi-64-v2-ld-soname): Likewise.
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30548         ld.so entries.
30549         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30550         variable.
30551         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30552         entry.
30553         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30554         variable.
30555         (abi-64-ld-soname): Likewise.
30556         (abi-x32-ld-soname): Likewise.
30557         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30558         entry.
30559         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30561 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30563         [BZ #14138]
30564         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30565         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30566         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30567         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30568         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30569         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30570         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30571         syscall entry for GLIBC_2.2 symbol version.
30572         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30573         Likewise.
30574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30575         (setrlimit): Likewise.
30576         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30577         Likewise.
30579 2014-09-23  Will Newton  <will.newton@linaro.org>
30581         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30582         _LINUX_ARM_SYSDEP_H include guard too.
30583         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30584         define.
30586 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30588         * sysdeps/unix/sysv/linux/eventfd.c:
30589         Make first argument unsigned.
30590         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30591         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30593 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30595         [BZ #16852]
30596         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30597         * socket/sys/socket.h: Likewise.
30598         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30600 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30602         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30604 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30606         * time/tst-ftime.c: New test.
30607         * time/Makefile (tests): Add tst-ftime.
30609 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30611         * soft-fp/extended.h: Fix comment formatting.
30612         * soft-fp/op-1.h: Likewise.
30613         * soft-fp/op-2.h: Likewise.
30614         * soft-fp/op-4.h: Likewise.
30615         * soft-fp/op-8.h: Likewise.
30616         * soft-fp/op-common.h: Likewise.
30617         * soft-fp/soft-fp.h: Likewise.
30619         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30621 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30623         [BZ #6652]
30624         * Makeconfig (soversions-default-setname): Remove variable.
30625         ($(common-objpfx)soversions.i): Don't pass default_setname to
30626         soversions.awk.
30627         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30628         oldest_abi to abi-versions.awk.
30629         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30630         * config.make.in (oldest-abi): Remove variable.
30631         * configure.ac (--enable-oldest-abi): Remove configure option.
30632         * configure: Regenerated.
30633         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30634         text.
30635         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30636         * scripts/soversions.awk: Do not handle default_setname variable.
30637         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30638         variable.
30639         * sysdeps/mach/hurd/configure: Regenerated.
30640         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30641         variable.
30642         * sysdeps/unix/sysv/linux/configure: Regenerated.
30644 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30646         * elf/Makefile (CFLAGS-interp.c): Remove.
30647         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30648         path string.
30649         * elf/interp.c: Include generated runtime-linker.h
30651         * Makerules (lib%.so): Don't include $(+interp) in
30652         prerequisites.
30653         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30654         * dlfcn/eval.c: Remove file.
30656         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30657         macros.
30659         [BZ #17266]
30660         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30661         4.2 and newer.
30663         [BZ #17370]
30664         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30666 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30667             Jakub Jelinek  <jakub@redhat.com>
30669         [BZ #17266]
30670         * libio/stdio.h: Check definition of __fortify_function
30671         instead of __extern_always_inline to include bits/stdio2.h.
30672         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30673         check if __extern_always_inline is defined.
30674         [__USE_MISC || __USE_XOPEN]: Likewise.
30675         [__USE_ISOC99] Likewise.
30676         * misc/sys/cdefs.h (__fortify_function): Define only if
30677         __extern_always_inline is defined.
30678         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30679         __extern_always_inline and __extern_inline only for g++-4.3
30680         and newer or a compatible gcc.
30682 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30684         [BZ #17371]
30685         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30686         last change to handle zero prefix length.
30688 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30690         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30691         _SC_REGEX_VERSION.
30693         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30694         _POSIX_RAW_SOCKETS.
30696 2014-09-13  Allan McRae  <allan@archlinux.org>
30698         * po/ru.po: Update Russian translation from translation project.
30700 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30702         * locale/programs/locale.c (show_locale_vars): Inline local function
30703         into its sole call site.  Clean up some style nits.
30704         (print_item): New function, broken out of ...
30705         (show_info): ... local function here.  Clean up style nits.
30707         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30708         out of ...
30709         (set_class_defaults): ... local function set_default here.
30710         Define set_default as a macro locally to pass constant parameters.
30711         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30712         rather than a shared local.
30714         * stdlib/rpmatch.c (try): New function, broken out of ...
30715         (rpmatch): ... local function here.  Also, prototypify definition.
30717 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30719         * scripts/soversions.awk: Do not handle configuration names.
30720         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30721         vendor and os variables to soversions.awk.
30722         * configure.ac: Do not modify gnu-* host_os.
30723         * configure: Regenerated
30724         * shlib-versions: Remove first column with configuration names.
30725         * nptl/shlib-versions: Likewise.
30726         * nptl_db/shlib-versions: Likewise.
30727         * sysdeps/hppa/shlib-versions: Likewise.
30728         * sysdeps/m68k/shlib-versions: Likewise.
30729         * sysdeps/mach/hurd/shlib-versions: Likewise.
30730         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30731         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30732         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30733         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30734         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30735         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30736         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30737         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30739         Likewise.
30740         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30741         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30742         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30743         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30744         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30745         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30746         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30747         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30750         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30752         Regenerated.
30753         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30755         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30757         * shlib-versions: Remove OS-specific entries.  Moved to files in
30758         sysdeps.
30759         * sysdeps/mach/hurd/shlib-versions: New file.
30760         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30762         * nptl/shlib-versions: Remove architecture-specific entries.
30763         Moved to files in sysdeps.
30764         * shlib-versions: Likewise.
30765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30766         file.
30767         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30768         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30769         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30770         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30772         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30773         (UDP_NO_CHECK6_RX): Likewise.
30775 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30777         * sysdeps/posix/sysconf.c (__sysconf): Spell
30778         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30780 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30782         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30783         loading.
30784         * iconv/Versions (__gconv_transliterate): Export for use from
30785         gconv modules.
30786         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30787         (struct __gconv_trans_data, __gconv_trans_fct,
30788         __gconv_trans_context_fct, __gconv_trans_query_fct,
30789         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30790         definitions.
30791         (struct __gconv_step_data): Remove __trans member.
30792         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30793         longer hidden.  Remove unused trans_data argument.
30794         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30795         (__gconv_translit_find): Remove declaration.
30796         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30797         prototype.
30798         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30799         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30800         trans_data argument.  Add hidden definition.
30801         (__gconv_translit_find): Remove.
30802         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30803         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30804         * iconv/skeleton.c: Remove transliteration initialization.
30805         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30806         __gconv_step_data initialization.
30807         * libio/iofwide.c (__libio_translit_): Remove.
30808         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30809         * wcsmbs/btowc.c (__btowc): Likewise.
30810         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30811         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30812         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30813         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30814         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30815         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30816         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30817         * wcsmbs/wctob.c (wctob): Likewise.
30819 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30821         [BZ #16194]
30822         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30823         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30824         register usage.
30825         * sysdeps/x86/Makefile: Adjust.
30827 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30828             Roland McGrath  <roland@hack.frob.com>
30830         * locale/weight.h: Add include guard.
30831         (findidx): Make static rather than auto; take new parameters
30832         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30833         * locale/weightwc.h: Likewise.
30834         * posix/fnmatch_loop.c
30835         (FCT): Change type of EXTRA from int32_t to wint_t.
30836         Don't include either header inside the function.
30837         Call FINDIDX rather than findidx, and pass new arguments.
30838         #undef FINDIDX at the end of the file.
30839         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30840         FINDIDX before including fnmatch_loop.c for the non-wide version.
30841         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30842         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30843         for the wide version.
30844         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30845         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30846         Pass new arguments to findidx.
30847         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30848         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30849         Don't #include it inside the function.  Pass new arguments to findidx.
30850         * posix/regex_internal.h
30851         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30852         (re_string_elem_size_at): Don't #include it inside the function.
30853         Pass new arguments to findidx.
30854         * string/strcoll_l.c: #include WEIGHT_H at top level.
30855         (get_next_seq): Don't #include it inside the function.
30856         Pass new arguments to findidx.
30857         (get_next_seq_nocache): Likewise.
30858         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30859         (STRXFRM): Don't #include it inside the function.
30860         Pass new arguments to findidx.
30862 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30864         [BZ #17344]
30865         * malloc/malloc.c (unlink): Turn asserts into a call to
30866         malloc_printerr.
30868 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30870         [BZ #17370]
30871         * libio/wfileops (do_ftell_wide): Free OUT.
30873 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30875         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30877 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30879         [BZ #17363]
30880         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30881         group if the current group is empty.
30883 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30885         * benchtests/bench-memset.c (test_main): Add more test from size
30886         from 32 to 512 bytes.
30887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30888         Add POWER8 memset object.
30889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30890         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30891         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30892         implementation.
30893         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30894         Likewise.
30895         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30896         multiarch POWER8 memset optimization.
30897         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30898         POWER8 memset optimization.
30900         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30901         Remove bzero multiarch objects.
30902         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30903         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30904         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30905         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30906         Remove define.
30907         [__bzero]: Redefine to specific name.
30908         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30909         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30910         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30911         define.
30912         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30913         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30915 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30917         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30918         warnings into errors.
30920         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30921         __cxa_thread_atexit_impl prototype.
30923 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30925         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30926         Fix capitalization of error message.
30928 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30930         * sysdeps/mips/preconfigure: Modify ABI tests.
30932 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30934         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30936 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30937             Carlos O'Donell  <carlos@systemhalted.org>
30939         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30940         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30941         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30942         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30943         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30944         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30945         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30946         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30947         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30948         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30950         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30951         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30952         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30953         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30954         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30955         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30956         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30957         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30958         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30959         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30960         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30961         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30962         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30963         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30964         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30965         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30966         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30967         Deconditionalize the code that was previously under [RESET_PID].
30968         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30969         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30970         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30971         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30972         include sysdep.h.
30974 2014-09-08  Allan McRae  <allan@archlinux.org>
30976         * version.h (RELEASE): Set to "development".
30977         (VERSION): Set to "2.20.90"
30979 2014-09-07  Allan McRae  <allan@archlinux.org
30981         * version.h (RELEASE): Set to "stable".
30982         (VERSION): Set to "2.20"
30983         * include/features.h (__GLIBC_MINOR__): Set to 20.
30985         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30986         Liebler.
30988         * po/ko.po: Update Korean translation from translation project.
30990 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30992         [BZ #17354]
30993         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30994         macro for handling signed relocations.
30996 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30998         [BZ #17325]
30999         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31000         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31001         assert.
31002         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31003         * iconvdata/ibm935.c (BODY): Likewise.
31004         * iconvdata/ibm937.c (BODY): Likewise.
31005         * iconvdata/ibm939.c (BODY): Likewise.
31006         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31007         assert.
31008         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31009         script.
31010         * iconvdata/run-iconv-test.sh: New test loop for checking for
31011         decoder crashers.
31013 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31016         libm_hidden_ver.
31018 2014-09-01  Allan McRae  <allan@archlinux.org>
31020         * po/eo.po: Update Esperanto translation from translation project.
31022         * po/ca.po: Update Catalan translation from translation project.
31024 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31026         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31027         __proc_dostop call.
31029 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31031         [BZ #17319]
31032         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31033         to call set_thread_area instead of hand written asm.
31034         (__NR_set_thread_area): Removed define.
31035         (TLS_FLAG_WRITABLE): Likewise.
31036         (__ASSUME_SET_THREAD_AREA): Remove check.
31037         (TLS_EBX_ARG): Remove define.
31038         (TLS_LOAD_EBX): Likewise.
31040 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31042         Simplify atomicity of socket creation in bind.
31044         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31045         looking up the name after linking the file.
31047 2014-08-27  Allan McRae  <allan@archlinux.org>
31049         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31051 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31053         [BZ #17187]
31054         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31055         trans_compare, open_translit, __gconv_translit_find):
31056         Remove module loading code.
31058 2014-08-26  Allan McRae  <allan@archlinux.org>
31060         * po/vi.po: Update Vietnamese translation from translation project.
31062         * po/uk.po: Update Ukrainian translation from translation project.
31064         * po/fr.po: Update French translation from translation project.
31066         * po/ru.po: Update Russian translation from translation project.
31068         * po/pl.po: Update Polish translation from translation project.
31070         * po/cs.po: Update Czech translation from translation project.
31072         * po/de.po: Update German translation from translation project.
31074         * po/bg.po: Update Bulgarian translation from translation project.
31076         * po/sv.po: Update Sweedish translation from translation project.
31078         * po/nl.po: Update Dutch translation from translation project.
31080         * po/es.po: Update Spanish translation from translation project.
31082 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31084         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31086         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31087         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31088         (CPPFLAGS-iconvconfig): Likewise.
31089         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31091         * include/libc-symbols.h: Remove unnecessary check for
31092         NOT_IN_libc.
31093         * nptl/pthreadP.h: Likewise.
31094         * sysdeps/aarch64/setjmp.S: Likewise.
31095         * sysdeps/alpha/setjmp.S: Likewise.
31096         * sysdeps/arm/sysdep.h: Likewise.
31097         * sysdeps/i386/setjmp.S: Likewise.
31098         * sysdeps/m68k/setjmp.c: Likewise.
31099         * sysdeps/posix/getcwd.c: Likewise.
31100         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31101         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31102         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31103         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31104         * sysdeps/sh/sh3/setjmp.S: Likewise.
31105         * sysdeps/sh/sh4/setjmp.S: Likewise.
31106         * sysdeps/unix/alpha/sysdep.h: Likewise.
31107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31108         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31109         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31110         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31115         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31118         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31120         * sysdeps/x86_64/setjmp.S: Likewise.
31122 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31124         [BZ #17263]
31125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31126         <stdint.h>.
31127         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31128         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31130 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31132         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31134         [BZ #17262]
31135         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31136         and __x86_64__ when disabling x87 inline functions.
31138 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31140         [BZ #17259]
31141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31142         asm statement with __cpuid_count.
31144 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31146         * configure.ac: Change __ehdr_start code to dereference the struct.
31147         Run readelf on the output to look for relocations.
31148         * configure: Regenerated.
31150 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31152         [BZ #17261]
31153         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31154         value to 0.
31155         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31157 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31159         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31161 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31163         [BZ #16892]
31164         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31165         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31167 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31169         * malloc/malloc.c: Fix typo in comment.
31171 2014-08-09  Allan McRae  <allan@archlinux.org>
31173         * Regenerate libc.po.
31175 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31177         * intl/tst-gettext2.sh: Check every lang file for creation.
31179 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31181         * sysdeps/aarch64/fpu/math_private.h
31182         (libc_feholdsetround_noex_aarch64_ctx): New function.
31184 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31186         * sysdeps/arm/armv6/strcpy.S (strcpy):
31187         Fix performance issue in misaligned cases.
31189 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31191         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31192         Move definition from termios.h.
31193         (struct termio): Likewise.
31194         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31195         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31196         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31197         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31198         Likewise.
31199         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31200         Move definition to ioctl-types.h
31201         (struct termio): Likewise.
31202         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31203         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31204         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31205         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31206         Likewise.
31208 2014-08-05  Richard Henderson  <rth@redhat.com>
31210         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31211         exceptions.
31212         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31213         Add fraiseexcpt.
31214         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31215         Use __feraiseexcept.
31216         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31217         Protect libm symbols with IS_IN_libm.
31219         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31221 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31223         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31225 2014-08-04  Will Newton  <will.newton@linaro.org>
31227         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31228         file.
31230 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31232         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31233         variants for each function.
31235 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31237         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31238         appended ...
31239         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31240         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31241         appended ...
31242         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31243         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31244         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31245         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31246         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31247         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31248         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31249         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31250         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31251         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31252         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31254         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31256         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31257         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31258         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31259         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31260         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31261         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31262         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31263         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31265         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31266         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31267         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31268         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31269         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31270         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31271         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31272         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31273         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31274         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31275         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31276         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31277         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31278         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31279         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31280         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31281         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31282         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31283         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31284         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31285         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31286         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31287         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31288         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31289         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31290         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31291         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31292         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31293         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31294         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31295         Update #include.
31296         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31297         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31299 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31301         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31302         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31303         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31304         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31305         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31306         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31308 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31310         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31311         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31312         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31313         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31315 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31317         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31318         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31319         (__libc_vfork): Define function under this name.
31320         (__vfork): Define as an alias.
31321         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31322         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31324 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31326         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31327         that was previously under [RESET_PID].
31328         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31330 2014-08-04  Andreas Schwab  <schwab@suse.de>
31332         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31334 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31336         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31337         (main): Likewise.
31339 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31341         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31343 2014-08-01  Richard Henderon  <rth@redhat.com>
31345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31346         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31347         typo in exact zero test.
31348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31349         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31352 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31354         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31355         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31356         * sysdeps/arm/sysdep.h: ... here.
31357         [!__ASSEMBLER__]: Include <stdint.h>.
31359 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31361         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31362         (HAVE_WCTYPE_H): Likewise.
31363         (HAVE_ISWCTYPE): Likewise.
31364         (ENABLE_NLS): Likewise.
31365         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31366         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31368         * posix/regex_internal.c: Check if DEBUG is defined and is
31369         set.
31371         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31372         (HAVE_MBSRTOWCS): Likewise.
31373         * posix/fnmatch.c: Include string.h unconditionally.
31375 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31377         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31378         reversal.
31380 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31382         * sysdeps/generic/safe-fatal.h: New file.
31383         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31384         * nptl/forward.c: Include it.
31385         (__pthread_unwind): Use __safe_fatal as default action, rather
31386         than a bogus use of INTERNAL_SYSCALL that could never work.
31388         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31389         * configure.ac (libc_cv_builtin_trap): New test.
31390         * configure: Regenerated.
31391         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31392         (ABORT_INSTRUCTION): Define using __builtin_trap.
31394         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31395         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31396         * sysdeps/nptl/nptl-signals.h: New file.
31397         * nptl/pthreadP.h: Include <nptl-signals.h>.
31399 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31401         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31402         (ONE_DIRECTION): Define.
31403         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31404         (ONE_DIRECTION): Define.
31405         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31406         (ONE_DIRECTION): Define.
31408 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31410         * sysdeps/s390/Makefile: Delete file.
31411         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31412         * sysdeps/s390/__longjmp.c: Delete file.
31413         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31414         Remove fields __flags and __reserved.
31415         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31416         and add versioning.
31417         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31418         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31419         * sysdeps/s390/rtld-setjmp.S: Likewise.
31420         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31421         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31422         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31423         * sysdeps/s390/s390-32/setjmp.S: ... here.
31424         Add versioning.
31425         (__sigsetjmp): Remove setting __flags field.
31426         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31427         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31428         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31429         * sysdeps/s390/s390-64/setjmp.S: ... here.
31430         Add versioning.
31431         (__sigsetjmp): Remove setting __flags field.
31432         * sysdeps/s390/setjmp.S: Delete file.
31433         * sysdeps/s390/sigjmp.c: Likewise.
31434         * sysdeps/s390/v1-longjmp.c: Likewise.
31435         * sysdeps/s390/v1-setjmp.h: Likewise.
31436         * sysdeps/s390/v1-sigjmp.c: Likewise.
31437         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31438         Remove v1-longjmp_chk.
31439         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31440         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31441         Include debug/longjmp_chk.c and add versioning.
31442         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31443         Include nptl/pt-longjmp.c and add versioning.
31444         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31445         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31446         Include __longjmp.c.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31448         Move to ...
31449         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31450         (__getcontext): Remove setting __flags field.
31451         Add versioning.
31452         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31453         Don't restore upper high grps.
31454         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31455         Likewise.
31456         (__swapcontext): Remove setting uc_flags field.
31457         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31458         Delete file.
31459         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31460         Include __longjmp.c.
31461         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31462         Move to ...
31463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31464         (__getcontext): Remove setting __flags field.
31465         Add versioning.
31466         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31467         (__swapcontext): Remove setting uc_flags field.
31468         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31469         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31470         Remove fields uc_high_gprs and __reserved.
31471         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31472         New file with reverted content.
31473         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31474         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31475         Regenerated.
31476         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31477         Regenerated.
31479 2014-07-31  Andreas Schwab  <schwab@suse.de>
31481         * config.h.in (HAVE_IFUNC): Define to 0.
31482         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31483         definedness.
31485 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31488         memmove-avx-unaligned, memcpy-avx-unaligned and
31489         mempcpy-avx-unaligned.
31490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31491         Add tests for AVX memcpy functions.
31492         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31493         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31494         memcpy_chk.
31495         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31496         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31497         memmove_chk.
31498         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31499         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31500         mempcpy_chk.
31501         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31502         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31503         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31505 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31507         [BZ #17213]
31508         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31509         powerpc64le.
31511 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31513         [BZ #16839]
31514         * manual/llio.texi: Add section about open file description locks.
31515         * manual/examples/ofdlocks.c: Example of open file description
31516         lock usage.
31517         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31518         F_OFD_SETLK, and F_OFD_SETLKW.
31520 2014-07-23  Allan McRae  <allan@archlinux.org>
31522         * po/es.po: Update Spanish translation from translation project.
31524 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31526         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31528 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31530         [BZ #17078]
31531         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31532         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31533         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31535 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31537         [BZ #17088]
31538         * math/fesetenv.c (__fesetenv)
31539         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31540         * math/feupdateenv.c (__feupdateenv)
31541         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31543         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31544         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31545         (__ASSUME_SOCKETCALL): Do not define.
31547         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31548         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31549         (__ASSUME_SOCKETCALL): Do not define.
31550         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31551         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31552         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31553         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31554         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31555         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31556         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31557         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31559         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31560         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31561         (__ASSUME_SOCKETCALL): Do not define.
31562         (__ASSUME_IPC64): Define unconditionally.
31563         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31564         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31565         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31566         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31567         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31568         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31569         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31570         Likewise.
31572         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31573         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31574         (__ASSUME_SOCKETCALL): Do not define.
31575         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31576         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31577         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31578         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31579         (__ASSUME_REQUEUE_PI): Define unconditionally.
31580         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31581         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31582         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31583         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31584         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31585         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31587         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31588         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31589         (__ASSUME_SOCKETCALL): Do not define.
31590         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31591         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31592         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31593         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31595         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31597         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31598         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31599         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31600         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31602         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31603         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31604         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31605         (__ASSUME_GETCPU_SYSCALL): Likewise.
31607         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31608         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31609         cases for individual architectures.
31610         * sysdeps/gnu/configure: Regenerated.
31611         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31612         LIBC_SLIBDIR_RTLDDIR.
31613         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31614         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31615         LIBC_SLIBDIR_RTLDDIR.
31616         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31618         LIBC_SLIBDIR_RTLDDIR.
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31620         Regenerated.
31621         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31622         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31623         file.
31624         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31625         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31626         file.
31627         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31628         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31629         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31630         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31632         * sysdeps/aarch64/shlib-versions: Move to ...
31633         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31634         * sysdeps/alpha/shlib-versions: Move to ...
31635         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31636         * sysdeps/arm/shlib-versions: Move to ...
31637         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31638         * sysdeps/hppa/shlib-versions: Move all contents except for
31639         libgcc_s entry to ...
31640         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31641         entry from ...
31642         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31643         * sysdeps/ia64/shlib-versions: Move to ...
31644         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31645         entry from ...
31646         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31647         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31648         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31649         * sysdeps/microblaze/shlib-versions: Move to ...
31650         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31651         * sysdeps/mips/shlib-versions: Move to ...
31652         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31653         entry from ...
31654         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31655         * sysdeps/tile/shlib-versions: Move to ...
31656         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31657         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31658         from ...
31659         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31660         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31661         entry from ...
31662         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31664 2014-07-17  Will Newton  <will.newton@linaro.org>
31666         * sysdeps/arm/bits/atomic.h
31667         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31668         (__arch_compare_and_exchange_bool_16_int): Likewise.
31669         (__arch_compare_and_exchange_bool_64_int): Likewise.
31671         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31672         into an #else block.
31674 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31676         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31677         just Linux configurations.  Test empirically that the compiler sets
31678         __ARM_EABI__, rather than using the tuple to decide.
31679         * sysdeps/arm/preconfigure: Regenerated.
31680         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31681         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31682         contents appended ...
31683         * sysdeps/arm/configure.ac: ... here.
31684         * sysdeps/arm/configure: Regenerated.
31686 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31688         * nptl/pthread_kill.c: New file.
31689         * nptl/pthread_sigmask.c: New file.
31690         * nptl/pthread_sigqueue.c: New file.
31692         * sysdeps/nptl/lowlevellock.h: New file.
31693         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31694         * sysdeps/nptl/lowlevellock-futex.h: New file.
31696         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31697         Remove dead declarations.
31699 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31701         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31702         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31703         config-cflags-avx2.
31704         * sysdeps/x86_64/configure.ac: Likewise.
31705         * sysdeps/i386/configure: Regenerated.
31706         * sysdeps/x86_64/configure: Likewise.
31707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31708         memset-avx2 only if config-cflags-avx2 is yes.
31709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31710         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31711         defined.
31712         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31713         only if HAVE_AVX2_SUPPORT is defined.
31714         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31716 2014-07-14  Alan Modra  <amodra@gmail.com>
31718         [BZ #17153]
31719         * elf/elf.h (DT_PPC64_NUM): Correct value.
31720         * NEWS: Add to fixed bug list.
31722 2014-07-13  Jim Meyering  <meyering@fb.com>
31724         [BZ 17150]
31725         regex: don't deref NULL upon heap allocation failure
31726         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31727         failure in one more place.
31728         To trigger the segfault, configure grep -with-included-regex,
31729         build it, and run these commands:
31730         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31732 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31734         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31736 2014-07-11  Richard Henderson  <rth@redhat.com>
31738         * sysdeps/aarch64/libm-test-ulps: Update.
31740 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31742         [BZ #17135]
31743         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31744         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31745         (__nptl_setxid): Initialize error member.  Call
31746         __nptl_setxid_error.
31747         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31748         * nptl/descr.h (struct xid_command): Add error member.
31749         * nptl/tst-setuid3.c: New file.
31750         * nptl/Makefile (tests): Add it.
31752 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31754         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31755         New define.
31756         (__lll_trylock): Use __lll_base_trylock.
31757         (__lll_cond_trylock): Likewise.
31759 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31761         * nptl/pthread_create.c (start_thread): Use atomic_or and
31762         lll_futex_wake directly rather than lll_robust_dead.
31763         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31764         (lll_robust_dead): Macro removed.
31765         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31766         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31767         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31768         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31770         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31771         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31772         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31773         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31775         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31776         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31777         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31778         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31781         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31782         Use atomic_compare_and_exchange_val_acq directly rather than
31783         lll_robust_trylock.
31784         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31785         (__lll_robust_trylock, lll_robust_trylock): Removed.
31786         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31787         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31788         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31790         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31791         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31792         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31793         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31795         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31796         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31797         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31798         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31799         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31801 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31803         * manual/locale.texi (Locale Names): New section documenting
31804         locale name syntax.  Adjust menu and node chaining accordingly.
31805         (Choosing Locale): Reference Locale Names, Locale Categories.
31806         Mention setting LC_ALL=C.  Reflect that name syntax is now
31807         documented.
31808         (Locale Categories): New section title.  Reference Locale Names.
31809         LC_ALL is an environment variable, but not a category.
31810         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31811         description, now in Locale Name.  Reference that section.  Locale
31812         name syntax is now documented.
31814 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31816         [BZ #17137]
31817         * locale/findlocale.c (name_present, valid_locale_name): New
31818         functions.
31819         (_nl_find_locale): Use the loc_name variable to store name
31820         candidates.  Call name_present and valid_locale_name to check and
31821         validate locale names.  Return an error if the locale is invalid.
31823 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31825         * locale/setlocale.c (setlocale): Use strdup for allocating
31826         composite name copy.
31828 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31830         Sync up with gnulib.
31831         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31832         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31833         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31834         and _GL_ARG_NONNULL.
31835         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31836         [!_LIBC]: Include code for Windows and Cygwin.
31837         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31838         Include prototype for int strerror_r.
31839         [!_LIBC] (is_open): New function.
31840         (flush_stdout): New function.
31841         (print_errno_message): Use it.
31842         (error): Likewise.
31843         (error_at_line): Likewise.
31844         (error_tail) Add function attribute macros.  Use
31845         __builtin_expect.
31847         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31849         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31851         * io/ftw.c: Include sys/param.h unconditionally.
31853         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31855         [BZ #17125]
31856         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31857         libc_freeres_ptr.
31858         (freecache): New function to free CACHE on exit.
31860         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31861         initialization.
31863 2014-07-09  David S. Miller  <davem@davemloft.net>
31865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31867         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31868         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31869         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31870         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31871         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31872         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31873         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31874         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31875         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31876         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31877         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31878         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31879         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31881 2014-07-09  Andreas Schwab  <schwab@suse.de>
31883         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31884         output.
31885         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31886         (do_test): Likewise.
31888         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31890 2014-07-09  Will Newton  <will.newton@linaro.org>
31892         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31893         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31894         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31895         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31896         * sysdeps/hppa/start.S (_start): Likewise.
31898 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31900         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31902         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31903         defined.
31905 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31907         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31908         after checking that it is non-NULL.
31910         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31912 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31914         * sysdeps/powerpc/memmove.c: Remove file.
31915         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31916         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31918         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31919         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31920         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31921         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31922         string memmove instead of removed powerpc one.
31924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31925         [weak_alias]: Fix compiler warning due trailing data.
31926         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31927         [weak_alias]: Likewise.
31928         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31929         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31932         (__libc_ifunc_impl_list): Add memmove functions.
31934 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31936         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31937         Remove code.
31938         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31939         Likewise.
31940         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31941         Likewise.
31942         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31943         Likewise.
31944         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31945         Likewise.
31946         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31947         Likewise.
31948         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31949         Likewise.
31950         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31951         Likewise.
31952         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31953         Likewise.
31954         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31955         Likewise.
31956         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31957         Likewise.
31958         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31959         Likewise.
31960         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31961         Likewise.
31962         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31963         Likewise.
31964         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31965         Likewise.
31966         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31967         Likewise.
31968         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31969         Likewise.
31971 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31973         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31974         to avoid alignment traps in non-cacheable memory.
31975         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31978         multiarch objects.
31979         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31980         file: multiarch power7 memmove.
31981         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31982         multiarch default memmove.
31983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31984         multiarch memove for powerpc32/power4.
31986         * string/bcopy.c: Use full path to include memmove.c.
31987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31988         multiarch objects.
31989         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31990         bcopy for powerpc64.
31991         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31992         bcopy for powerpc64.
31993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31994         and memmove implementations.
31995         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31996         optimized multiarch memmove for POWER7/powerpc64.
31997         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31998         default multiarch memmove for powerpc64.
31999         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32000         multiarch for powerpc64.
32001         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32002         for POWER7/powerpc64.
32003         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32004         memmove for POWER7/powerpc64.
32006         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32007         glibc default one.
32009         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32010         __ELF_NATIVE_CLASS equal to 64.
32012 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32014         * sysdeps/nptl/lowlevellock.h: File removed.
32016         * NEWS: NPTL is no longer an add-on!
32017         * nptl/internaltypes.h: Moved ...
32018         * sysdeps/nptl/internaltypes.h: ... here.
32019         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32020         * sysdeps/nptl/fork.c: Likewise.
32021         * sysdeps/nptl/gai_misc.h: Likewise.
32022         * sysdeps/nptl/librt-cancellation.c: Likewise.
32023         * sysdeps/nptl/jmp-unwind.c: Likewise.
32024         * sysdeps/nptl/setxid.h: Likewise.
32025         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32026         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32027         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32028         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32029         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32030         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32031         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32032         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32033         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32034         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32035         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32036         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32037         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32038         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32039         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32040         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32041         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32042         * nptl/Makeconfig: Moved ...
32043         * sysdeps/nptl/Makeconfig: ... here.
32044         * nptl/configure: File removed.
32045         * nptl/ANNOUNCE: File removed.
32046         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32047         * sysdeps/unix/sysv/linux/configure: Regenerated.
32049         * nptl/Makefile (routines): Add libc_pthread_init,
32050         libc_multiple_threads, register-atfork and unregister-atfork.
32051         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32052         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32053         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32054         pthread-pi-defines.sym, structsem.sym.
32055         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32056         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32057         [$(subdir) = nptl] (tests): Add tst-setgetname.
32058         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32059         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32060         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32061         [!LIBC_SIGACTION]: Remove aliases.
32062         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32063         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32064         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32065         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32066         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32067         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32069         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32070         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32071         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32072         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32073         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32074         __libc_allocate_rtsig_private.
32075         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32076         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32077         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32078         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32079         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32080         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32081         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32082         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32083         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32084         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32085         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32086         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32087         * nptl/internaltypes.h: ... here.
32088         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32089         * sysdeps/nptl/jmp-unwind.c: ... here.
32090         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32091         * nptl/libc-lowlevellock.c: ... here.
32092         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32093         * nptl/libc_multiple_threads.c: ... here.
32094         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32095         * nptl/libc_pthread_init.c: ... here.
32096         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32097         * nptl/lowlevelbarrier.sym: ... here.
32098         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32099         * nptl/lowlevelcond.sym: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32101         * nptl/lowlevellock.c: ... here.
32102         * nptl/lowlevellock.h: Moved ...
32103         * sysdeps/nptl/lowlevellock.h: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32105         * nptl/lowlevelrobustlock.c: ... here.
32106         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32107         * nptl/lowlevelrobustlock.sym: ... here.
32108         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32109         * nptl/lowlevelrwlock.sym: ... here.
32110         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32111         * nptl/pt-fork.c: ... here.
32112         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32113         * nptl/pthread-pi-defines.sym: ... here.
32114         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32115         * nptl/pthread_attr_getaffinity.c: ... here.
32116         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32117         * nptl/pthread_attr_setaffinity.c: ... here.
32118         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32119         * nptl/pthread_mutex_cond_lock.c: ... here.
32120         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32121         Update #include.
32122         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32123         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32124         * nptl/pthread_once.c: ... here, replacing old file.
32125         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32126         * nptl/pthread_yield.c: ... here.
32127         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32128         * nptl/register-atfork.c: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32130         * nptl/sem_post.c: ... here.
32131         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32132         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32133         * nptl/sem_timedwait.c: ... here.
32134         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32135         * nptl/sem_trywait.c: ... here.
32136         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32137         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32138         * nptl/sem_wait.c: ... here.
32139         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32140         * nptl/structsem.sym: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32142         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32143         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32144         * nptl/unregister-atfork.c: ... here.
32145         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32146         * nptl/unwindbuf.sym: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32148         * sysdeps/nptl/fork.c: ... here.
32149         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32150         * sysdeps/nptl/fork.h: ... here.
32151         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32152         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32153         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32154         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32155         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32156         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32157         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32158         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32159         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32160         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32161         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32162         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32163         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32164         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32165         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32166         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32167         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32168         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32169         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32170         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32171         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32172         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32173         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32174         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32175         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32176         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32177         * sysdeps/unix/sysv/linux/raise.c: ... here.
32178         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32179         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32180         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32181         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32182         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32183         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32184         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32185         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32186         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32187         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32188         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32189         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32190         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32191         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32192         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32194 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32196         * sysdeps/generic/memcopy.h: Add comment for
32197         MEMCPY_OK_FOR_FWD_MEMMOVE.
32199 2014-07-04  Will Newton  <will.newton@linaro.org>
32201         * string/memchr.c: Merge from gnulib.
32202         [_LIBC]: Remove conditionals.
32203         (__ptr_t): Remove define.
32204         (LONG_MAX_32_BITS): Likewise.
32205         (LONG_MAX): Likewise.
32206         (MEMCHR): Use ANSI prototype and optimize algorithm.
32208         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32210 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32212         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32213         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32215         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32216         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32217         in a bare environment with no <stdlib.h> installed.
32218         * sysdeps/nptl/configure: Regenerated.
32220         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32222         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32223         AC_EGREP_CPP for kernel header checks, so they only succeed if
32224         including <linux/version.h> actually works right.
32225         * sysdeps/unix/sysv/linux/configure: Regenerated.
32227         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32228         value so it's not diagnosed as unused.
32230         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32231         thing) with "ifeq ($(subdir),rt)".
32233 2014-07-03  Richard Henderson  <rth@redhat.com>
32235         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32236         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32237         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32239         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32240         (math_force_eval): New.
32242         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32243         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32245         * sysdeps/alpha/fpu/s_round.c: Remove file.
32246         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32248         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32249         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32250         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32251         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32252         (_dl_start, print_statistics): Likewise.
32253         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32254         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32256         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32257         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32258         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32259         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32260         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32261         (HP_SMALL_TIMING_AVAIL): Define.
32262         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32263         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32264         (HP_SMALL_TIMING_AVAIL): Define.
32265         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32266         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32268         * sysdeps/aarch64/hp-timing.h: New file.
32270         * sysdeps/generic/hp-timing.h: Remove dead comment.
32271         * sysdeps/generic/hp-timing-common.h: New file.
32272         * sysdeps/alpha/hp-timing.h: Include it.
32273         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32274         * sysdeps/i386/i686/hp-timing.h: Likewise.
32275         * sysdeps/ia64/hp-timing.h: Likewise.
32276         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32277         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32278         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32279         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32280         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32281         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32282         (hp_timing_t): New.
32284         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32285         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32286         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32287         * elf/rtld.c (_dl_start_final): Likewise.
32288         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32289         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32290         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32291         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32292         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32293         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32294         (HP_TIMING_DIFF_INIT): Remove.
32295         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32296         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32297         (HP_TIMING_DIFF_INIT): Remove.
32298         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32299         * sysdeps/i386/i686/hp-timing.c: Remove file.
32300         * sysdeps/x86_64/hp-timing.c: Remove file.
32301         * sysdeps/ia64/hp-timing.c: Remove file.
32302         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32303         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32304         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32305         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32307         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32308         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32309         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32310         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32311         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32312         (HP_TIMING_ACCUM): Remove.
32313         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32314         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32315         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32317         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32318         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32319         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32320         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32321         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32322         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32323         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32324         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32326         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32328 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32330         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32332 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32334         Sync up with gettext.
32335         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32336         [_MSC_VER]: Include malloc.h
32337         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32338         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32339         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32340         TEMP_FAILURE_RETRY.  Cast return of alloca.
32341         [!_LIBC] Call gl_rwlock_init.
32342         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32344 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32346         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32347         before checking its value.
32349 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32351         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32353         * debug/memcpy_chk.c: Don't include pagecopy.h.
32354         * debug/mempcpy_chk.c: Likewise.
32355         * string/memcpy.c: Likewise.
32356         * string/memmove.c: Likewise.
32357         * sysdeps/powerpc/memmove.c: Likewise.
32358         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32359         definition of PAGE_COPY_FWD_MAYBE here...
32360         * sysdeps/generic/pagecopy.h: ... from here.
32361         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32363 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32364             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32366         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32368         optimizations.
32369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32370         (__libc_ifunc_impl_list): Likewise.
32371         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32372         multiarch strcat for PPC64.
32373         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32374         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32376 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32378         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32380 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32382         * intl/loadmsgcat.c: Remove declaration of
32383         get_sysdep_segment_value.
32384         (get_sysdep_segment_value): Use ISO C style.
32385         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32386         semicolon.  Fix typo and formatting in comment.
32387         (_nl_unload_domain): Use ISO C style.
32389         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32391 2014-07-02  Will Newton  <will.newton@linaro.org>
32393         * malloc/obstack.c: Merge from gnulib master.
32394         [HAVE_CONFIG_H]: Remove conditional code.
32395         [!_LIBC]: Include config.h.
32396         [!ELIDE_CODE]: Don't include inttypes.h, include
32397         stdint.h unconditionally.
32398         (print_and_abort): Mark as _Noreturn.
32399         (_obstack_allocated_p): Mark as __attribute_pure__.
32400         (obstack_free): Rename to __obstack_free.
32401         [!__attribute__]: Remove conditional code.
32402         * malloc/obstack.h: Merge from gnulib master.
32403         [__cplusplus]: Move conditional down.
32404         [!__attribute_pure__]: Define __attribute_pure__ here
32405         if it is not already defined.
32406         (_obstack_memory_used): Mark as __attribute_pure__.
32407         [!__obstack_free]: Define as obstack_free.
32408         [__GNUC__]: Remove check for ancient NeXT gcc.
32410 2014-07-02  Will Newton  <will.newton@linaro.org>
32411             Paul Eggert  <eggert@cs.ucla.edu>
32413         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32415 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32417         * resolv/gethnamaddr.c: Add comment warning that the file is
32418         not maintained.
32420 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32422         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32423         entries.
32425         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32426         entry for aio_cancel and aio_cancel64.
32427         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32428         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32429         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32430         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32431         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32432         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32433         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32434         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32435         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32436         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32437         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32438         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32439         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32441 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32443         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32444         * nptl/pthread_mutex_lock.c: Likewise.
32445         * nptl/pthread_mutex_timedlock.c: Likewise.
32446         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32448 2014-07-01  Richard henderson  <rth@redhat.com>
32450         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32451         (__isnan, __isnanl): Remove.
32452         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32454         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32456 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32460 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32462         * resolv/nss_dns/dns-host.c (getanswer_r)
32463         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32465 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32467         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32468         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32469         undefine.
32470         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32471         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32473 2014-07-01  Roland McGrath <roland@hack.frob.com>
32475         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32476         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32478         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32479         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32481         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32482         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32483         ... here.
32484         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32485         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32487         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32488         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32489         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32490         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32492         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32493         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32494         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32495         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32496         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32497         Moved ...
32498         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32499         ... here.
32500         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32501         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32502         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32503         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32504         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32505         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32507         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32508         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32509         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32510         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32511         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32515         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32516         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32517         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32518         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32519         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32520         ... here.
32521         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32522         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32523         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32524         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32525         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32526         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32527         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32528         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32530 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32532         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32533         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32534         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32535         Add sysdep.
32537 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32541 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32543         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32544         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32546         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32548         * sysdeps/arm/libm-test-ulps: Regenerated.
32550 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32551             Roland McGrath <roland@hack.frob.com>
32553         * test-skeleton.c (signal_handler): Kill the whole process group
32554         before killing the child individually.
32555         (main): Report any failure on `setpgid'.
32557 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32559         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32560         from _TLS_H to _ARM_NPTL_TLS_H.
32561         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32562         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32564 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32566         [BZ #16539]
32567         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32568         (__expm1l): Return argument unchanged when small but not
32569         subnormal.
32571         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32572         include macro name.
32573         (_FP_UNPACK_RAW_1_P): Likewise.
32574         (_FP_PACK_RAW_1): Likewise.
32575         (_FP_PACK_RAW_1_P): Likewise.
32576         (_FP_MUL_MEAT_1_wide): Likewise.
32577         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32578         (_FP_MUL_MEAT_1_hard): Likewise.
32579         (_FP_DIV_MEAT_1_imm): Likewise.
32580         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32581         (_FP_DIV_MEAT_1_udiv): Likewise.
32582         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32583         (_FP_UNPACK_RAW_2): Likewise.
32584         (_FP_UNPACK_RAW_2_P): Likewise.
32585         (_FP_PACK_RAW_2): Likewise.
32586         (_FP_PACK_RAW_2_P): Likewise.
32587         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32588         (_FP_MUL_MEAT_2_wide): Likewise.
32589         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32590         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32591         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32592         (_FP_MUL_MEAT_2_gmp): Likewise.
32593         (_FP_DIV_MEAT_2_udiv): Likewise.
32594         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32595         (_FP_FRAC_SRL_4): Likewise.
32596         (_FP_FRAC_SRST_4): Likewise.
32597         (_FP_FRAC_SRS_4): Likewise.
32598         (_FP_UNPACK_RAW_4): Likewise.
32599         (_FP_UNPACK_RAW_4_P): Likewise.
32600         (_FP_PACK_RAW_4): Likewise.
32601         (_FP_PACK_RAW_4_P): Likewise.
32602         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32603         (_FP_MUL_MEAT_4_wide): Likewise.
32604         (_FP_MUL_MEAT_4_gmp): Likewise.
32605         (umul_ppppmnnn): Likewise.
32606         (_FP_DIV_MEAT_4_udiv): Likewise.
32607         (__FP_FRAC_ADD_4): Likewise.
32608         (__FP_FRAC_SUB_3): Likewise.
32609         (__FP_FRAC_SUB_4): Likewise.
32610         (__FP_FRAC_DEC_3): Likewise.
32611         (__FP_FRAC_DEC_4): Likewise.
32612         (__FP_FRAC_ADDI_4): Likewise.
32613         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32614         (_FP_FRAC_SRL_8): Likewise.
32615         (_FP_FRAC_SRS_8): Likewise.
32617         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32618         include macro name.
32619         (FP_UNPACK_RAW_EP): Likewise.
32620         (FP_PACK_RAW_E): Likewise.
32621         (FP_PACK_RAW_EP): Likewise.
32622         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32623         (_FP_ISSIGNAN): Likewise.
32624         (_FP_ADD_INTERNAL): Likewise.
32625         (_FP_FMA): Likewise.
32626         (_FP_CMP): Likewise.
32627         (_FP_SQRT): Likewise.
32628         (_FP_TO_INT): Likewise.
32629         (_FP_FROM_INT): Likewise.
32630         (FP_EXTEND): Likewise.
32631         (_FP_DIV_MEAT_N_loop): Likewise.
32633 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32635         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32636         throughout.
32638 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32640         [BZ #17097]
32641         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32642         result with correct sign in case of exponents that produce
32643         overflow except for X very close to 1.
32645 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32647         mktime: merge #if/#ifdef usage from glibc
32648         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32649         as that works with both Glibc's and Gnulib's style.
32650         See thread starting at Siddhesh Poyarekar's bug report at:
32651         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32653 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32655         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32656         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32657         * sysdeps/tile/tilegx/memmove.c: Remove file.
32659 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32661         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32662         abi-name definition.
32663         * scripts/soversions.awk: Do not handle or generate ABI lines.
32664         * shlib-versions: Remove ABI entries.
32665         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32666         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32668 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32671         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32672         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32677         Moved ...
32678         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32679         ... here.
32680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32691         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32693         Moved ...
32694         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32696         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32700         Moved ...
32701         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32703         Moved ...
32704         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32708         Moved ...
32709         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32711         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32712         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32713         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32715         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32717         Moved ...
32718         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32720         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32721         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32722         Moved ...
32723         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32724         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32725         Moved ...
32726         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32730         Moved ...
32731         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32732         ... here.
32733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32734         Identical file removed.
32735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32736         Moved ...
32737         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32739         Identical file removed.
32740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32741         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32743         Moved ...
32744         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32746         Identical file removed.
32747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32750         Identical file removed.
32751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32752         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32754         Identical file removed.
32755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32756         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32758         Identical file removed.
32759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32760         Moved ...
32761         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32763         Identical file removed.
32764         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32765         Moved ...
32766         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32768         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32769         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32770         Identical file removed.
32771         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32772         Moved ...
32773         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32774         ... here.
32775         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32776         Identical file removed.
32777         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32778         Moved ...
32779         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32781         Identical file removed.
32782         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32783         Moved ...
32784         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32788         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32789         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32790         Moved ...
32791         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32792         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32793         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32795         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32796         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32797         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32798         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32799         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32801 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32803         [BZ #17092]
32804         * nscd/nscd.c (monitor_child): Return exit status of child
32805         instead of return value from wait syscall.
32807 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32809         * configure.ac (libc_commonpagesize): Remove variable.
32810         (libc_relro_required): Likewise.
32811         (libc_cv_z_relro): Remove configure test.
32812         * configure: Regenerated.
32813         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32814         variable.
32815         (libc_relro_required): Likewise.
32816         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32817         (libc_relro_required): Likewise.
32818         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32819         (libc_relro_required): Likewise.
32820         * sysdeps/arm/preconfigure: Regenerated.
32821         * sysdeps/ia64/preconfigure: Remove file.
32822         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32823         variable.
32824         (libc_relro_required): Likewise.
32826         [BZ #16561]
32827         [BZ #16562]
32828         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32829         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32830         recompute overflowing results in original rounding mode.
32831         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32832         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32833         recompute overflowing results in original rounding mode.
32834         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32835         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32836         recompute overflowing results in original rounding mode.
32837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32838         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32839         recompute overflowing results in original rounding mode.
32840         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32841         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32842         recompute overflowing results in original rounding mode.
32843         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32844         (libc_feholdsetround_ctx): New macro.
32845         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32846         * sysdeps/i386/fpu/libm-test-ulps: Update.
32847         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32849 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32851         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32852         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32853         corresponding .cpsetup call.
32855 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32857         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32858         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32859         * sysdeps/arm/Makefile [$(subdir) = csu]
32860         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32861         (static-only-routines): Add aeabi_read_tp here.
32862         (shared-only-routines): Add libc-aeabi_read_tp here.
32863         (CFLAGS-libc-start.c): Add -fexceptions here.
32864         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32865         (sysdep_routines, static-only-routines, shared-only-routines):
32866         Don't add to these here.
32867         (CFLAGS-libc-start.c): Likewise.
32869         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32870         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32871         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32872         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32873         * sysdeps/arm/Makefile [$(subdir) = rt]
32874         (librt-sysdep_routines, librt-shared-only-routines):
32875         Append rt-aeabi_unwind_cpp_pr1 here.
32876         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32877         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32878         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32879         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32880         Append nptl-aeabi_unwind_cpp_pr1 here.
32881         (tests): Filter out tst-cleanupx4 here.
32882         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32883         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32884         Don't do those here.
32886 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32888         * scripts/list-sources.sh: Do not handle ports specially.
32890 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32892         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32893         * sysdeps/arm/feupdateenv.c: Likewise.
32895         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32897 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32899         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32900         trailing whitespace removed.
32901         * scripts/config.guess: Update to version 2014-03-23.
32902         * scripts/config.sub: Update to version 2014-05-01
32903         * scripts/install-sh: Update to version 2013-12-25.23.
32904         * scripts/move-if-change: Update from gnulib.
32906 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32908         * debug/memmove_chk.c: Remove pagecopy.h include.
32910 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32912         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32913         identical to gnulib mktime.
32915 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32917         * configure.ac: Do not test for machine being rs6000.  Do not test
32918         for powerpc*-*soft.
32919         * configure: Regenerated.
32921         [BZ #11505]
32922         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32923         test.
32924         * configure: Regenerated.
32925         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32926         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32927         Remove configure test.
32928         * sysdeps/arm/configure: Regenerated.
32929         * sysdeps/nptl/configure.ac: Do not check
32930         libc_cv_asm_cfi_directives.
32931         * sysdeps/nptl/configure: Regenerated.
32932         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32933         * sysdeps/x86_64/nptl/configure: Remove generated file.
32934         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32935         unconditional.
32936         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32938 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32941         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32942         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32943         it is defined.
32945         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32946         instead of whether it is defined.
32947         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32948         * sysdeps/hppa/dl-machine.h: Likewise.
32949         * sysdeps/ia64/dl-machine.h: Likewise.
32950         * sysdeps/m68k/dl-machine.h: Likewise.
32951         * sysdeps/microblaze/dl-machine.h: Likewise.
32952         * sysdeps/mips/dl-machine.: Likewise.
32953         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32954         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32955         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32956         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32957         * sysdeps/sh/dl-machine.h: Likewise.
32958         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32959         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32960         * sysdeps/tile/dl-machine.h: Likewise.
32961         * sysdeps/x86_64/dl-machine.h: Likewise.
32963         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32964         code.
32965         (verify_persistent_db): Likewise.
32967 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32970         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32972         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32974         Moved ...
32975         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32976         ... here.
32977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32978         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32980         Identical file removed.
32981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32982         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32984         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32986         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32988         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32990         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32992         Moved ...
32993         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32995         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32997         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32999         Moved ...
33000         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33002         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33004         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33006         Identical file removed.
33007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33008         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33010         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33012         Moved ...
33013         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33014         ... here.
33015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33016         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33018         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33020         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33024         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33029         Moved ...
33030         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33037         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33039         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33040         folded into ...
33041         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33042         * sysdeps/unix/sysv/linux/s390/Versions
33043         (libpthread: GLIBC_2.19): New version set.
33044         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33045         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33046         (librt: GLIBC_2.3.3): New version set.
33047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33048         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33049         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33050         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33051         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33053         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33054         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33055         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33056         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33057         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33058         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33059         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33060         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33061         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33062         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33063         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33064         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33065         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33066         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33067         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33068         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33069         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33070         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33071         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33072         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33073         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33074         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33075         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33076         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33077         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33083         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33085         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33087         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33089         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33090         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33091         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33094         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33095         (__libc_vfork): Define the function under this name.
33096         [!NOT_IN_libc] (__vfork): Make this an alias.
33097         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33098         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33099         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33100         (__libc_vfork): Define the function under this name.
33101         [!NOT_IN_libc] (__vfork): Make this an alias.
33102         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33103         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33104         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33106         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33107         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33109         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33110         code that was previously under [RESET_PID].
33111         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33112         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33115         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33116         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33117         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33118         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33119         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33120         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33121         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33122         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33123         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33124         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33125         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33126         Moved ...
33127         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33128         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33129         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33130         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33131         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33132         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33133         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33134         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33135         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33136         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33137         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33139         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33140         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33141         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33142         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33143         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33144         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33145         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33146         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33147         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33148         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33149         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33150         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33151         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33152         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33153         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33155         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33157 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33159         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33160         that was previously under [RESET_PID].
33161         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33163 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33165         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33166         not undefine and redefine.
33167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33168         [O_CLOEXEC]: Make code unconditional.
33169         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33170         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33171         <kernel-features.h>.
33172         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33173         conditional variable definition.
33174         (shm_open) [O_CLOEXEC]: Make code unconditional.
33175         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33176         code.
33178         * configure.ac (USE_REGPARMS): Don't define here.
33179         * configure: Regenerated.
33180         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33181         * sysdeps/i386/configure: Regenerated.
33183         * nptl/createthread.c: Don't include kernel-features.h.
33184         * nptl/pthread_cancel.c: Likewise.
33185         * nptl/pthread_condattr_setclock.c: Likewise.
33186         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33187         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33188         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33189         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33190         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33191         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33192         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33195         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33196         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33197         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33198         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33199         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33200         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33201         * nscd/gai.c: Likewise.
33202         * nss/nss_db/db-open.c: Likewise.
33203         * sysdeps/generic/ldsodefs.h: Likewise.
33204         * sysdeps/sh/nptl/tls.h: Likewise.
33205         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33206         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33207         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33208         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33209         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33210         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33211         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33212         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33213         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33214         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33215         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33216         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33217         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33218         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33219         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33220         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33221         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33222         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33223         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33224         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33225         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33227         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33228         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33233         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33234         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33235         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33236         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33237         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33238         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33239         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33240         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33241         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33242         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33243         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33244         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33245         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33246         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33247         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33248         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33249         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33250         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33251         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33252         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33253         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33254         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33255         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33256         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33257         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33258         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33259         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33260         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33261         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33262         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33285         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33286         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33287         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33288         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33289         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33290         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33291         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33292         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33293         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33294         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33295         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33296         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33297         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33298         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33299         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33300         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33301         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33302         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33303         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33304         * sysdeps/unix/sysv/linux/system.c: Likewise.
33305         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33306         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33307         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33308         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33309         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33310         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33311         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33313         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33314         * configure: Regenerated.
33315         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33317         * configure.ac (base_machine): Do not set specially for particular
33318         machines here.
33319         * configure: Regenerated.
33320         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33321         settings from configure.ac.
33322         * sysdeps/i386/preconfigure: New file.
33323         * sysdeps/s390/preconfigure: Likewise.
33324         * sysdeps/sh/preconfigure: Likewise.
33325         * sysdeps/sparc/preconfigure: Likewise.
33327 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33329         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33330         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33331         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33332         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33333         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33334         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33335         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33336         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33337         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33338         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33339         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33340         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33341         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33343         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33344         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33346         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33347         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33349         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33350         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33351         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33352         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33353         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33354         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33355         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33356         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33357         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33358         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33359         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33360         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33361         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33362         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33363         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33364         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33365         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33366         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33367         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33368         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33369         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33370         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33372         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33374         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33376         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33378         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33379         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33380         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33381         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33382         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33384         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33385         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33386         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33389         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33391         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33393         Moved ...
33394         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33395         ... here.
33396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33397         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33399         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33401         Moved ...
33402         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33404         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33406         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33408         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33410         Moved ...
33411         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33413         Moved ...
33414         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33416         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33418         Moved ...
33419         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33421         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33423         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33425         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33427         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33429         Moved ...
33430         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33431         ... here.
33432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33433         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33435         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33437         Moved ...
33438         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33440         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33442         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33444         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33446         Moved ...
33447         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33449         Moved ...
33450         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33452         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33454         Moved ...
33455         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33457         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33459         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33461 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33463         * timezone/checktab.awk: Update from tzcode 2014e.
33464         * timezone/private.h: Likewise.
33465         * timezone/tzfile.h: Likewise.
33466         * timezone/zdump.c: Likewise.
33467         * timezone/zic.c: Likewise.
33469         * sysdeps/unix/sysv/linux/kernel-features.h
33470         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33472         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33473         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33474         Remove conditional code.
33476 2014-06-25  Will Newton  <will.newton@linaro.org>
33478         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33479         (_dl_arm_cap_flags): Add HWCAP2 values.
33480         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33481         (_DL_HWCAP_COUNT): Increase to 37.
33482         (_DL_HWCAP_LAST): New define.
33483         (_DL_HWCAP2_LAST): New define.
33484         (_dl_procinfo): Add support for printing
33485         AT_HWCAP2 entries.
33486         (_dl_string_hwcap): Use _dl_hwcap_string.
33488 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33492 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33494         * README: Do not mention ports directory.
33496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33497         Remove macro.
33498         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33499         <kernel-features.h>.
33500         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33501         conditional variable definition.
33502         (__futimes): Update comment.
33503         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33504         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33506         [BZ #16560]
33507         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33508         arguments close to 0.
33509         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33510         Likewise.
33511         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33512         Likewise.
33513         * math/auto-libm-test-in: Add more tests of exp10.
33514         * math/auto-libm-test-out: Regenerated.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33517         * sysdeps/unix/sysv/linux/kernel-features.h
33518         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33519         * sysdeps/unix/sysv/linux/readv.c: Do not include
33520         <kernel-features.h>.
33521         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33522         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33523         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33524         unconditional.
33525         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33526         conditional code.
33527         * sysdeps/unix/sysv/linux/writev.c: Do not include
33528         <kernel-features.h>.
33529         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33530         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33531         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33532         unconditional.
33533         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33534         conditional code.
33536 2014-06-25  Will Newton  <will.newton@linaro.org>
33538         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33539         comment changes throughout the file.  Remove checks
33540         for HAVE_*_H definitions that are not required.
33541         (__gen_tempname): Call abort if an unknown kind value is
33542         passed.
33544 2014-06-25  Andreas Schwab  <schwab@suse.de>
33546         [BZ #17086]
33547         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33548         scalbln, scalblnf, scalblnl in libc.
33550 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552         [BZ #17086]
33553         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33554         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33555         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33557 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33559         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33560         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33561         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33562         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33563         Update #include.
33564         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33565         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33566         Update #include.
33567         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33568         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33569         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33570         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33571         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33572         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33573         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33574         * sysdeps/x86/bits/semaphore.h: ... here.
33575         * sysdeps/x86/nptl/elide.h: Moved ...
33576         * sysdeps/x86/elide.h: ... here.
33577         * sysdeps/x86_64/nptl/Implies: File removed.
33578         * sysdeps/i386/nptl/Implies: File removed.
33580 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33582         [BZ #16539]
33583         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33584         return the argument for normal arguments with exponent below -64.
33585         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33586         Likewise.
33587         * math/auto-libm-test-in: Add another test of expm1.
33588         * math/auto-libm-test-out: Regenerated.
33590         [BZ #16287]
33591         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33592         calling __erfcl for arguments at least 16.
33593         * math/auto-libm-test-in: Add more tests of erf.
33594         * math/auto-libm-test-out: Regenerated.
33596         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33597         individual architectures.
33598         * sysdeps/unix/sysv/linux/configure: Regenerated.
33599         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33600         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33601         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33602         (ldd_rewrite_script): Define variable.
33603         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33605         file.
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33607         generated file.
33608         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33609         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33610         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33611         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33612         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33613         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33614         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33615         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33617 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33619         [BZ #17084]
33620         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33621         Rename member __data.d to __data.__elision_data.
33623 2014-06-24  Wilco  <wdijkstr@arm.com>
33625         * NEWS: Add 16918 to fixed bug list.
33627 2014-06-24  Wilco  <wdijkstr@arm.com>
33629         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33631 2014-06-24  Wilco  <wdijkstr@arm.com>
33633         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33634         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33635         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33636         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33637         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33638         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33639         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33640         Use _FPU_MASK_RM.
33642 2014-06-24  Wilco  <wdijkstr@arm.com>
33644         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33646 2014-06-24  Wilco  <wdijkstr@arm.com>
33648         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33649         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33650         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33651         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33653 2014-06-24  Wilco  <wdijkstr@arm.com>
33655         [BZ #16918]
33656         * sysdeps/arm/feupdateenv.c (feupdateenv):
33657         Rewrite to reduce FPSCR accesses and fix return value.
33659 2014-06-24  Wilco  <wdijkstr@arm.com>
33661         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33662         Optimize to avoid unnecessary FPSCR writes.
33663         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33664         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33665         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33666         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33668 2014-06-24  Wilco  <wdijkstr@arm.com>
33670         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33671         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33672         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33673         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33674         Call libc_fetestexcept_vfp.
33675         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33676         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33677         __SOFTFP__ ifdef so that they can be built for softfp.
33679 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33681         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33682         argument type signed char.
33684         * Makerules (check-abi): Dump diff of symlist if the test
33685         fails.
33687 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33689         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33690         using abort.
33692         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33693         Remove unused variable ST.
33695 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33697         [BZ #16354]
33698         [BZ #17061]
33699         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33700         small arguments before calling __expm1.
33701         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33702         small arguments before calling __expm1f.
33703         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33704         small arguments before calling __expm1l.
33705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33706         Likewise.
33707         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33708         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33709         spurious underflow for some cosh tests.
33710         * math/auto-libm-test-out: Regenerated.
33711         * sysdeps/i386/fpu/libm-test-ulps: Update.
33713         [BZ #17050]
33714         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33715         (__ieee754_y1): Set errno if return value overflows.
33716         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33717         (__ieee754_y1f): Set errno if return value overflows.
33718         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33719         (__ieee754_y1l): Set errno if return value overflows.
33720         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33721         (__ieee754_y1l): Set errno if return value overflows.
33722         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33723         * math/auto-libm-test-out: Regenerated.
33725         * math/gen-auto-libm-tests.c: Document use of
33726         ignore-zero-inf-sign.
33727         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33728         (input_flags): Add ignore-zero-inf-sign.
33729         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33730         * math/gen-libm-test.pl (generate_testfile): Handle
33731         ignore-zero-inf-sign.
33732         * math/auto-libm-test-in: Mark some cpow tests with
33733         ignore-zero-inf-sign and some with xfail-rounding.
33734         * math/auto-libm-test-out: Regenerated.
33735         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33736         * sysdeps/i386/fpu/libm-test-ulps: Update.
33737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33739         [BZ #16315]
33740         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33741         overflowing or underflowing operations take place with sign of
33742         result.
33743         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33744         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33745         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33746         (__ieee754_pow): Recompute overflowing and underflowing results in
33747         original rounding mode.
33748         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33749         (__powl_helper): Allow negative argument X and scale negated value
33750         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33752         overflowing or underflowing operations take place with sign of
33753         result.
33754         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33755         Include <math.h>.
33756         * math/auto-libm-test-in: Add more tests of pow.
33757         * math/auto-libm-test-out: Regenerated.
33758         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33759         (pow_tonearest_test_data): Remove.
33760         (pow_test_tonearest): Likewise.
33761         (pow_towardzero_test_data): Likewise.
33762         (pow_test_towardzero): Likewise.
33763         (pow_downward_test_data): Likewise.
33764         (pow_test_downward): Likewise.
33765         (pow_upward_test_data): Likewise.
33766         (pow_test_upward): Likewise.
33767         (main): Don't call removed functions.
33768         * sysdeps/i386/fpu/libm-test-ulps: Update.
33769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33771 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33774         Moved ...
33775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33777         Moved ...
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33780         Moved ...
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33783         Moved ...
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33786         File removed.
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33788         File removed.
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33790         File removed.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33792         File removed.
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33794         File removed.
33795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33796         File removed.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33798         File removed.
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33800         File removed.
33801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33802         File removed.
33803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33804         File removed.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33806         File removed.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33808         File removed.
33809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33810         Moved ...
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33815         ... here.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33817         Moved ...
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33820         Moved ...
33821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33823         Moved ...
33824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33826         Moved ...
33827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33829         Moved ...
33830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33832         Moved ...
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33835         Moved ...
33836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33839         ... here.
33840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33841         Moved ...
33842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33844         Moved ...
33845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33846         ... here.
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33848         Moved ...
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33850         ... here.
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33852         Moved ...
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33854         ... here.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33856         Moved ...
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33859         Moved ...
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33864         Moved ...
33865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33866         ... here.
33867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33868         Moved ...
33869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33870         ... here.
33871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33872         Moved ...
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33875         Moved ...
33876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33878         Moved ...
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33881         Moved ...
33882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33884         Moved ...
33885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33886         ... here.
33887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33888         Moved ...
33889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33891         Moved ...
33892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33894         Moved ...
33895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33902         Moved ...
33903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33905         Moved ...
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33908         Moved ...
33909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33910         ... here.
33911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33912         Moved ...
33913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33914         ... here.
33915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33916         Moved ...
33917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33918         ... here.
33919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33920         Moved ...
33921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33923         Moved ...
33924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33926         Moved ...
33927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33929         Moved ...
33930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33931         ... here.
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33935         ... here.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33939         ... here.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33941         Moved ...
33942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33944         Moved ...
33945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33947 2014-06-23  Will Newton  <will.newton@linaro.org>
33948             Wilco  <wdijkstr@arm.com>
33950         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33951         implementation.  Include get-rounding-mode.h.
33952         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33953         [!libc_feholdsetround_noex_ctx]: Define
33954         libc_feholdsetround_noex_ctx.
33955         [!libc_feholdsetround_noexf_ctx]: Define
33956         libc_feholdsetround_noexf_ctx.
33957         [!libc_feholdsetround_noexl_ctx]: Define
33958         libc_feholdsetround_noexl_ctx.
33959         (libc_feholdsetround_ctx): New function.
33960         (libc_feresetround_ctx): New function.
33961         (libc_feholdsetround_noex_ctx): New function.
33962         (libc_feresetround_noex_ctx): New function.
33964 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33966         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33967         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33968         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33969         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33970         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33971         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33973         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33974         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33975         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33976         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33977         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33978         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33980         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33982         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33984         Moved ...
33985         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33986         ... here.
33987         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33988         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33989         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33990         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33992         Moved ...
33993         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34001         Moved ...
34002         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34003         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34004         Moved ...
34005         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34009         Moved ...
34010         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34011         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34013         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34014         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34015         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34016         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34018         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34019         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34020         Moved ...
34021         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34022         ... here.
34023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34024         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34025         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34026         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34027         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34028         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34029         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34030         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34031         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34033         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34034         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34035         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34036         Moved ...
34037         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34038         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34039         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34040         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34041         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34043         Moved ...
34044         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34045         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34046         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34047         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34048         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34050         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34051         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34052         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34053         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34054         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34055         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34056         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34057         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34058         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34059         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34060         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34061         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34062         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34063         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34064         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34065         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34066         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34067         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34068         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34069         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34070         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34071         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34072         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34073         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34074         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34075         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34076         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34077         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34079 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34081         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34082         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34083         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34084         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34085         (IPV6_PMTUDISC_INTERFACE): Likewise.
34086         (IPV6_PMTUDISC_OMIT): Likewise.
34088 2014-06-23  Andreas Schwab  <schwab@suse.de>
34090         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34091         Remove unused errout label.
34093 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34095         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34096         macro: hardware supports Vector Crypto instructions.
34098 2014-06-23  Will Newton  <will.newton@linaro.org>
34100         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34101         rather than __builtin_expect.
34103         * elf/dl-lookup.c (undefined_msg): Remove variable.
34104         (_dl_lookup_symbol_x): Replace undefined_msg with string
34105         literal.
34107         * elf/dl-lookup.c (do_lookup_unique): New function.
34108         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34109         to a separate function.
34111 2014-06-23  Andreas Schwab  <schwab@suse.de>
34113         [BZ #17079]
34114         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34115         before reading the next line.
34117 2014-06-23  Will Newton  <will.newton@linaro.org>
34119         * test-skeleton.c (signal_handler): Use printf and %m
34120         rather than perror.  Use printf rather than fprintf to
34121         stderr.  Use puts rather than fputs to stderr.
34122         (main): Likewise.
34124 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34126         * nscd/nscd.c (thread_info_t): Remove typedef.
34127         (thread_info): Remove variable.
34129 2014-06-21  Allan McRae  <allan@archlinux.org>
34131         * NEWS: Mention CVE-2014-4043.
34133 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34135         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34136         * nptl/smp.h: ... here.
34138         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34140         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34141         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34142         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34143         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34145         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34146         * nptl/stack-aliasing.h: New file.
34147         * sysdeps/i386/i686/stack-aliasing.h: New file.
34148         * sysdeps/i386/i686/nptl/Makefile: File removed.
34149         * sysdeps/x86_64/stack-aliasing.h: New file.
34150         * sysdeps/x86_64/nptl/Makefile
34151         (CFLAGS-pthread_create.c): Variable removed.
34153         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34154         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34155         old file.
34156         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34157         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34158         old file.
34160 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34162         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34163         (__ASSUME_SIGFRAME_V2): Remove macro.
34164         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34165         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34166         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34167         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34168         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34169         Declare as function.  Remove conditional macro definitions.
34170         (__default_rt_sa_restorer): Likewise.
34171         (__default_sa_restorer_v1): Remove declaration.
34172         (__default_sa_restorer_v2): Likewise.
34173         (__default_rt_sa_restorer_v1): Likewise.
34174         (__default_rt_sa_restorer_v2): Likewise.
34175         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34176         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34177         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34179 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34181         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34182         (libpthread-routines): Add sysdep.
34183         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34184         * sysdeps/unix/sysv/linux/sparc/Versions
34185         (libpthread: GLIBC_2.3.3): New version set.
34186         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34187         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34188         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34189         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34190         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34191         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34192         Moved ...
34193         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34194         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34195         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34196         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34197         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34198         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34199         * sysdeps/sparc/nptl/sem_init.c: ... here.
34200         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34201         * sysdeps/sparc/nptl/sem_post.c: ... here.
34202         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34203         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34204         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34205         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34206         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34207         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34208         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34209         (libpthread-routines): Add cpu_relax.
34210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34211         File removed.
34212         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34213         (librt: GLIBC_2.3.3): New version set.
34214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34215         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34216         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34217         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34220         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34222         Moved ...
34223         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34225         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34227         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34229         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34231         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34233         Moved ...
34234         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34235         Update #include.
34236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34237         Moved ...
34238         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34239         Update #include.
34240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34241         Moved ...
34242         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34243         Update #include.
34244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34245         Moved ...
34246         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34247         Update #include.
34248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34249         Moved ...
34250         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34251         Update #include.
34252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34253         Moved ...
34254         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34255         Update #include.
34256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34257         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34263         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34265         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34267         Moved ...
34268         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34270         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34272         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34274 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34276         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34277         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34278         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34279         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34280         * nscd/nscd.c: Likewise.
34281         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34282         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34283         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34284         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34286         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34287         <kernel-features.h>.
34288         (init_mq_netlink): Remove conditional have_sock_cloexec
34289         definitions.  Remove code conditional on have_sock_cloexec < 0.
34290         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34291         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34292         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34293         <kernel-features.h>.
34294         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34295         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34297 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34300         Add tests for memset_chk and memset.
34302         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34303         with AVX2_Usable.
34305 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34307         [BZ #16046]
34308         * elf/tst-dl-iter-static.c: New file.
34309         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34311         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34312         error.
34314 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34316         * sysdeps/unix/sysv/linux/kernel-features.h
34317         (__ASSUME_F_GETOWN_EX): Remove macro.
34318         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34319         <kernel-features.h>.
34320         (miss_F_GETOWN_EX): Remove variable or macro.
34321         (do_fcntl): Do not check miss_F_GETOWN_EX.
34322         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34324         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34325         Remove macro.
34326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34327         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34328         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34330         * sysdeps/unix/sysv/linux/kernel-features.h
34331         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34332         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34333         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34334         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34336 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34338         [BZ #17075]
34339         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34340         Fix calculation of the symbol's value.
34341         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34342         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34343         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34344         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34345         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34346         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34347         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34348         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34349         (modules-names): Add `tst-armtlsdescmod',
34350         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34351         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34352         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34353         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34354         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34355         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34356         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34357         ($(objpfx)tst-armtlsdescloc): New dependency.
34358         ($(objpfx)tst-armtlsdescextnow): Likewise.
34359         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34360         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34361         TLS scheme support.
34362         * sysdeps/arm/configure: Regenerate.
34364 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34366         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34367         (__atfct_seterrno_2): Likewise.
34368         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34369         <kernel-features.h>.
34370         (__ASSUME_ATFCTS): Do not undefine and redefine.
34371         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34372         (__have_atfcts): Remove conditional definition.
34373         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34374         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34375         unreachable if [__ASSUME_ATFCTS].
34376         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34377         not undefine and redefine.
34378         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34379         <kernel-features.h>.
34380         (faccessat) [__NR_faccessat]: Make code unconditional.
34381         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34382         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34383         <kernel-features.h>.
34384         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34385         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34386         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34387         <kernel-features.h>.
34388         (fchownat) [__NR_fchownat]: Make code unconditional.
34389         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34390         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34391         <kernel-features.h>.
34392         (futimesat) [__NR_futimesat]: Make code unconditional.
34393         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34394         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34395         <kernel-features.h>.
34396         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34397         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34398         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34399         <kernel-features.h>.
34400         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34401         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34402         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34403         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34404         <kernel-features.h>.
34405         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34406         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34407         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34408         <kernel-features.h>.
34409         (linkat) [__NR_linkat]: Make code unconditional.
34410         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34411         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34412         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34413         <kernel-features.h>.
34414         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34415         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34416         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34417         <kernel-features.h>.
34418         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34419         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34420         * sysdeps/unix/sysv/linux/openat.c: Do not include
34421         <kernel-features.h>.
34422         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34423         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34424         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34425         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34426         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34427         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34428         <kernel-features.h>.
34429         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34430         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34431         result of INLINE_SYSCALL directly, not via int variable.
34432         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34433         <kernel-features.h>.
34434         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34435         (renameat) [__NR_renameat]: Make code unconditional.
34436         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34437         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34438         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34439         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34440         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34441         (__ASSUME_ATFCTS): Do not undefine and redefine.
34442         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34443         <kernel-features.h>.
34444         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34445         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34446         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34447         <kernel-features.h>.
34448         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34449         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34450         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34451         (__ASSUME_ATFCTS): Do not undefine and redefine.
34452         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34453         <kernel-features.h>.
34454         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34455         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34456         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34457         <kernel-features.h>.
34458         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34459         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34461 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34463         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34465 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34467         [BZ #17069]
34468         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34469         constructed tree before returning error.
34470         * posix/bug-regexp36.c: Expand test case.
34472 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34474         [BZ #6803]
34475         * math/libm-test.inc (scalbln_test_date):
34476         Add errno expectations.
34477         * math/w_scalblnf.c: New File.
34478         Add wrapper which checks for setting errno to ERANGE.
34479         Add weak_alias for corresponding scalbln function.
34480         * math/w_scalbln.c: Likewise.
34481         * math/w_scalblnl.c: Likewise.
34482         * math/Makefile (libm-calls): Add w_scalbln.
34483         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34484         Remove weak_alias for corresponding scalbln function.
34485         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34489         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34490         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34491         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34492         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34493         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34494         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34495         Remove long_double_symbol for scalblnl function in libm, libc.
34496         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34497         Add wrapper which checks for setting errno to ERANGE.
34498         Add long_double_symbol for scalblnl function in libm, libc.
34499         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34500         Remove long_double_symbol for scalblnl in libm.
34501         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34502         Add wrapper which checks for setting errno to ERANGE.
34503         Add long_double_symbol for scalblnl function in libm.
34504         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34505         Do not use wrapper because of own implementation.
34507 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34509         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34510         3 bytes for __pad1 for x32.
34511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34513 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34514             H.J. Lu  <hongjiu.lu@intel.com>
34516         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34517         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34518         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34519         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34520         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34522 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34524         [BZ #17069]
34525         * posix/regcomp.c (parse_expression): Deallocate partially
34526         constructed tree before returning error.
34527         * posix/Makefile.c (tests): Add bug-regex36.
34528         (generated): Add bug-regex36.mtrace.
34529         (tests-special): Add $(objpfx)bug-regex36-mem.out
34530         (bug-regex36-ENV): New variable.
34531         ($(objpfx)bug-regex36-mem.out): New rule.
34532         * posix/bug-regex36.c: New file.
34534 2014-06-19  Will Newton  <will.newton@linaro.org>
34536         * malloc/malloc.c (systrim): If extra is zero then return
34537         early.
34539 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34541         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34543 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34545         * sysdeps/aarch64/strchr.S: New file.
34547 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34549         [BZ #17022]
34550         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34551         from arguments -2 or below.
34552         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34553         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34555 2014-06-18  Andreas Schwab  <schwab@suse.de>
34557         [BZ #17062]
34558         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34559         of a bracket expr not to run off the end of the string.
34560         * posix/Makefile (tests): Add tst-fnmatch3.
34561         * posix/tst-fnmatch3.c: New file.
34563 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34565         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34566         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34567         [$(cross-compiling) = no]: Likewise.
34568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34569         [$(cross-compiling) = no]: Likewise.
34571 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34573         [BZ #17031]
34574         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34575         double, adjusted for any remainder from the high double.
34576         * math/libm-test.inc (nearbyint): Add tests.
34577         (rint): Likewise.
34579 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34581         * nptl/sysdeps/powerpc/Makefile: Moved ...
34582         * sysdeps/powerpc/nptl/Makefile: ... here.
34583         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34584         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34585         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34586         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34587         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34588         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34589         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34590         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34591         * nptl/sysdeps/powerpc/tls.h: Moved ...
34592         * sysdeps/powerpc/nptl/tls.h: ... here.
34594 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34596         [BZ #16681]
34597         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34598         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34599         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34600         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34601         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34602         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34603         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34604         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34605         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34607 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34609         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34611 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34613         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34614         defined operator.
34616         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34617         $TIMEOUTFACTOR.
34619 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34621         [BZ #17058]
34622         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34623         non-executed part of the test.
34625 2014-06-16  Andreas Schwab  <schwab@suse.de>
34627         * string/bits/string2.h (strdup, strndup): Update feature guard.
34629 2014-06-14  David S. Miller  <davem@davemloft.net>
34631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34633 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34635         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34636         that was previously under [RESET_PID].
34637         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34639         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34640         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34641         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34642         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34643         (__libc_vfork): New strong alias.
34644         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34646 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34648         * sysdeps/generic/elide.h: New file.
34650 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34652         * Makefile (installed-headers): Adjust path of pthread.h header.
34654 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34656         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34657         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34658         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34659         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34661         * nptl/sysdeps/s390/Makefile: Moved ...
34662         * sysdeps/s390/nptl/Makefile: ... here.
34663         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34664         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34665         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34666         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34667         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34668         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34669         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34670         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34671         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34672         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34673         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34674         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34675         * nptl/sysdeps/s390/tls.h: Moved ...
34676         * sysdeps/s390/nptl/tls.h: ... here.
34678         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34679         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34681 2014-06-13  David S. Miller  <davem@davemloft.net>
34683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34686         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34690         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34691         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34692         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34693         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34694         Remove RESET_PID cpp guards.
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34696         Remove RESET_PID cpp guards.
34697         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34699 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34701         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34702         __sp to uintptr_t.
34704 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34706         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34708         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34710         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34711         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34715         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34719         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34720         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34721         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34723         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34725         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34727         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34728         (pthread_rwlock_rdlock): Add elision.
34729         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34730         (pthread_rwlock_wrlock): Add elision.
34731         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34732         (pthread_rwlock_trywrlock): Add elision.
34733         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34734         (pthread_rwlock_tryrdlock): Add elision.
34735         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34736         (pthread_rwlock_tryrdlock): Add elision unlock.
34737         * nptl/sysdeps/pthread/pthread.h:
34738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34739         (PTHREAD_RWLOCK_INITIALIZER,
34740         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34741         Handle new elision field.
34742         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34743         * sysdeps/arm/nptl/bits/pthreadtypes.h
34744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34745         * sysdeps/sh/nptl/bits/pthreadtypes.h
34746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34747         * sysdeps/tile/nptl/bits/pthreadtypes.h
34748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34749         * sysdeps/a/nptl/bits/pthreadtypes.h
34750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34751         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34752         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34753         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34754         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34755         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34756         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34757         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34759         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34760         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34761         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34762         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34763         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34765         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34766         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34767         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34768         (elision_init): Set try_xbegin to zero when no RTM.
34769         * sysdeps/x86/nptl/bits/pthreadtypes.h
34770         (pthread_rwlock_t): Change __pad1 to __rwelision.
34771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34773 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34775         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34776         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34777         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34778         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34780 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34782         [BZ #16996]
34783         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34784         that the cached result has been set before returning it.
34786 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34788         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34789         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34790         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34791         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34792         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34793         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34795         * nptl/sysdeps/sparc/Makefile: Moved ...
34796         * sysdeps/sparc/nptl/Makefile: ... here.
34797         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34798         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34799         * nptl/sysdeps/sparc/tls.h: Moved ...
34800         * sysdeps/sparc/nptl/tls.h: ... here.
34801         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34802         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34803         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34804         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34805         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34806         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34807         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34808         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34809         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34810         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34811         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34812         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34813         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34814         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34815         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34816         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34817         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34818         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34819         Update #include.
34820         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34821         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34822         Update #include.
34823         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34824         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34825         Update #include.
34826         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34827         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34828         Update #include.
34830         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34832         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34833         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34835         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34836         (struct list_links): Type removed.
34837         (struct thread_node, struct timer_node): Replace struct list_links
34838         with struct list_head.
34839         (list_unlink_ip): Likewise.
34840         * sysdeps/pthread/timer_routines.c
34841         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34842         (list_append, list_insbefore): Likewise.
34843         (list_init): Function removed.
34844         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34845         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34846         * sysdeps/pthread/Makefile: ... here, new file.
34848         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34849         * sysdeps/nptl/Implies: ... here.
34850         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34851         * nptl/sysdeps/pthread/list.h: Moved ...
34852         * include/list.h: ... here.
34853         * nptl/sysdeps/pthread/createthread.c: Moved ...
34854         * nptl/createthread.c: ... here.
34855         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34856         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34857         * nptl/pt-longjmp.c: ... here.
34858         * nptl/sysdeps/pthread/Makefile: Moved ...
34859         * sysdeps/nptl/Makefile: ... here.
34860         * nptl/sysdeps/pthread/Subdirs: Moved ...
34861         * sysdeps/nptl/Subdirs: ... here.
34862         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34863         * sysdeps/nptl/aio_misc.h: ... here.
34864         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34865         * sysdeps/nptl/bits/libc-lock.h: ... here.
34866         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34867         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34868         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34869         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34870         * nptl/sysdeps/pthread/configure: Moved ...
34871         * sysdeps/nptl/configure: ... here.
34872         * nptl/sysdeps/pthread/configure.ac: Moved ...
34873         * sysdeps/nptl/configure.ac: ... here.
34874         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34875         * sysdeps/nptl/gai_misc.h: ... here.
34876         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34877         * sysdeps/nptl/librt-cancellation.c: ... here.
34878         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34879         * sysdeps/nptl/malloc-machine.h: ... here.
34880         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34881         * sysdeps/nptl/pthread-functions.h: ... here.
34882         * nptl/sysdeps/pthread/pthread.h: Moved ...
34883         * sysdeps/nptl/pthread.h: ... here.
34884         * nptl/sysdeps/pthread/setxid.h: Moved ...
34885         * sysdeps/nptl/setxid.h: ... here.
34886         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34887         * sysdeps/nptl/sigfillset.c: ... here.
34888         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34889         * sysdeps/nptl/tcb-offsets.h: ... here.
34890         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34891         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34892         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34893         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34894         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34895         * sysdeps/pthread/allocalim.h: ... here.
34896         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34897         * sysdeps/pthread/bits/sigthread.h: ... here.
34898         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34899         * sysdeps/pthread/flockfile.c: ... here.
34900         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34901         * sysdeps/pthread/ftrylockfile.c: ... here.
34902         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34903         * sysdeps/pthread/funlockfile.c: ... here.
34904         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34905         * sysdeps/pthread/posix-timer.h: ... here.
34906         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34907         * sysdeps/pthread/timer_create.c: ... here.
34908         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34909         * sysdeps/pthread/timer_delete.c: ... here.
34910         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34911         * sysdeps/pthread/timer_getoverr.c: ... here.
34912         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34913         * sysdeps/pthread/timer_gettime.c: ... here.
34914         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34915         * sysdeps/pthread/timer_routines.c: ... here.
34916         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34917         * sysdeps/pthread/timer_settime.c: ... here.
34918         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34919         * sysdeps/pthread/tst-timer.c: ... here.
34920         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34921         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34923         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34924         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34926         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34927         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34928         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34929         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34930         Update #include target.
34931         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34932         * sysdeps/i386/i686/nptl/Makefile: ... here.
34933         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34934         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34935         Update #include target.
34936         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34937         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34938         * nptl/sysdeps/i386/Makefile: Moved ...
34939         * sysdeps/i386/nptl/Makefile: ... here.
34940         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34941         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34942         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34943         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34944         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34945         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34946         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34947         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34948         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34949         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34950         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34951         * nptl/sysdeps/i386/tls.h: Moved ...
34952         * sysdeps/i386/nptl/tls.h: ... here.
34954         * sysdeps/sh/Makefile [$(subdir) = csu]
34955         (gen-as-const-headers): Add tcb-offsets.sym.
34956         * nptl/sysdeps/sh/Makefile: File removed.
34957         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34958         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34959         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34960         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34961         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34962         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34963         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34964         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34965         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34966         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34967         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34968         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34969         * nptl/sysdeps/sh/tls.h: Moved ...
34970         * sysdeps/sh/nptl/tls.h: ... here.
34971         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34972         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34973         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34974         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34975         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34976         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34977         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34978         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34979         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34980         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34982         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34983         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34984         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34985         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34986         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34987         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34988         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34989         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34990         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34991         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34992         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34993         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34994         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34995         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34996         Moved ...
34997         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34998         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34999         Moved ...
35000         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35001         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35002         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35003         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35004         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35005         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35006         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35007         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35008         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35009         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35010         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35011         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35012         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35013         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35014         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35015         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35016         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35017         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35018         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35020 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35022         * posix/spawn_faction_addopen.c: Include string.h.
35024 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35026         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35027         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35028         * nptl/sysdeps/x86_64/Makefile: Moved ...
35029         * sysdeps/x86_64/nptl/Makefile: ... here.
35030         * nptl/sysdeps/x86_64/configure: Moved ...
35031         * sysdeps/x86_64/nptl/configure: ... here.
35032         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35033         * sysdeps/x86_64/nptl/configure.ac: ... here.
35034         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35035         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35036         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35037         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35038         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35039         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35040         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35041         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35042         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35043         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35044         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35045         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35046         * nptl/sysdeps/x86_64/tls.h: Moved ...
35047         * sysdeps/x86_64/nptl/tls.h: ... here.
35048         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35049         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35050         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35051         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35053         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35055 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35059 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35061         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35062         type.
35063         [POSIX] (off_t): Likewise.
35064         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35065         [POSIX] (S_ISBLK): Require macro.
35066         [POSIX] (S_ISCHR): Likewise.
35067         [POSIX] (S_ISDIR): Likewise.
35068         [POSIX] (S_ISFIFO): Likewise.
35069         [POSIX] (S_ISREG): Likewise.
35070         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35071         optional-macro.
35072         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35073         type.
35074         [POSIX] (time_t): Likewise.
35075         [POSIX] (timer_t): Likewise.
35077 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35079         [BZ #17048]
35080         * posix/spawn_int.h (struct __spawn_action): Make the path string
35081         non-const to support deallocation.
35082         * posix/spawn_faction_addopen.c
35083         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35084         * posix/spawn_faction_destroy.c
35085         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35086         path in all spawn_do_open actions.
35087         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35088         posix_spawn_file_actions_addopen.
35090 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35092         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35093         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35094         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35095         conditional code always true.
35096         (__libc_vfork): New alias.
35098 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35100         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35101         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35103         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35105         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35106         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35108         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35109         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35111         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35112         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35114 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35116         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35117         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35118         multiarch strcmp for PPC64.
35119         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35120         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35122         multiarch optimizations.
35123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35124         (__libc_ifunc_impl_list): Likewise.
35126 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35128         * benchtests/scripts/validate_benchout.py: New script.
35129         * benchtests/Makefile (bench-func): Call it.
35130         * benchtests/scripts/benchout.schema.json: New file.
35132 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35134         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35135         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35136         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35137         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35138         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35139         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35140         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35141         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35142         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35143         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35144         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35146         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35147         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35148         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35149         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35151         Moved ...
35152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35153         ... here.
35154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35155         Moved ...
35156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35158         Moved ...
35159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35160         ... here.
35161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35162         Moved ...
35163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35164         ... here.
35165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35166         Moved ...
35167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35169         Moved ...
35170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35171         ... here.
35172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35173         Moved ...
35174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35175         ... here.
35176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35177         Moved ...
35178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35180         Moved ...
35181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35182         ... here.
35183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35184         Moved ...
35185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35186         ... here.
35187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35188         Moved ...
35189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35190         ... here.
35191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35192         Moved ...
35193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35195         Moved ...
35196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35197         ... here.
35198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35199         Moved ...
35200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35201         ... here.
35202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35203         Moved ...
35204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35205         ... here.
35206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35207         Moved ...
35208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35210         Moved ...
35211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35212         ... here.
35213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35214         Moved ...
35215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35216         ... here.
35217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35218         Moved ...
35219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35221         Moved ...
35222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35223         ... here.
35224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35225         Moved ...
35226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35231         Moved ...
35232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35233         ... here.
35234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35235         Moved ...
35236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35237         ... here.
35238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35239         Moved ...
35240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35241         ... here.
35242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35243         Moved ...
35244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35246         Moved ...
35247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35248         ... here.
35249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35250         Moved ...
35251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35252         ... here.
35253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35254         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35256         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35258         Moved ...
35259         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35260         ... here.
35261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35262         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35263         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35264         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35265         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35266         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35268         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35269         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35270         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35271         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35272         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35273         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35274         Moved ...
35275         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35276         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35277         Moved ...
35278         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35279         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35280         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35281         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35282         Moved ...
35283         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35284         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35285         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35286         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35287         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35288         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35289         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35291 2014-06-10  Wilco  <wdijkstr@arm.com>
35293         * math/test-fenv-return.c: New file.
35294         * math/Makefile: Add new test test-fenv-return.
35296 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35298         [BZ #17042]
35299         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35300         when x - 1 is zero.
35301         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35302         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35303         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35304         0.0L for an argument of 1.0L.
35305         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35306         Likewise.
35307         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35308         value when x - 1 is zero.
35309         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35310         * sysdeps/i386/fpu/libm-test-ulps: Update.
35311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35313 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35315         [BZ #15119]
35316         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35318 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35320         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35321         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35323 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35325         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35326         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35328         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35329         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35331         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35332         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35334         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35335         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35337         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35338         if not already defined.
35339         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35340         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35341         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35342         (TLS_INIT_TP): Use it.
35343         (TLS_DEFINE_INIT_TP): New macro.
35344         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35346 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35348         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35349         constant.
35350         [POSIX] (IXANY): Likewise.
35351         [POSIX] (OLCUC): Likewise.
35352         [POSIX || POSIX2008] (CBAUD): Do not allow.
35353         [POSIX || POSIX2008] (DEFECHO): Likewise.
35354         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35355         [POSIX || POSIX2008] (ECHOKE): Likewise.
35356         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35357         [POSIX || POSIX2008] (EXTA): Likewise.
35358         [POSIX || POSIX2008] (EXTB): Likewise.
35359         [POSIX || POSIX2008] (FLUSHO): Likewise.
35360         [POSIX || POSIX2008] (LOBLK): Likewise.
35361         [POSIX || POSIX2008] (PENDIN): Likewise.
35362         [POSIX || POSIX2008] (SWTCH): Likewise.
35363         [POSIX || POSIX2008] (VDISCARD): Likewise.
35364         [POSIX || POSIX2008] (VDSUSP): Likewise.
35365         [POSIX || POSIX2008] (VLNEXT): Likewise.
35366         [POSIX || POSIX2008] (VREPRINT): Likewise.
35367         [POSIX || POSIX2008] (VSTATUS): Likewise.
35368         [POSIX || POSIX2008] (VWERASE): Likewise.
35369         (B*): Change to B[0123456789]*.
35370         * conform/data/time.h-data [POSIX || UNIX98]
35371         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35372         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35373         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35374         [POSIX] (tm_*): Do not allow.
35376 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35378         * Makefile (install): Don't set LANGUAGE.
35379         * Makefile.in (install): Likewise.
35380         * assert/Makefile (test-assert-ENV): Remove variable.
35381         (test-assert-perr-ENV): Likewise.
35382         * elf/Makefile (neededtest4-ENV): Likewise.
35383         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35384         [$(cross-compiling) = no]: Don't set LANGUAGE.
35385         * io/ftwtest-sh (LANG): Remove variable.
35386         * libio/Makefile (tst-widetext-ENV): Likewise.
35387         * manual/install.texi (Running make install): Don't refer to
35388         environment settings for make install.
35389         * INSTALL: Regenerated.
35390         * nptl/tst-tls6.sh: Don't set LANG.
35391         * posix/globtest.sh (LANG): Remove variable.
35392         * string/Makefile (tester-ENV): Likewise.
35393         (inl-tester-ENV): Likewise.
35394         (noinl-tester-ENV): Likewise.
35395         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35396         [$(cross-compiling) = no]: Don't set LANGUAGE.
35397         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35398         without explicit environment settings.
35400 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35402         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35403         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35404         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35405         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35407 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35409         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35410         other files in the crypt directory.
35411         * crypt/crypt.c: Remove duplicate includes.
35412         * crypt/crypt-entry.c: Likewise.
35413         * crypt/crypt_util.c: Likewise.
35415 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35417         * Makeconfig (run-program-env): New variable.
35418         (run-program-prefix-before-env): Likewise.
35419         (run-program-prefix-after-env): Likewise.
35420         (run-program-prefix): Define in terms of new variables.
35421         (built-program-cmd-before-env): New variable.
35422         (built-program-cmd-after-env): Likewise.
35423         (built-program-cmd): Define in terms of new variables.
35424         (test-program-prefix-before-env): New variable.
35425         (test-program-prefix-after-env): Likewise.
35426         (test-program-prefix): Define in terms of new variables.
35427         (test-program-cmd-before-env): New variable.
35428         (test-program-cmd-after-env): Likewise.
35429         (test-program-cmd): Define in terms of new variables.
35430         * Rules (make-test-out): Use $(run-program-env).
35431         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35432         (help): Do not mention environment variables.  Mention
35433         --timeoutfactor option.
35434         (timeoutfactor): New variable.
35435         (blacklist_exports): Remove function.
35436         (exports): Remove variable.
35437         (command): Do not include ${exports}.
35438         * manual/install.texi (Configuring and compiling): Do not mention
35439         test wrappers preserving environment variables.  Mention that last
35440         assignment to a variable must take precedence.
35441         * INSTALL: Regenerated.
35442         * benchtests/Makefile (run-bench): Use $(run-program-env).
35443         * catgets/Makefile ($(objpfx)test1.cat): Use
35444         $(built-program-cmd-before-env), $(run-program-env) and
35445         $(built-program-cmd-after-env).
35446         ($(objpfx)test2.cat): Do not specify environment variables
35447         explicitly.
35448         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35449         $(run-program-env) and $(built-program-cmd-after-env).
35450         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35451         $(run-program-env) and $(test-program-cmd-after-env).
35452         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35453         explicitly.
35454         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35455         run_program_env and test_program_cmd_after_env arguments.
35456         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35457         * elf/tst-pathopt.sh: Use run_program_env argument.
35458         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35459         $(test-wrapper-env) and $(run-program-env).
35460         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35461         run_program_env arguments.
35462         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35463         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35464         $(test-program-prefix-before-env), $(run-program-env) and
35465         $(test-program-prefix-after-env).
35466         ($(objpfx)tst-gettext2.out): Likewise.
35467         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35468         run_program_env and test_program_prefix_after_env arguments.
35469         * intl/tst-gettext2.sh: Likewise.
35470         * intl/tst-gettext4.sh: Do not set environment variables
35471         explicitly.
35472         * intl/tst-gettext6.sh: Likewise.
35473         * intl/tst-translit.sh: Likewise.
35474         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35475         $(test-program-prefix-before-env), $(run-program-env) and
35476         $(test-program-prefix-after-env).
35477         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35478         run_program_env and test_program_prefix_after_env arguments.
35479         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35480         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35481         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35482         explicitly with each use of ${test_wrapper_env}.
35483         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35484         $(test-program-prefix-before-env), $(run-program-env) and
35485         $(test-program-prefix-after-env).
35486         * posix/tst-getconf.sh: Do not set environment variables
35487         explicitly.
35488         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35489         run_program_env and test_program_prefix_after_env arguments.
35490         * stdio-common/tst-printf.sh: Do not set environment variables
35491         explicitly.
35492         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35493         $(test-program-prefix-before-env), $(run-program-env) and
35494         $(test-program-prefix-after-env).
35495         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35496         run_program_env and test_program_prefix_after_env arguments.
35497         Split $test calls into $test_pre and $test.
35498         * timezone/Makefile (build-testdata): Use
35499         $(built-program-cmd-before-env), $(run-program-env) and
35500         $(built-program-cmd-after-env).
35502 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35504         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35505         strlen for non SHARED builds.
35507 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35509         * nptl/allocatestack.c (check_list): Inlined function...
35510         (__reclaim_stacks): ... here.
35512 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35514         [BZ #15698]
35515         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35516         memory overrun.
35518 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35520         * Rules (make-test-out): Include
35521         LOCPATH=$(common-objpfx)localedata in default environment.
35522         * debug/Makefile (tst-chk1-ENV): Remove variable.
35523         (tst-chk2-ENV): Likewise.
35524         (tst-chk3-ENV): Likewise.
35525         (tst-chk4-ENV): Likewise.
35526         (tst-chk5-ENV): Likewise.
35527         (tst-chk6-ENV): Likewise.
35528         (tst-lfschk1-ENV): Likewise.
35529         (tst-lfschk2-ENV): Likewise.
35530         (tst-lfschk3-ENV): Likewise.
35531         (tst-lfschk4-ENV): Likewise.
35532         (tst-lfschk5-ENV): Likewise.
35533         (tst-lfschk6-ENV): Likewise.
35534         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35535         (tst-iconv7-ENV): Likewise.
35536         * intl/Makefile (LOCPATH-ENV): Likewise.
35537         (tst-codeset-ENV): Likewise.
35538         (tst-gettext3-ENV): Likewise.
35539         (tst-gettext5-ENV): Likewise.
35540         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35541         (tst-fopenloc-ENV): Likewise.
35542         (tst-fgetws-ENV): Remove variable.
35543         (tst-ungetwc1-ENV): Likewise.
35544         (tst-ungetwc2-ENV): Likewise.
35545         (bug-ungetwc2-ENV): Likewise.
35546         (tst-swscanf-ENV): Likewise.
35547         (bug-ftell-ENV): Likewise.
35548         (tst-fgetwc-ENV): Likewise.
35549         (tst-fseek-ENV): Likewise.
35550         (tst-ftell-partial-wide-ENV): Likewise.
35551         (tst-ftell-active-handler-ENV): Likewise.
35552         (tst-ftell-append-ENV): Likewise.
35553         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35554         (tst-regexloc-ENV): Likewise.
35555         (bug-regex1-ENV): Likewise.
35556         (tst-regex-ENV): Likewise.
35557         (tst-regex2-ENV): Likewise.
35558         (bug-regex5-ENV): Likewise.
35559         (bug-regex6-ENV): Likewise.
35560         (bug-regex17-ENV): Likewise.
35561         (bug-regex18-ENV): Likewise.
35562         (bug-regex19-ENV): Likewise.
35563         (bug-regex20-ENV): Likewise.
35564         (bug-regex22-ENV): Likewise.
35565         (bug-regex23-ENV): Likewise.
35566         (bug-regex25-ENV): Likewise.
35567         (bug-regex26-ENV): Likewise.
35568         (bug-regex30-ENV): Likewise.
35569         (bug-regex32-ENV): Likewise.
35570         (bug-regex33-ENV): Likewise.
35571         (bug-regex34-ENV): Likewise.
35572         (bug-regex35-ENV): Likewise.
35573         (tst-rxspencer-ENV): Likewise.
35574         (tst-rxspencer-no-utf8-ENV): Likewise.
35575         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35576         (tst-sscanf-ENV): Likewise.
35577         (tst-swprintf-ENV): Likewise.
35578         (tst-swscanf-ENV): Likewise.
35579         (test-vfprintf-ENV): Likewise.
35580         (scanf13-ENV): Likewise.
35581         (bug14-ENV): Likewise.
35582         (tst-grouping-ENV): Likewise.
35583         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35584         (tst-strtod3-ENV): Likewise.
35585         (tst-strtod4-ENV): Likewise.
35586         (tst-strtod5-ENV): Likewise.
35587         (testmb2-ENV): Likewise./
35588         * string/Makefile (tst-strxfrm-ENV): Likewise.
35589         (tst-strxfrm2-ENV): Likewise.
35590         (bug-strcoll1-ENV): Likewise.
35591         (test-strcasecmp-ENV): Likewise.
35592         (test-strncasecmp-ENV): Likewise.
35593         * time/Makefile (tst-strptime-ENV): Likewise.
35594         (tst-ftime_l-ENV): Likewise.
35595         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35596         (tst-mbrtowc-ENV): Likewise.
35597         (tst-wcrtomb-ENV): Likewise.
35598         (tst-mbrtowc2-ENV): Likewise.
35599         (tst-c16c32-1-ENV): Likewise.
35600         (tst-mbsnrtowcs-ENV): Likewise.
35602 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35604         * manual/resource.texi (How to get information about the memory
35605         subsystem?): Fix typo.
35606         Reported by Peon de la Parra Ivan <peon@keba.com>
35608 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35610         [BZ #16882]
35611         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35612         (pthread_spin_lock): Branch out of spin loop to proper location.
35613         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35614         (pthread_spin_lock): Likewise.
35616         * nptl/tst-spin4.c: New test.
35617         * nptl/Makefile (tests): Add tst-spin4.
35619 2014-06-03  Andreas Schwab  <schwab@suse.de>
35621         [BZ #15946]
35622         * resolv/res_send.c (send_dg): Reload file descriptor after
35623         calling reopen.
35625 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35627         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35629 2014-06-03  Richard Henderson  <rth@redhat.com>
35631         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35632         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35633         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35634         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35635         in the SAVE_PID block.
35636         (__libc_vfork): New alias.
35637         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35639         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35640         child in registers, not on the stack.  Remove RESET_PID conditionals.
35641         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35643 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35645         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35647 2014-06-03  Wilco  <wdijkstr@arm.com>
35649         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35650         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35651         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35652         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35653         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35654         Likewise.
35656 2014-06-03  Wilco  <wdijkstr@arm.com>
35658         * sysdeps/aarch64/fpu/math_private.h
35659         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35660         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35661         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35662         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35663         Fix declarations.
35665 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35667         * crypt/crypt-private.h: Include ufc-crypt.h.
35668         (__b64_from_24bit): Declare extern.
35669         * crypt/crypt_util.c(__b64_from_24bit): New function.
35670         (b64t): New static const variable.
35671         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35672         (b64t): Remove variable.
35673         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35674         * crypt/sha256-crypt.c: Include crypt-private.h.
35675         (b64t): Remove variable.
35676         (__sha256_crypt_r): Remove b64_from_24bit and replace
35677         with __b64_from_24bit.
35678         * crypt/sha512-crypt.c: Likewise.
35680 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35682         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35683         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35684         Label the code __libc_vfork rather than __vfork.
35685         [!NOT_IN_libc] (vfork): Define as weak alias.
35686         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35687         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35688         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35690 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35692         * malloc/malloc.c (malloc_info): Fix format specifier for
35693         n_mmaps.
35695 2014-06-02  Wilco  <wdijkstr@arm.com>
35697         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35698         FPCR write.
35700 2014-06-02  Wilco  <wdijkstr@arm.com>
35702         [BZ #17009]
35703         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35704         Rewrite to reduce FPCR/FPSR accesses.
35706 2014-06-01  David S. Miller  <davem@davemloft.net>
35708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35710 2014-05-31  David S. Miller  <davem@davemloft.net>
35712         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35713         to occur in round to nearest mode when |x| >= 2.0
35715 2014-05-30  Richard Henderson  <rth@twiddle.net>
35717         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35718         (PSEUDO_RET_NOERRNO): Remove.
35719         (ret): Don't redefine.
35720         (ret_NOERRNO): Define in terms of ret.
35721         (ret_ERRVAL): Likewise.
35723         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35724         use of PSEUDO_RET; perform the error check directly.
35726 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35728         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35729         with __int128_t.
35731 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35733         * malloc/malloc (malloc_info): Fix formatting.
35735 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35736             Roland McGrath  <roland@hack.frob.com>
35738         * malloc/malloc (malloc_info): Also print mmapped statistics.
35740 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35742         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35743         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35745 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35747         * malloc/malloc.c (malloc_info): Inline mi_arena.
35749 2014-05-29  Richard Henderson  <rth@twiddle.net>
35751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35752         Remove comma before expanding ASM_ARGS_##nr.
35753         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35754         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35755         of ASM_ARGS_##nr.
35756         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35757         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35758         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35759         (ASM_ARGS_1): Add leading comma.
35761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35762         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35763         to __errno_location.
35764         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35765         Remove the expected plt for __errno_location.
35767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35768         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35769         call to __read_tp.
35771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35772         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35773         it and break it down.
35774         (DOCARGS_0, DOCARGS_1): Do nothing.
35775         (DOCARGS_2): Update to store into the new stack frame.
35776         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35777         (UNDOCARGS_1): Update to restore from the new stack frame.
35778         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35779         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35781         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35782         (SINGLE_THREAD_P): New parameter for result regno.
35783         (PSEUDO): Update to match; use cbz instead of beq.
35785         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35786         Use ENTRY to define the _nocancel entry point.  Share the syscall
35787         and syscall error check paths with the cancel path.
35788         (PSEUDO_END): New.
35790         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35791         whitespace; tabs before and after asm mnemonics.
35793 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35795         [BZ #15132]
35796         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35797         Call fstat64 or stat64 internally, depending on arguments passed.
35798         Replace stat buffer argument with file descriptor argument.
35799         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35800         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35801         Pass fd to __internal_statvfs instead of calling fstat64.
35802         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35803         Pass fd to __internal_statvfs64 instead of calling fstat64.
35804         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35805         Pass -1 to __internal_statvfs instead of calling stat64.
35806         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35807         Pass -1 to __internal_statvfs64 instead of calling stat64.
35809 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35811         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35812         that was previously under [RESET_PID].
35813         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35815         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35816         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35818 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35820         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35822         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35823         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35825 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35827         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35829 2014-05-27  Andreas Schwab  <schwab@suse.de>
35831         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35832         TLS_INIT_TP macro.
35833         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35834         * elf/rtld.c (init_tls, dl_main): Likewise.
35835         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35836         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35837         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35838         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35839         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35840         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35841         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35842         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35843         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35844         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35845         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35846         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35847         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35848         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35849         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35850         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35851         * sysdeps/generic/tls.h: Update description.
35853 2014-05-27  Will Newton  <will.newton@linaro.org>
35855         [BZ #16990]
35856         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35857         and restore r2 rather than just restoring.
35859 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35861         [BZ #16724]
35862         * libio/tst-ftell-append.c: New test case.
35863         * libio/Makefile (tests): Add test case.
35864         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35865         append mode.
35866         * libio/wfileops.c (do_ftell_wide): Likewise.
35868 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35872         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35873         ...
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35876         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35877         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35878         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35879         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35883         Moved ...
35884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35886         Moved ...
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35888         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35889         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35891         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35892         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35893         ...
35894         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35895         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35896         Moved ...
35897         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35898         here.
35899         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35900         ...
35901         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35902         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35903         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35906         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35907         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35908         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35911         merge into ...
35912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35914         ...
35915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35917         ...
35918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35920         Moved ...
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35922         here.
35923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35924         Moved ...
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35927         Moved ...
35928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35931         conditional [RESET_PID].
35932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35934         removed.
35935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35936         removed.
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35939         <tcb-offsets.h>.
35940         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35941         (__libc_vfork): New strong alias.
35942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35943         removed.
35944         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35945         Removed.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35948         <tcb-offsets.h>.
35949         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35950         (__libc_vfork): New strong alias.
35951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35952         removed.
35953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35954         removed.
35956 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35958         * malloc/malloc.c (mi_arena): New function.
35959         (malloc_info): Remove nested function mi_arena. Call non-nosted
35960         function mi_arena.
35962 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35964         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35965         by insrwi.
35966         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35967         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35968         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35969         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35970         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35971         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35972         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35974 2014-05-26  Andreas Schwab  <schwab@suse.de>
35976         [BZ #16984]
35977         * locale/programs/repertoire.c (repertoire_read): Add slash
35978         between I18NPATH element and file name.
35979         * locale/programs/locfile.c (locfile_read): Likewise.
35981 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35983         * nptl/pthread_mutexattr_settype.c
35984         (__pthread_mutexattr_settype):
35985         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35987 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35989         * nptl/tst-mutex5 (do_test):
35990         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35992 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35994         * benchtests/README: Document 'init' directive.
35995         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35996         BENCH_INIT.
35997         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35998         (parse_file): Recognize 'init' directive.
36000 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36002         [BZ #16796]
36003         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36004         alignment of struct pthread.
36006 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008         [BZ #16878]
36009         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36010         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36011         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36012         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36014 2014-05-25  Richard Henderson  <rth@twiddle.net>
36016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36017         (SINGLE_THREAD_P_PIC): Remove.
36018         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36019         (SINGLE_THREAD_P_PIC): Remove.
36021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36022         branch to syscall error ...
36023         (PSEUDO): ... here.
36024         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36025         from __local_syscall_error to .Lsyscall_error.
36026         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36027         (SYSCALL_ERROR): Update label name.
36029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36030         Do not use DOARGS/UNDOARGS.
36031         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36032         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36033         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36034         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36035         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36037         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36038         block comment.
36040         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36041         define if !NOT_IN_libc.
36042         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36043         define with non-default symbol versions.
36045 2014-05-23  Richard Henderson  <rth@twiddle.net>
36047         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36048         (vfork, __vfork): Define via compat_symbol.
36050         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36051         [!HAVE_IFUNC] (vfork_compat): Remove.
36052         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36054 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36056         [BZ #16978]
36057         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36058         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36059         variable.
36061 2014-05-23  Richard Henderson  <rth@twiddle.net>
36063         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36064         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36065         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36066         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36068         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36069         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36070         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36071         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36072         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36073         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36074         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36075         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36076         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36077         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36078         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36079         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36080         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36081         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36082         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36083         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36084         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36085         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36086         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36087         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36088         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36089         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36090         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36091         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36092         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36094         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36095         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36096         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36097         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36099         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36100         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36101         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36102         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36103         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36104         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36105         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36106         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36107         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36108         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36109         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36110         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36111         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36112         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36113         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36114         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36115         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36116         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36117         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36118         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36119         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36121         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36123         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36125         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36126         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36127         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36128         before exiting on error.
36129         (__libc_vfork): New strong alias.
36130         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36131         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36133         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36134         that was previously under [RESET_PID].
36135         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36137         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36139 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36141         [BZ #16977]
36142         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36143         value when x - 1 is zero.
36144         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36145         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36146         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36147         0.0L for an argument of 1.0L.
36148         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36149         Likewise.
36150         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36151         value when x - 1 is zero.
36152         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36153         * sysdeps/i386/fpu/libm-test-ulps: Update.
36154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36156 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36158         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36159         alphasort and versionsort.
36161 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36163         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36164         macro.
36165         [copysignf]: Likewise.
36167 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36169         * crypt/md5-crypt.c: Fix formatting.
36171 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36173         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36174         (b64_from_24bit): New function.
36176 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36178         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36179         libc_hidden_builtin_def to ifunc.
36180         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36181         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36183 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36185         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36186         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36188 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36190         * nscd/Depend (linuxthreads): Remove.
36191         (nptl): Add.
36192         * resolv/Depend (linuxthreads): Remove.
36193         * rt/Depend (linuxthreads): Remove.
36195         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36196         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36197         $(common-objpfx)elf/.
36198         (link-libc-before-gnulib): Likewise.
36199         (elfobjdir): Remove variable.
36200         * Makefile (install): Use $(elf-objpfx) instead of
36201         $(common-objpfx)elf/.
36202         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36203         $(elfobjdir)/.
36204         (link-libc-deps): Likewise.
36205         ($(common-objpfx)libc.so): Likewise.
36206         ($(common-objpfx)linkobj/libc.so): Likewise.
36207         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36208         instead of $(common-objpfx)elf/.
36209         (symbolic-link-list): Likewise.
36210         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36211         [$(cross-compiling) = no]: Likewise.
36212         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36213         $(elfobjdir)/.
36214         (static-gnulib-arch): Likewise.
36215         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36216         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36217         $(common-objpfx)elf/.
36219 2014-05-21  Richard Henderson  <rth@redhat.com>
36221         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36222         (SINGLE_THREAD_P): Use the correct width load.  Fold
36223         into the ldr offset.
36225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36226         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36228 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36230         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36231         (libgcc_s_resume): Use __attribute_used__.
36232         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36233         Likewise.
36235 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36237         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36238         optimization when used with float constants.
36240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36242 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36244         [BZ #16915]
36245         * locale/nl_langinfo_l.c: Make direct reference to every
36246         _nl_current_CATEGORY symbol.
36247         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36248         (tests-static): Add tst-langinfo-static.
36249         (tests-special): Add tst-langinfo-static.out.
36250         ($(objpfx)tst-langinfo.out): Redirect output.
36251         ($(objpfx)tst-langinfo-static.out): New.
36252         * localedata/tst-langinfo.sh: Send output to stdout.
36253         * localedata/tst-langinfo-static.c: New file.
36255         [BZ #16965]
36256         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36257         when the shift amount is modulo the limb size.
36259 2014-05-20  Richard Henderson  <rth@redhat.com>
36261         [BZ #16967]
36262         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36263         Change type of sa_flags from unsigned int to int.
36265         [BZ #16966]
36266         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36268         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36270 2014-05-20  Will Newton  <will.newton@linaro.org>
36272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36273         Test the return value of the system call in the nocancel case.
36275 2014-05-20  Will Newton  <will.newton@linaro.org>
36276             Yvan Roux  <yvan.roux@linaro.org>
36278         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36279         #include of asm/ptrace.h.
36280         (PTRACE_GET_THREAD_AREA): Remove #undef.
36281         (PTRACE_GETHBPREGS): Likewise.
36282         (PTRACE_SETHBPREGS): Likewise.
36283         (struct user_regs_struct): New structure.
36284         (struct user_fpsimd_struct): New structure.
36285         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36286         #include of asm/ptrace.h and second #include of sys/user.h.
36287         (PTRACE_GET_THREAD_AREA): Remove #undef.
36288         (PTRACE_GETHBPREGS): Likewise.
36289         (PTRACE_SETHBPREGS): Likewise.
36290         (ELF_NGREG): Use new struct user_regs_struct.
36291         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36293 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36296         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36298 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36300         [BZ #16958]
36301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36302         membar to avoid block loads/stores to overlap previous stores.
36304 2014-05-17  Richard Henderson  <rth@redhat.com>
36306         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36307         Create the __##syscall_name##_nocancel entry point.
36308         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36309         Remove; let the sysdep-cancel.h code create it.
36311 2014-05-17  David S. Miller  <davem@davemloft.net>
36313         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36314         Protect with __USE_GNU.
36315         (TIOCSET_TEMPT): Likewise.
36316         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36317         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36318         these are already provided in bits/ioctl-types.h
36320 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36322         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36323         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36325         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36326         Use wait4 regardless of [__NR_waitpid].
36328 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36330         PR libgcc/60166
36331         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36332         (_FP_NANSIGN_Q): Set the quiet bit.
36334 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36336         * benchtests/Makefile
36337         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36338         not $(common-objpfx)math/libm.so.
36339         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36340         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36341         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36342         $(common-objpfx)dlfcn/libdl.so.
36343         ($(objpfx)tst-audit8): Depend on $(libm), not
36344         $(common-objpfx)math/libm.so.
36345         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36346         not $(common-objpfx)dlfcn/libdl.so.
36347         * math/Makefile
36348         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36349         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36350         [$(build-shared) = yes].
36351         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36352         $(common-objpfx)nptl/libpthread.so.
36353         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36354         $(common-objpfx)math/libm.so$(libm.so-version) or
36355         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36356         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36357         $(common-objpfx)dlfcn/libdl.so.
36358         * setjmp/Makefile (link-libm): Remove variable.
36359         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36360         * stdio-common/Makefile (link-libm): Remove variable.
36361         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36362         * stdlib/Makefile (link-libm): Remove variable.
36363         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36364         ($(objpfx)tst-strtod-round): Likewise.
36365         ($(objpfx)tst-tininess): Likewise.
36366         ($(objpfx)tst-strtod-underflow): Likewise.
36367         ($(objpfx)tst-strtod6): Likewise.
36368         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36369         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36370         $(common-objpfx)dlfcn/libdl.so.
36372 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36374         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36375         BSD terminal modes definitions.
36377 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36379         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36380         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36382         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36383         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36384         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36385         Don't do #include_next.
36386         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36387         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36388         Don't do #include_next.
36389         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36390         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36391         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36392         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36394 2014-05-16  Allan McRae  <allan@archlinux.org>
36396         * po/sv.po: Update Swedish translation from translation project.
36398         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36399         in sed expression.
36401 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36403         [BZ #16917]
36404         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36405         errno if the TIOCGPTN ioctl fails with an error different than
36406         EINVAL.
36407         * login/tst-ptsname.c: New file.
36408         * login/Makefile (tests): Add tst-ptsname.
36410         [BZ #16943]
36411         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36412         and prlimit64.
36414 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36416         [BZ #16849]
36417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36418         herrno to return EAI_AGAIN.
36420 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36422         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36423         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36424         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36425         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36427         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36428         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36429         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36430         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36431         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36432         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36433         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36434         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36435         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36437         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36438         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36439         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36441         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36443         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36444         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36445         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36446         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36447         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36448         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36449         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36450         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36451         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36453         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36455         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36457         Moved ...
36458         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36460         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36462         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36464         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36466         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36468         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36470         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36472         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36474         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36476         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36478         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36480         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36482         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36484         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36486         Moved ...
36487         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36489         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36491         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36493         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36495         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36497         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36499         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36501         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36503         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36505         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36507         Moved ...
36508         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36510         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36512         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36513         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36514         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36515         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36516         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36517         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36518         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36519         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36520         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36521         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36522         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36524         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36525         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36526         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36527         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36528         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36529         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36530         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36531         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36532         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36533         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36534         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36535         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36536         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36537         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36538         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36539         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36540         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36541         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36542         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36544         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36545         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36547         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36548         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36549         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36550         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36551         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36552         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36555         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36556         Moved ...
36557         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36558         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36559         Moved ...
36560         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36561         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36562         Moved ...
36563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36564         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36565         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36567         Moved ...
36568         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36569         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36570         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36571         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36572         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36573         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36574         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36575         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36576         Moved ...
36577         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36578         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36579         Moved ...
36580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36581         ... here.
36582         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36583         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36584         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36585         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36586         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36587         Moved ...
36588         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36589         ... here.
36590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36591         Moved ...
36592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36593         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36594         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36595         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36596         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36597         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36598         Moved ...
36599         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36600         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36601         Moved ...
36602         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36603         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36604         Moved ...
36605         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36606         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36607         Moved ...
36608         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36609         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36610         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36612         Moved ...
36613         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36614         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36615         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36617         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36618         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36619         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36620         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36621         Moved ...
36622         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36623         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36624         Moved ...
36625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36626         ... here.
36627         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36628         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36629         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36630         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36631         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36632         Moved ...
36633         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36634         ... here.
36635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36636         Moved ...
36637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36638         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36639         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36640         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36641         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36642         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36643         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36645         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36646         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36647         Moved ...
36648         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36650         Moved ...
36651         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36652         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36653         Moved ...
36654         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36655         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36656         Moved ...
36657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36658         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36659         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36660         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36661         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36663         Moved ...
36664         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36665         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36666         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36667         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36669         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36670         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36671         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36672         Moved ...
36673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36674         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36675         Moved ...
36676         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36677         ... here.
36678         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36679         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36680         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36681         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36682         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36683         Moved ...
36684         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36685         ... here.
36686         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36687         Moved ...
36688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36689         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36690         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36691         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36692         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36693         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36694         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36695         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36696         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36697         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36698         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36700         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36701         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36703         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36704         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36706         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36707         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36708         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36709         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36710         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36711         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36712         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36713         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36714         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36715         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36717         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36718         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36719         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36720         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36722         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36724         Moved ...
36725         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36726         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36727         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36728         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36729         Moved ...
36730         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36731         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36732         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36733         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36734         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36736         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36737         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36738         Moved ...
36739         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36741         Moved ...
36742         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36743         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36744         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36745         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36746         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36748         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36749         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36750         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36751         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36752         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36753         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36754         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36755         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36756         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36757         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36758         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36760         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36761         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36762         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36763         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36764         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36766         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36767         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36768         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36769         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36770         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36771         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36772         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36773         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36774         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36775         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36780         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36781         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36782         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36783         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36784         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36785         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36786         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36787         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36788         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36789         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36790         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36791         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36792         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36793         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36795         Update #include.
36796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36797         Likewise.
36798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36799         Likewise.
36800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36801         Likewise.
36802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36803         Likewise.
36804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36805         Likewise.
36806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36807         Likewise.
36808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36809         Likewise.
36810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36811         Likewise.
36812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36813         Likewise.
36814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36816         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36819         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36820         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36821         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36822         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36823         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36824         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36828         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36830         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36831         that was previously under [RESET_PID].
36832         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36833         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36834         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36836         * sysdeps/i386/nptl/Implies: New file.
36837         * sysdeps/x86_64/nptl/Implies: New file.
36838         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36839         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36840         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36841         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36843         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36844         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36845         (__libc_vfork): New strong alias.
36846         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36847         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36849         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36850         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36851         (__libc_vfork): New strong alias.
36852         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36853         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36855         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36856         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36857         (__libc_vfork): New strong alias.
36858         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36859         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36860         * nptl/pt-vfork.c: New file.
36861         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36862         (libpthread: GLIBC_2.20): New version set (empty).
36864 2014-05-14  Will Newton  <will.newton@linaro.org>
36866         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36867         rather than #if.
36869 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36871         [BZ #16564]
36872         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36873         arguments with exponent 65 or above.
36874         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36875         arguments 0x1p113L or above.
36876         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36877         to arguments 0x1p107L or above.
36878         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36879         positive arguments with exponent 65 or above.
36880         * math/auto-libm-test-in: Add more tests of log1p.
36881         * math/auto-libm-test-out: Regenerated.
36883         [BZ #16928]
36884         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36885         non-finite arguments is +0.
36886         * math/s_cacosf.c (__cacosf): Likewise.
36887         * math/s_cacosl.c (__cacosl): Likewise.
36888         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36889         * sysdeps/i386/fpu/libm-test-ulps: Update.
36890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36892         [BZ #16927]
36893         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36894         value.
36895         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36896         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36897         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36898         for explicit high bit of mantissa when testing for argument equal
36899         to 1.
36900         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36901         * sysdeps/i386/fpu/libm-test-ulps: Update.
36902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36904         [BZ #16516]
36905         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36906         (__erf): Scale by 16 instead of 8 in potentially underflowing
36907         case.  Ensure exception if result actually underflows.
36908         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36909         (__erff): Scale by 16 instead of 8 in potentially underflowing
36910         case.  Ensure exception if result actually underflows.
36911         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36912         (efx8): Remove variable.
36913         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36914         case.  Ensure exception if result actually underflows.
36915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36916         (efx8): Remove variable.
36917         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36918         case.  Ensure exception if result actually underflows.
36919         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36920         (efx8): Remove variable.
36921         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36922         case.  Ensure exception if result actually underflows.
36923         * math/auto-libm-test-in: Add more tests of erf.
36924         * math/auto-libm-test-out: Regenerated.
36926 2014-05-14  Andreas Schwab  <schwab@suse.de>
36928         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36929         Remove code conditionalized on USE___THREAD.
36931         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36932         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36933         not definedness.
36935 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36938         Define unconditionally.
36939         (__ASSUME_O_CLOEXEC): Likewise.
36940         (__ASSUME_SOCK_CLOEXEC): Likewise.
36941         (__ASSUME_IN_NONBLOCK): Likewise.
36942         (__ASSUME_PIPE2): Likewise.
36943         (__ASSUME_EVENTFD2): Likewise.
36944         (__ASSUME_SIGNALFD4): Likewise.
36945         (__ASSUME_DUP3): Likewise.
36946         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36947         (__ASSUME_DUP3): Do not define.
36948         (__ASSUME_EVENTFD2): Likewise.
36949         (__ASSUME_IN_NONBLOCK): Likewise.
36950         (__ASSUME_O_CLOEXEC): Likewise.
36951         (__ASSUME_PIPE2): Likewise.
36952         (__ASSUME_SIGNALFD4): Likewise.
36953         (__ASSUME_SOCK_CLOEXEC): Likewise.
36954         (__ASSUME_UTIMES): Undefine.
36955         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36956         (__ASSUME_UTIMES): Do not define.
36957         (__ASSUME_O_CLOEXEC): Likewise.
36958         (__ASSUME_SOCK_CLOEXEC): Likewise.
36959         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36960         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36961         0x020621].
36962         (__ASSUME_PIPE2): Likewise.
36963         (__ASSUME_EVENTFD2): Likewise.
36964         (__ASSUME_SIGNALFD4): Likewise.
36965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36966         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36967         Do not define.
36968         (__ASSUME_EVENTFD2): Likewise.
36969         (__ASSUME_SIGNALFD4): Likewise.
36970         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36971         (__ASSUME_32BITUIDS): Likewise.
36972         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36973         (__ASSUME_IPC64): Likewise.
36974         (__ASSUME_ST_INO_64_BIT): Likewise.
36975         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36976         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36977         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36978         (__ASSUME_UTIMES): Do not define.
36979         (__ASSUME_PSELECT): Likewise.
36980         (__ASSUME_PPOLL): Likewise.
36981         (__ASSUME_O_CLOEXEC): Likewise.
36982         (__ASSUME_SOCK_CLOEXEC): Likewise.
36983         (__ASSUME_IN_NONBLOCK): Likewise.
36984         (__ASSUME_PIPE2): Likewise.
36985         (__ASSUME_EVENTFD2): Likewise.
36986         (__ASSUME_SIGNALFD4): Likewise.
36987         (__ASSUME_DUP3): Likewise.
36988         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36989         (__ASSUME_UTIMES): Likewise.
36990         (__ASSUME_O_CLOEXEC): Likewise.
36991         (__ASSUME_SOCK_CLOEXEC): Likewise.
36992         (__ASSUME_IN_NONBLOCK): Likewise.
36993         (__ASSUME_PIPE2): Likewise.
36994         (__ASSUME_EVENTFD2): Likewise.
36995         (__ASSUME_SIGNALFD4): Likewise.
36996         (__ASSUME_DUP3): Likewise.
36997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36998         (__ASSUME_UTIMES): Likewise.
36999         (__ASSUME_O_CLOEXEC): Likewise.
37000         (__ASSUME_SOCK_CLOEXEC): Likewise.
37001         (__ASSUME_IN_NONBLOCK): Likewise.
37002         (__ASSUME_PIPE2): Likewise.
37003         (__ASSUME_EVENTFD2): Likewise.
37004         (__ASSUME_SIGNALFD4): Likewise.
37005         (__ASSUME_DUP3): Likewise.
37006         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37007         Likewise.
37008         (__ASSUME_UTIMES): Likewise.
37009         (__ASSUME_EVENTFD2): Likewise.
37010         (__ASSUME_SIGNALFD4): Likewise.
37011         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37012         (__ASSUME_O_CLOEXEC): Likewise.
37013         (__ASSUME_SOCK_CLOEXEC): Likewise.
37014         (__ASSUME_IN_NONBLOCK): Likewise.
37015         (__ASSUME_PIPE2): Likewise.
37016         (__ASSUME_EVENTFD2): Likewise.
37017         (__ASSUME_SIGNALFD4): Likewise.
37018         (__ASSUME_DUP3): Likewise.
37019         (__ASSUME_UTIMES): Undefine.
37021         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37022         feclearexcept.  Remove symbol versioning code.
37023         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37024         symbol versioning code.
37025         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37026         symbol versioning code.
37027         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37028         feupdateenv.  Remove symbol versioning code.
37029         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37030         fegetexceptflag.  Remove symbol versioning code.
37031         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37032         fesetexceptflag.  Remove symbol versioning code.
37033         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37034         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37035         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37036         (__posix_fadvise64_l32): Remove prototype.
37037         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37038         code.
37040 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37042         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37043         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37044         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37045         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37047 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37049         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37050         current working directory
37052 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37054         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37055         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37056         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37057         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37058         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37059         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37060         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37061         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37062         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37063         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37064         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37065         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37066         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37067         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37068         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37069         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37070         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37071         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37072         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37073         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37074         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37075         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37076         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37077         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37078         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37079         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37080         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37081         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37082         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37083         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37084         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37085         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37086         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37087         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37088         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37089         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37090         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37091         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37092         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37093         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37094         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37095         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37097         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37098         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37100         * sysdeps/unix/sysv/linux/arm/Makefile
37101         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37102         Add rt-aeabi_unwind_cpp_pr1.
37103         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37104         Add nptl-aeabi_unwind_cpp_pr1.
37105         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37106         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37107         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37108         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37109         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37110         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37112         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37113         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37114         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37115         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37117         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37118         Deconditionalize the code that was previously under [RESET_PID].
37119         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37121         * sysdeps/generic/exit-thread.h: New file.
37122         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37123         * include/unistd.h (__exit_thread): Remove declaration.
37124         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37125         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37126         * csu/libc-start.c: Include <exit-thread.h>.
37127         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37128         * nptl/pthread_create.c: Include <exit-thread.h>.
37129         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37130         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37131         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37132         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37133         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37134         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37135         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37136         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37137         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37138         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37139         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37140         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37141         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37142         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37143         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37144         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37145         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37147 2014-05-13  Andreas Schwab  <schwab@suse.de>
37149         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37151 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37153         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37154         (__ASSUME_UTIMES): Do not condition on kernel version.
37155         (__ASSUME_PSELECT): Define unconditionally.
37156         (__ASSUME_PPOLL): Likewise.
37157         (__ASSUME_ATFCTS): Likewise.
37158         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37159         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37160         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37161         (__ASSUME_UTIMENSAT): Define unconditionally.
37162         (__ASSUME_PRIVATE_FUTEX): Likewise.
37163         (__ASSUME_FALLOCATE): Likewise.
37164         (__ASSUME_O_CLOEXEC): Likewise.
37165         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37166         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37167         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37168         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37169         (__ASSUME_IN_NONBLOCK): Likewise.
37170         (__ASSUME_PIPE2): Likewise.
37171         (__ASSUME_EVENTFD2): Likewise.
37172         (__ASSUME_SIGNALFD4): Likewise.
37173         (__ASSUME_DUP3): Likewise.
37174         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37175         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37176         (__ASSUME_AT_RANDOM): Likewise.
37177         (__ASSUME_PREADV): Likewise.
37178         (__ASSUME_PWRITEV): Likewise.
37179         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37180         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37181         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37182         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37183         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37184         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37185         (__ASSUME_O_CLOEXEC): Define unconditionally.
37186         (__ASSUME_PSELECT): Do not undefine conditionally.
37187         (__ASSUME_PPOLL): Likewise.
37188         (__ASSUME_ATFCTS): Likewise.
37189         (__ASSUME_SET_ROBUST_LIST): Likewise.
37190         (__ASSUME_UTIMENSAT): Likewise.
37191         (__ASSUME_FDATASYNC): Define unconditionally.
37192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37193         (__ASSUME_SIGFRAME_V2): Likewise.
37194         )__ASSUME_EVENTFD2): Likewise.
37195         (__ASSUME_SIGNALFD4): Likewise.
37196         (__ASSUME_PSELECT): Do not undefine conditionally.
37197         (__ASSUME_PPOLL): Likewise.
37198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37199         (__ASSUME_PSELECT): Define unconditionally.
37200         (__ASSUME_PPOLL): Likewise.
37201         (__ASSUME_O_CLOEXEC): Likewise.
37202         (__ASSUME_SOCK_CLOEXEC): Likewise.
37203         (__ASSUME_IN_NONBLOCK): Likewise.
37204         (__ASSUME_PIPE2): Likewise.
37205         (__ASSUME_EVENTFD2): Likewise.
37206         (__ASSUME_SIGNALFD4): Likewise.
37207         (__ASSUME_DUP3): Likewise.
37208         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37209         (__ASSUME_O_CLOEXEC): Likewise.
37210         (__ASSUME_SOCK_CLOEXEC): Likewise.
37211         (__ASSUME_IN_NONBLOCK): Likewise.
37212         (__ASSUME_PIPE2): Likewise.
37213         (__ASSUME_EVENTFD2): Likewise.
37214         (__ASSUME_SIGNALFD4): Likewise.
37215         (__ASSUME_DUP3): Likewise.
37216         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37217         (__ASSUME_EVENTFD2): Likewise.
37218         (__ASSUME_SIGNALFD4): Likewise.
37219         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37221 2014-05-12  Andreas Schwab  <schwab@suse.de>
37223         [BZ #16932]
37224         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37225         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37226         than maximum RPC packet size.
37227         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37228         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37229         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37230         (_nss_nis_getservbyport_r): Likewise.
37232 2014-05-12  Will Newton  <will.newton@linaro.org>
37234         * malloc/Makefile (tests): Add tst-mallopt.
37235         * malloc/tst-mallopt.c: New file.
37237 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37239         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37240         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37242 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37245         (tst-tlsmod6.so): Likewise.
37247 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37249         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37251 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37253         [BZ #16064]
37254         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37255         and <dl-procinfo.h>.
37256         (__fegetenv): Save SSE state in envp->__eip if supported.
37257         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37258         envp->__eip if supported.
37259         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37260         and <dl-procinfo.h>.
37261         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37262         __data_offset and __data_selector in environment to 0.  Set SSE
37263         state if supported.
37264         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37265         test-fenv-sse.
37266         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37267         -mfpmath=sse.
37268         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37270 2014-05-09  Will Newton  <will.newton@linaro.org>
37272         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37273         and libc_relro_required for ARM.
37274         * sysdeps/arm/preconfigure: Regenerate.
37276 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37277             Stefan Liebler  <stli@linux.vnet.ibm.com>
37279         * config.make.in (enable-lock-elision): New Makefile variable.
37280         * configure.ac: Likewise.
37281         * configure: Regenerate.
37282         * sysdeps/s390/configure.ac:
37283         Add check for gcc transactions support.
37284         * sysdeps/s390/configure: Regenerate.
37285         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37286         Build elision files if enabled.
37287         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37288         Add lock elision support for s390.
37289         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37290         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37291         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37292         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37293         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37294         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37295         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37296         Likewise.
37297         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37298         Likewise.
37299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37300         Likewise.
37301         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37302         Likewise.
37303         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37304         (__lll_timedlock_elision, __lll_lock_elision)
37305         (__lll_unlock_elision, __lll_trylock_elision)
37306         (lll_timedlock_elision, lll_lock_elision)
37307         (lll_unlock_elision, lll_trylock_elision): Add.
37308         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37309         (pthread_mutex_t): Add lock elision support for s390.
37311 2014-05-14  Wilco  <wdijkstr@arm.com>
37313         * sysdeps/arm/fclrexcpt.c: Cleanup.
37314         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37315         * sysdeps/arm/feenablxcpt.c: Cleanup.
37316         * sysdeps/arm/fegetenv.c: Cleanup.
37317         * sysdeps/arm/fegetexcept.c: Cleanup.
37318         * sysdeps/arm/fegetround.c: Cleanup.
37319         * sysdeps/arm/feholdexcpt.c: Cleanup.
37320         * sysdeps/arm/fesetenv.c: Cleanup.
37321         * sysdeps/arm/fesetround.c: Cleanup.
37322         * sysdeps/arm/feupdateenv.c: Cleanup.
37323         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37324         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37325         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37326         * sysdeps/arm/ftestexcept.c: Cleanup.
37327         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37328         * sysdeps/arm/setfpucw.c: Cleanup.
37330 2014-05-09  Will Newton  <will.newton@linaro.org>
37332         * sysdeps/arm/armv7/strcmp.S: New file.
37333         * NEWS: Mention addition of ARMv7 optimized strcmp.
37335 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37337         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37338         look for %.ac rather than %.in.
37340         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37341         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37342         * sysdeps/mach/hurd/configure: Regenerated.
37343         * sysdeps/unix/sysv/linux/configure: Regenerated.
37345         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37347 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37349         [BZ# 16922]
37350         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37351         (LONG_SUB): Ditto.
37352         (PTR_SUB): Ditto.
37354 2014-05-07  Andreas Schwab  <schwab@suse.de>
37356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37357         when skipping over non-matching result from nscd.
37359 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37361         [BZ #16876]
37362         * nptl/sockperf.c (client): Check socket return value.
37364         [BZ #16877]
37365         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37366         nscd security class.
37368 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37370         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37371         * sysdeps/arm/unwind.h: ... here.
37373 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37375         [BZ# 16916]
37376         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37377         Define.
37379 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37381         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37382         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37383         multiarch strncpy for PPC64.
37384         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37385         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37387         multiarch optimizations.
37388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37389         (__libc_ifunc_impl_list): Likewise.
37390         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37391         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37392         multiarch stpncpy for PPC64.
37393         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37394         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37396 2014-05-06  Andreas Schwab  <schwab@suse.de>
37398         [BZ #16912]
37399         * gmon/mcount.c (_MCOUNT_DECL): Use
37400         atomic_compare_and_exchange_bool_acq instead of
37401         catomic_compare_and_exchange_bool_acq.
37403 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37405         * elf/Makefile (others, install-bin): Remove pldd.
37406         (pldd-modules): Variable removed.
37407         ($(objpfx)pldd): Target removed.
37408         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37409         (others, install-bin): Append pldd here.
37410         ($(objpfx)pldd): New target.
37412         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37413         to 0, so the first #if test emitted later doesn't see it undefined.
37414         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37415         * sysdeps/gnu/errlist.c: Regenerated.
37417 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37419         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37420         [libc_hidden_builtin_def]: Define to empty value.
37421         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37422         [libc_hidden_builtin_def]: Likewise.
37423         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37424         [libc_hidden_builtin_def]: Likewise.
37425         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37426         [libc_hidden_builtin_def]: Likewise.
37427         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37428         __redirect_memcpy and define ifunc as default hidden symbol.
37429         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37430         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37432 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37434         * locale/iso-4217.def: Reintroduce XDR currency.
37436 2014-05-04  Allan McRae  <allan@archlinux.org>
37438         * po/eo.po: Update Esperanto translation from translation project.
37440 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37442         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37443         and FEATURE_INDEX_MAX to 1.
37444         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37446 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37448         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37449         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37450         * iconvdata/big5.c (ONE_DIRECTION): Define.
37451         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37452         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37453         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37454         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37455         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37456         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37457         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37458         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37459         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37460         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37461         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37462         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37463         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37464         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37465         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37466         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37467         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37468         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37469         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37470         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37471         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37472         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37473         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37474         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37475         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37476         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37477         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37478         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37479         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37480         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37481         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37482         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37483         * iconvdata/johab.c (ONE_DIRECTION): Define.
37484         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37485         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37486         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37487         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37488         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37489         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37490         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37491         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37492         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37493         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37495 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37497         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37498         (_IO_JUMPS_OFFSET): Define to 0.
37500         * nptl/sysdeps/pthread/bits/libc-lock.h
37501         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37502         (__libc_lock_define_initialized_recursive): Always define using
37503         initializer.  Modern compilers treat uninitialized (implicit zero) and
37504         explicit zero initializers the same (i.e. put the datum in bss).
37506 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37508         * nscd/nscd-client.h: Include <string.h>.
37510 2014-05-01  David S. Miller  <davem@davemloft.net>
37512         [BZ #16885]
37513         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37514         multiple zero bytes exist at the end of a string.
37515         Reported by Aurelien Jarno <aurelien@aurel32.net>
37517         * string/test-strcmp.c (check): Add explicit test for situations where
37518         there are multiple zero bytes after the first.
37520 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37522         [BZ #16890]
37523         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37524         when compiling wprintf.
37525         * stdio-common/tstdiomisc.c (t3): New function.
37526         (main): Call it.
37528 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37530         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37531         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37532         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37533         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37535 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37537         * stdlib/longlong.h: Updated from GCC.
37539 2014-05-01  Will Newton  <will.newton@linaro.org>
37540             Bernard Ogden  <bernie.ogden@linaro.org>
37542         * NEWS: Update fixed bug list.
37544         [BZ #15119]
37545         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37547 2014-04-30  David S. Miller  <davem@davemloft.net>
37549         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37550         (libc_feholdexcept_setround_sparc_ctx): New function.
37551         (libc_fesetenv_sparc_ctx): Likewise.
37552         (libc_feupdateenv_sparc_ctx): Likewise.
37553         (libc_feholdsetround_sparc_ctx): Likewise.
37554         (libc_feholdexcept_setround_ctx): Define.
37555         (libc_feholdexcept_setroundf_ctx): Likewise.
37556         (libc_feholdexcept_setroundl_ctx): Likewise.
37557         (libc_fesetenv_ctx): Likewise.
37558         (libc_fesetenvf_ctx): Likewise.
37559         (libc_fesetenvl_ctx): Likewise.
37560         (libc_feupdateenv_ctx): Likewise.
37561         (libc_feupdateenvf_ctx): Likewise.
37562         (libc_feupdateenvl_ctx): Likewise.
37563         (libc_feresetround_ctx): Likewise.
37564         (libc_feresetroundf_ctx): Likewise.
37565         (libc_feresetroundl_ctx): Likewise.
37566         (libc_feholdsetround_ctx): Likewise.
37567         (libc_feholdsetroundf_ctx): Likewise.
37568         (libc_feholdsetroundl_ctx): Likewise.
37570         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37571         with __USE_GNU instead of XOPEN cpp guards.
37573         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37574         0.
37576         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37577         with XOPEN cpp guards.
37579 2014-04-30  Julian Brown  <julian@codesourcery.com>
37581         [BZ #16888]
37582         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37583         handling.
37585 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37587         [BZ #9894]
37588         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37589         Change to 2.6.32.
37590         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37591         * sysdeps/unix/sysv/linux/configure: Regenerated.
37592         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37593         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37594         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37595         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37596         * README: Update reference to required Linux kernel version.
37597         * manual/install.texi (Linux): Update reference to required Linux
37598         kernel headers version.
37599         * INSTALL: Regenerated.
37601         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37602         header inclusion.
37603         [POSIX] (limits.h): Likewise.
37604         [POSIX] (math.h): Likewise.
37605         [POSIX] (sys/wait.h): Likewise.
37606         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37607         function.
37608         [POSIX] (stddef.h): Do not allow header inclusion.
37610 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37612         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37614 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37616         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37617         Return immediately after lll_futex_wake.
37619 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37621         [BZ #16791]
37622         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37623         structure.
37624         (datahead_init_pos): Call datahead_init_common early.
37625         (datahead_init_neg): Likewise.
37627         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37628         datahead_init_neg): New functions.
37629         * nscd/aicache.c (addhstaiX): Use them.
37630         * nscd/grpcache.c (cache_addgr): Likewise.
37631         * nscd/hstcache.c (cache_addhst): Likewise.
37632         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37633         * nscd/netgroupcache.c (do_notfound): Likewise.
37634         (addgetnetgrentX): Likewise.
37635         (addinnetgrX): Likewise.
37636         * nscd/pwdcache.c (cache_addpw): Likewise.
37637         * nscd/servicescache.c (cache_addserv): Likewise.
37639 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37640             Atsushi Onoe  <atsushi@onoe.org>
37642         [BZ #14308]
37643         [BZ #12994]
37644         [BZ #13651]
37645         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37646         one response is valid.
37647         * resolv/res_send.c (send_dg): Check for validity of other
37648         response if the current response is a referral.
37650 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37652         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37654 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37656         [BZ #16823]
37657         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37658         Always divide by positive zero when computing -Inf result.
37659         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37660         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37662 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37664         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37665         FPSCR if value do not change.
37666         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37667         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37668         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37669         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37670         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37671         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37672         function.
37674 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37676         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37677         * sysdeps/unix/sysv/linux/hppa: Move directory from
37678         ports/systeps/unix/sysv/linux/hppa.
37679         * README: Update listing for hppa-*-linux-gnu.
37681 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37683         [BZ #16754]
37684         * manual/stdio.texi (Hook functions): Fix types of stream hook
37685         functions.
37686         [BZ #16854]
37687         * socket/sys/socket.h: Fix typo in comment.
37689 2014-04-28  Wilco  <wdijkstr@arm.com>
37691         * sysdeps/arm/fenv_private.h: New file.
37692         * sysdeps/arm/math_private.h: New file.
37693         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37695 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37697         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37698         with __int128_t.
37699         (La_x86_64_retval): Likewise.
37701 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37703         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37704         fpsr if value didn't change.
37705         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37706         to fpcr if value didn't change.
37707         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37708         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37709         fpsr or fpcr if value didn't change.
37710         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37711         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37712         fpcr if value didn't change.
37713         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37714         to fpsr if value didn't change.
37716 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37718         * nptl/tst-sem3.c: Use test-skeleton.c
37719         (main): Rename to do_test.  Use return instead of
37720         exit.
37721         * nptl/tst-sem4.c: Use test-skeleton.c
37722         (main): Rename to do_test.
37724 2014-04-22  David S. Miller  <davem@davemloft.net>
37726         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37727         (struct sigaction): New struct member __glibc_reserved0, change
37728         type of sa_flags to int.
37730 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37732         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37733         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37735 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37737         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37738         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37740 2014-04-22  Will Newton  <will.newton@linaro.org>
37741             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37743         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37744         (__longjmp): Add longjmp and longjmp_target SystemTap
37745         probes.
37746         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37747         (__sigsetjmp): Add setjmp SystemTap probe.
37749 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37751         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37752         match manual order.
37754 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37756         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37758         * sysdeps/powerpc/fpu/fenv_private.h
37759         (libc_feholdexcept_setroundl_ctx): Define to
37760         libc_feholdexcept_setround_ppc_ctx.
37761         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37762         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37763         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37764         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37766 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37768         * sysdeps/aarch64/math-tests.h: New file.
37770 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37772         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37773         New.
37774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37775         Check and set bit_AVX2_Usable.
37776         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37777         macro.
37778         (bit_AVX2): Likewise.
37779         (index_AVX2_Usable): Likewise.
37780         (CPUID_AVX2): Likewise.
37781         (HAS_AVX2): Likewise.
37783 2014-04-17  Will Newton  <will.newton@linaro.org>
37785         * manual/setjmp.texi (System V contexts): Add note that
37786         calling setcontext on a context created by a call to a
37787         signal handler is undefined.  Update text to note that
37788         setcontext from a signal handler is possible but not
37789         recommended.
37791         [BZ #16629]
37792         * stdlib/tst-setcontext.c: Include signal.h.
37793         (main): Check that the signal stack before and
37794         after swapcontext is the same.
37796         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37797         Re-implement to restore registers in user code and avoid
37798         rt_sigreturn system call.
37800 2014-04-17  Wilco  <wdijkstr@arm.com>
37802         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37803         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37804         * math/test-fenv.c: Skip exception trap tests on targets which only
37805         support non-stop mode.
37807 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37808             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37810         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37811         (libc_feholdsetround_aarch64_ctx)
37812         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37813         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37814         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37815         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37816         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37817         (libc_feresetround_noexl_ctx): Define.
37819 2014-04-16  Richard Henderson  <rth@redhat.com>
37821         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37823         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37824         unwind tables.
37826         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37827         const from the non-libc, non-ldso copy.
37829         * sysdeps/alpha/libm-test-ulps: Regenerate.
37831 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37832             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37834         * sysdeps/aarch64/fpu/math_private.h: New file.
37836 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37838         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37840 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37842         [BZ #16275]
37843         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37844         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37846         Intel MPX bound registers before _dl_profile_fixup.
37847         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37848         registers after _dl_profile_fixup.  Save and restore bound
37849         registers bnd0/bnd1 when calling _dl_call_pltexit.
37850         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37851         (LR_BND_OFFSET): Likewise.
37852         (LRV_BND0_OFFSET): Likewise.
37853         (LRV_BND1_OFFSET): Likewise.
37855 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37857         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37858         to...
37859         * sysdeps/mach/hurd/i386/tls.h: ... here.
37860         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37861         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37862         fields.
37864 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37866         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37868 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37870         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37872 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37874         [BZ #14770]
37875         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37876         * sysdeps/s390/configure: Regenerate.
37878         [BZ #16824]
37879         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37880         Set round-to-nearest internally to reduce error accumulation.
37882 2014-04-16  Alan Modra  <amodra@gmail.com>
37884         [BZ #16740]
37885         [BZ #16619]
37886         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37887         * math/libm-test.inc (frexp_test_data): Add tests.
37888         * NEWS: Update fixed bug list.
37890 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37892         * benchtests/Makefile: Depend on libraries in build directory.
37893         (bench-math): Separate out math tests.
37894         (bench-pthread): Separate out pthread tests.
37895         (bench): Include math and pthread tests.
37897 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37899         [BZ #16831]
37900         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37901         _dl_debug_initialize.
37903         * configure.ac: Remove SELinux header check.
37904         * configure: Regenerate.
37905         * nscd/selinux.c (perms): Array of const char* to permission names.
37906         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37907         default policy. Call string_to_security_class and string_to_av_perm to
37908         translate strings. Enforce default policy and call avs_has_perm with
37909         results of translated strings.
37911 2014-04-13  David S. Miller  <davem@davemloft.net>
37913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37915 2014-04-12  Allan McRae  <allan@archlinux.org>
37917         [BZ #16838]
37918         * manual/string.texi (Collation Functions): Fix qsort argument
37919         order in example.
37920         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37922 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37924         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37925         Make the test a no-op if there are no exceptions defined.
37927 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37929         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37930         enable-hardcoded-path-in-tests
37932 2014-04-11  Will Newton  <will.newton@linaro.org>
37934         * benchtests/Makefile (extra-objs): Add json-lib.o.
37935         (bench-func): Tidy up JSON output.
37936         * benchtests/bench-skeleton.c: Include json-lib.h.
37937         (main): Use JSON library functions to do output of
37938         benchmark results.
37939         * benchtests/bench-timing-type.c (main): Output the
37940         timing type simply, leaving formatting to the user.
37941         * benchtests/json-lib.c: New file.
37942         * benchtests/json-lib.h: Likewise.
37944 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37946         [BZ #15215]
37947         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37948         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37949         memory barriers.  Add comments.
37950         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37951         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37952         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37953         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37954         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37955         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37957 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37959         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37960         * sysdeps/s390/s390-64/configure.ac: ... this ...
37961         * sysdeps/s390/configure.ac: ... to here.
37962         * sysdeps/s390/s390-32/configure: Delete file.
37963         * sysdeps/s390/s390-64/configure: Delete file.
37964         * sysdeps/s390/configure: Regenerate.
37966 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37968         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37970 2014-04-11  Will Newton  <will.newton@linaro.org>
37972         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37973         to zero if it is not defined elsewhere.  (mtrim): Test
37974         the value of MALLOC_DEBUG with #if rather than #ifdef.
37976 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37978         * benchtests/pthread_once-inputs: New file.
37979         * benchtests/pthread_once-source.c: New file.
37980         * benchtests/README: Update documentation.
37982 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37983             H.J. Lu  <hongjiu.lu@intel.com>
37985         [BZ #16275]
37986         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37987         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37988         * sysdeps/x86_64/configure: Regenerated.
37989         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37990         macro.
37991         (REGISTER_SAVE_RAX): Likewise.
37992         (REGISTER_SAVE_RCX): Likewise.
37993         (REGISTER_SAVE_RDX): Likewise.
37994         (REGISTER_SAVE_RSI): Likewise.
37995         (REGISTER_SAVE_RDI): Likewise.
37996         (REGISTER_SAVE_R8): Likewise.
37997         (REGISTER_SAVE_R9): Likewise.
37998         (REGISTER_SAVE_BND0): Likewise.
37999         (REGISTER_SAVE_BND1): Likewise.
38000         (REGISTER_SAVE_BND2): Likewise.
38001         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38002         bound registers when calling _dl_fixup.
38004 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38006         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38007         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38008         of its definition.
38009         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38010         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38011         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38012         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38013         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38014         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38015         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38017 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38019         [BZ #15514]
38020         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38021         pathconf(_PC_NAME_MAX).
38023 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38025         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38026         Remove macro usage.
38027         (__PTHREAD_SPINS): Move definition to ...
38028         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38029         (__PTHREAD_SPINS): ... here.
38030         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38031         (__PTHREAD_SPIN): Likewise.
38032         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38033         (__PTHREAD_SPIN): Likewise.
38034         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38035         (__PTHREAD_SPIN): Likewise.
38036         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38037         (__PTHREAD_SPIN): Likewise.
38038         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38039         (__PTHREAD_SPIN): Likewise.
38040         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38041         (__PTHREAD_SPIN): Likewise.
38042         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38043         (__PTHREAD_SPIN): Likewise.
38044         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38045         (__PTHREAD_SPIN): Likewise.
38046         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38047         (__PTHREAD_SPIN): Likewise.
38048         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38049         (__PTHREAD_SPIN): Likewise.
38050         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38051         (__PTHREAD_SPIN): Likewise.
38052         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38053         (__PTHREAD_SPIN): Likewise.
38055         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38056         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38057         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38058         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38059         imply folder.
38060         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38061         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38062         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38063         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38064         correct imply path.
38065         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38066         strlen symbol for non multi-arch builds.
38067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38068         missing hidden_def and weak_alias.
38070 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38072         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38074 2014-04-07  Will Newton  <will.newton@linaro.org>
38076         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38077         and contents.  [!_LIBC] Remove #ifndef and contents.
38078         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38079         * string/memccpy.c (__memccpy): Use ANSI prototype.
38080         * string/memfrob.c (memfrob): Likewise.
38081         * string/strcoll.c (STRCOLL): Likewise.
38082         * string/strlen.c (strlen): Likewise.
38083         * string/strtok.c (STRTOK): Likewise.
38084         * string/strcat.c: Remove unused #include of memcopy.h.
38085         (strcat): Use ANSI prototype.
38086         * string/strchr.c: Remove unused #include of memcopy.h.
38087         (strchr): Use ANSI prototype.
38088         * string/strcmp.c: Remove unused #include of memcopy.h.
38089         (strcmp): Use ANSI prototype.
38090         * string/strcpy.c: Remove unused #include of memcopy.h.
38091         (strcpy): Use ANSI prototype.
38093 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38095         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38096         * config.make.in (config-extra-cppflags): Set it from
38097         libc_extra_cppflags.
38098         * configure.ac (libc_extra_cflags): Make it accumulate over
38099         configure fragments.
38100         (libc_extra_cppflags): New flag.
38101         * configure. Regenerate.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38103         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38104         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38107         [BZ #16815]
38108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38109         result for FE_DOWNWARD rounding mode.
38110         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38111         Likewise.
38112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38114 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38116         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38117         in function argument name.
38119 2014-04-03  David Svoboda  <svoboda@cert.org>
38121         [BZ #5666]
38122         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38123         explicitly.
38125 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38127         * elf/dl-unmap-segments.h: New file.
38128         * sysdeps/generic/ldsodefs.h
38129         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38130         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38131         * elf/dl-fptr.c: Likewise.
38132         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38133         * sysdeps/aarch64/tlsdesc.c: Likewise.
38134         * sysdeps/arm/tlsdesc.c: Likewise.
38135         * sysdeps/i386/tlsdesc.c: Likewise.
38136         * sysdeps/tile/dl-runtime.c: Likewise.
38137         * sysdeps/x86_64/tlsdesc.c: Likewise.
38138         * elf/dl-load.h: New file.
38139         * elf/dl-load.c: Include it.
38140         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38141         Macros moved to dl-load.h.
38142         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38143         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38144         Use _dl_unmap_segments in place of __munmap.
38145         Break out segment-mapping loop into ...
38146         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38148 2014-04-03  Will Newton  <will.newton@linaro.org>
38150         * elf/dl-lookup.c (do_lookup_x): Remove comment
38151         referring to nested function and move variable
38152         declarations down to before first use.
38154 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38156         [BZ #16799]
38157         [BZ #16800]
38158         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38159         with 0 numerator.
38160         * math/s_catanf.c (__catanf): Likewise.
38161         * math/s_catanh.c (__catanh): Likewise.
38162         * math/s_catanhf.c (__catanhf): Likewise.
38163         * math/s_catanhl.c (__catanhl): Likewise.
38164         * math/s_catanl.c (__catanl): Likewise.
38165         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38166         by positive zero when computing -Inf result.
38167         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38168         (catanh_test): Likewise.
38169         * sysdeps/i386/fpu/libm-test-ulps: Update.
38170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38172         [BZ #16789]
38173         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38174         instead of using underflowing value in computing result.
38175         * math/s_clog10.c (__clog10): Likewise.
38176         * math/s_clog10f.c (__clog10f): Likewise.
38177         * math/s_clog10l.c (__clog10l): Likewise.
38178         * math/s_clogf.c (__clogf): Likewise.
38179         * math/s_clogl.c (__clogl): Likewise.
38180         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38181         (clog10_test): Likewise.
38182         * sysdeps/i386/fpu/libm-test-ulps: Update.
38183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185 2014-04-02  Alan Modra  <amodra@gmail.com>
38187         [BZ #16739]
38188         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38189         output when value is near a power of two.  Use int64_t for lx and
38190         remove casts.  Use decimal rather than hex exponent constants.
38191         Don't use long double multiplication when double will suffice.
38192         * math/libm-test.inc (nextafter_test_data): Add tests.
38193         * NEWS: Add 16739 and 16786 to bug list.
38195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38197         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38199 2014-04-01  Will Newton  <will.newton@linaro.org>
38201         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38202         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38204 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38206         [BZ #13347]
38207         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38208         * nptl/tst-setuid2.c: New file.
38209         * nptl/Makefile (xtests): Add tst-setuid2.
38211 2014-04-01  Alan Modra  <amodra@gmail.com>
38213         [BZ #16786]
38214         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38216 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38218         [BZ #6803]
38219         [BZ #6804]
38220         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38221         set errno as appropriate.
38222         * math/w_scalbf.c (__scalbf): Likewise.
38223         * math/w_scalbl.c (__scalbl): Likewise.
38224         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38225         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38226         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38227         Add more NaN tests.
38229         [BZ #16349]
38230         * math/w_atan2.c: Include <errno.h>.
38231         (__atan2): Set errno for result underflowing to zero.
38232         * math/w_atan2f.c: Include <errno.h>.
38233         (__atan2f): Set errno for result underflowing to zero.
38234         * math/w_atan2l.c: Include <errno.h>.
38235         (__atan2l): Set errno for result underflowing to zero.
38236         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38237         tests.
38238         * math/auto-libm-test-out: Regenerated.
38240 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38242         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38243         Encode instruction correctly in little endian.
38244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38245         Likewise.
38246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38247         Likewise.
38248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38249         Likewise.
38250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38251         Likewise.
38253 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38255         [BZ #9894]
38256         * sysdeps/unix/sysv/linux/kernel-features.h
38257         [__sparc__ && !__arch64__ && !__sparc_v9__]
38258         (__ASSUME_SET_ROBUST_LIST): Do not define.
38259         [__sparc__ && !__arch64__ && !__sparc_v9__]
38260         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38261         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38262         Likewise.
38263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38264         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38265         (__ASSUME_REQUEUE_PI): Likewise.
38266         (__ASSUME_SET_ROBUST_LIST): Likewise.
38267         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38268         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38269         Undefine.
38270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38271         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38272         Likewise.
38273         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38274         Likewise.
38275         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38276         Likewise.
38277         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38278         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38279         Undefine.
38280         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38281         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38282         Likewise.
38284         [BZ #16648]
38285         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38287         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38289 2014-03-31  Will Newton  <will.newton@linaro.org>
38291         * benchtests/Makefile (bench): Add ffs and ffsll to list
38292         of tests.
38293         * benchtests/ffs-inputs: New file.
38294         * benchtests/ffsll-inputs: Likewise.
38296 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38298         [BZ #16770]
38299         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38300         too large before casting to int.
38301         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38302         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38303         * math/libm-test.inc (scalb_test_data): Add more tests.
38305 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38307         * benchtests/Makefile (DETAILED_OPT): New make option.
38308         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38309         set.
38310         * benchtests/bench-skeleton.c: Include stdbool.h.
38311         (main): Store and print timings per input.
38312         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38313         member to each argument value.
38314         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38315         (_print_arg_data): Initialize per-input timing to 0.
38317         * benchtests/Makefile (timing-type): New binary.
38318         (bench-clean): Also remove bench-timing-type.
38319         (bench): New target for timing-type.
38320         (bench-func): Print output in JSON format.
38321         * benchtests/bench-skeleton.c (main): Print output in JSON
38322         format.
38323         * benchtests/bench-timing-type.c: New file.
38324         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38325         (TIMING_PRINT_STATS): Remove.
38326         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38327         name separately.
38329         * benchtests/bench-modf.c: Remove.
38330         * benchtests/modf-inputs: New inputs file.
38332 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38334         [BZ #16362]
38335         * math/s_clog10.c (M_PI_LOG10E): New macro.
38336         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38337         imaginary parts are 0.
38338         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38339         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38340         imaginary parts are 0.
38341         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38342         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38343         imaginary parts are 0.
38344         * math/libm-test.inc (clog10_test_data): Update expected results
38345         for when real and imaginary parts are 0.
38347 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38349         * elf/dl-load.c: Finish conversion of __builtin_expect into
38350         __glibc_{un}likely.
38352 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38354         [BZ #16348]
38355         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38356         1+x for argument with exponent below -67.
38357         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38358         Likewise.
38359         * math/auto-libm-test-in: Add more tests of exp.
38360         * math/auto-libm-test-out: Regenerated.
38362 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38364         [BZ #16759]
38365         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38366         (nscd_getnetgrent): Use it.
38368         [BZ #16760]
38369         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38370         of stpcpy.
38372 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38374         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38375         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38376         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38377         (lll_robust_unlock): Remove out of line section. Use cfi
38378         intrinsics.
38379         (LLL_STUB_UNWIND_INFO*): Remove.
38380         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38381         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38382         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38383         (lll_robust_unlock): Remove out of line section. Use cfi
38384         intrinsics.
38385         (LLL_STUB_UNWIND_INFO*): Remove.
38387 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38389         [BZ #16758]
38390         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38391         blank values.
38393 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38395         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38397 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38399         [BZ #16198]
38400         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38401         fnstenv.
38402         * math/test-fenv-preserve.c: New file.
38403         * math/Makefile (tests): Add test-fenv-preserve.
38405 2014-03-26  Will Newton <will.newton@linaro.org>
38407         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38409 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38411         * scripts/versionlist.awk: Partition the version sets and emit all
38412         GLIBC_* (sorted) before all others (sorted).
38414 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38416         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38417         GLIBC_2.2.5 version.
38419 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38421         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38422         calls.
38424         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38425         previous change.
38427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38429 2014-03-25  Andreas Schwab  <schwab@suse.de>
38431         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38432         label to be used after in6ailist is initialized.
38434 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38436         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38437         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38439 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38441         [BZ #16357]
38442         [BZ #16599]
38443         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38444         min_plus_half.
38445         (fp_formats): Update initializers.
38446         (init_fp_formats): Initialize new field.
38447         (output_for_one_input_case): Allow underflow for results up to
38448         min_plus_half.
38449         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38450         * math/auto-libm-test-in: Don't mark some underflows from asin and
38451         atanh as spurious.
38452         * math/auto-libm-test-out: Regenerated.
38453         * sysdeps/i386/fpu/libm-test-ulps: Update.
38454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38456 2014-03-25  Andreas Schwab  <schwab@suse.de>
38458         * libio/Makefile (tst-ftell-partial-wide-ENV)
38459         (tst-ftell-active-handler-ENV): Define.
38461 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38463         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38465 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38467         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38469 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38471         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38472         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38473         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38475 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38477         [BZ #16634]
38478         * elf/dl-load.c (open_verify): Add mode parameter.
38479         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38480         (open_path): Change from boolean 'secure' to complete flag 'mode'
38481         (_dl_map_object): Adjust.
38482         * elf/Makefile (tests): Add tst-dlopen-aout.
38483         * elf/tst-dlopen-aout.c: New test.
38485 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38487         [BZ #16714]
38488         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38489         (struct stat): Rename member pad0 to __glibc_reserved0.
38491         [BZ #16712]
38492         * sysdeps/s390/s390-32/bits/wordsize.h
38493         (__WORDSIZE32_SIZE_ULONG): New define.
38494         * sysdeps/s390/s390-64/bits/wordsize.h
38495         (__WORDSIZE32_SIZE_ULONG): Likewise.
38496         * sysdeps/generic/stdint.h (SIZE_MAX):
38497         Define as UL if __WORDSIZE32_SIZE_ULONG.
38499         [BZ #16713]
38500         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38501         (__glibc_reserved0): New variable.
38502         (sa_flags): Change type to int.
38504         * posix/Makefile (before-compile): Use += before-compile instead
38505         of a :=.
38507         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38508         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38510 2014-03-20  Andreas Schwab  <schwab@suse.de>
38512         [BZ #16743]
38513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38514         non-matching result from nscd.
38516 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38518         * scripts/bench.py: Moved to ...
38519         * benchtests/scripts/bench.py: ... here.
38520         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38522 2014-03-24  Andreas Schwab  <schwab@suse.de>
38524         [BZ #16002]
38525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38526         alloca_account and account alloca use for struct in6ailist.
38528 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38530         [BZ #16284]
38531         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38532         rounding mode to recompute results that overflow to infinity or
38533         underflow to zero.
38534         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38535         bug 16284.
38536         * math/auto-libm-test-out: Regenerated.
38537         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38538         (ccosh_test): Likewise.
38539         (csin_test_data): Use plus_oflow.
38540         (csin_test): Use ALL_RM_TEST.
38541         (csinh_test_data): Use plus_oflow.
38542         (csinh_test): Use ALL_RM_TEST.
38543         * sysdeps/i386/fpu/libm-test-ulps: Update.
38544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38546 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38548         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38549         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38550         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38552         [BZ #16731]
38553         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38554         when x - 1 is zero.
38555         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38556         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38557         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38559         argument is 1.
38560         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38561         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38562         zero.
38563         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38564         * sysdeps/i386/fpu/libm-test-ulps: Update.
38565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38567 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38569         * scripts/bench.pl: Remove file.
38570         * scripts/bench.py: New benchmark script.
38571         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38572         * benchtests/README: Mention python dependency.
38573         * scripts/pylintrc: New file.
38574         * scripts/pylint: New file.
38576         * bits/mathdef.h: Use #ifdef instead of #if.
38577         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38578         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38579         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38580         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38581         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38582         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38584 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38585             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38587         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38589         and strpbrk-ppc64 objects.
38590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38591         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38592         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38593         multiarch strpbrk for POWER7.
38594         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38595         multiarch strpbrk for PPC64.
38596         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38597         ifunc selector.
38598         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38599         strpbrk for POWER7.
38601 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38603         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38604         (atan_test): Likewise.
38605         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38606         (atanh_test): Use ALL_RM_TEST.
38607         (atan2_test_data): Likewise.
38608         (cabs_test): Likewise.
38609         (cacosh_test): Likewise.
38610         (carg_test): Likewise.
38611         (casin_test): Likewise.
38612         (casinh_test): Likewise.
38613         (cbrt_test): Likewise.
38614         (csqrt_test): Likewise.
38615         (erf_test): Likewise.
38616         (erfc_test): Likewise.
38617         (pow10_test): Likewise.
38618         (exp2_test): Likewise.
38619         (hypot_test): Likewise.
38620         (j0_test): Likewise.
38621         (j1_test): Likewise.
38622         (lgamma_test): Likewise.
38623         (gamma_test): Likewise.
38624         (sincos_test): Likewise.
38625         (tanh_test): Likewise.
38626         (y0_test): Likewise.
38627         (y1_test): Likewise.
38628         * sysdeps/i386/fpu/libm-test-ulps: Update.
38629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38631 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38633         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38635         and strcspn-ppc64 objects.
38636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38637         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38638         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38639         multiarch strcspn for POWER7.
38640         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38641         multiarch strcspn for PPC64.
38642         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38643         ifunc selector.
38644         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38645         strcspn for POWER7.
38647 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38649         * math/gen-libm-test.pl (generate_testfile): Expect only function
38650         name as argument to AUTO_TESTS_* and pass results for all rounding
38651         modes to parse_args.
38652         (parse_auto_input): Separate inputs of automatic tests from
38653         outputs before storing in %auto_tests.
38654         * math/libm-test.inc (acos_test_data): Update call to
38655         AUTO_TESTS_f_f.
38656         (acos_test): Use ALL_RM_TEST.
38657         (acos_tonearest_test_data): Remove.
38658         (acos_test_tonearest): Likewise.
38659         (acos_towardzero_test_data): Likewise.
38660         (acos_test_towardzero): Likewise.
38661         (acos_downward_test_data): Likewise.
38662         (acos_test_downward): Likewise.
38663         (acos_upward_test_data): Likewise.
38664         (acos_test_upward): Likewise.
38665         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38666         (asin_test_data): Likewise.
38667         (asin_test): Use ALL_RM_TEST.
38668         (asin_tonearest_test_data): Remove.
38669         (asin_test_tonearest): Likewise.
38670         (asin_towardzero_test_data): Likewise.
38671         (asin_test_towardzero): Likewise.
38672         (asin_downward_test_data): Likewise.
38673         (asin_test_downward): Likewise.
38674         (asin_upward_test_data): Likewise.
38675         (asin_test_upward): Likewise.
38676         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38677         (atan_test_data): Likewise.
38678         (atanh_test_data): Likewise.
38679         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38680         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38681         (carg_test_data): Likewise.
38682         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38683         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38684         (ccosh_test_data): Likewise.
38685         (cexp_test_data): Likewise.
38686         (clog_test_data): Likewise.
38687         (clog10_test_data): Likewise.
38688         (cos_test_data): Update call to AUTO_TESTS_f_f.
38689         (cos_test): Use ALL_RM_TEST.
38690         (cos_tonearest_test_data): Remove.
38691         (cos_test_tonearest): Likewise.
38692         (cos_towardzero_test_data): Likewise.
38693         (cos_test_towardzero): Likewise.
38694         (cos_downward_test_data): Likewise.
38695         (cos_test_downward): Likewise.
38696         (cos_upward_test_data): Likewise.
38697         (cos_test_upward): Likewise.
38698         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38699         (cosh_test): Use ALL_RM_TEST.
38700         (cosh_tonearest_test_data): Remove.
38701         (cosh_test_tonearest): Likewise.
38702         (cosh_towardzero_test_data): Likewise.
38703         (cosh_test_towardzero): Likewise.
38704         (cosh_downward_test_data): Likewise.
38705         (cosh_test_downward): Likewise.
38706         (cosh_upward_test_data): Likewise.
38707         (cosh_test_upward): Likewise.
38708         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38709         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38710         (ctan_test_data): Likewise.
38711         (ctan_test): Use ALL_RM_TEST.
38712         (ctan_tonearest_test_data): Remove.
38713         (ctan_test_tonearest): Likewise.
38714         (ctan_towardzero_test_data): Likewise.
38715         (ctan_test_towardzero): Likewise.
38716         (ctan_downward_test_data): Likewise.
38717         (ctan_test_downward): Likewise.
38718         (ctan_upward_test_data): Likewise.
38719         (ctan_test_upward): Likewise.
38720         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38721         (ctanh_test): Use ALL_RM_TEST.
38722         (ctanh_tonearest_test_data): Remove.
38723         (ctanh_test_tonearest): Likewise.
38724         (ctanh_towardzero_test_data): Likewise.
38725         (ctanh_test_towardzero): Likewise.
38726         (ctanh_downward_test_data): Likewise.
38727         (ctanh_test_downward): Likewise.
38728         (ctanh_upward_test_data): Likewise.
38729         (ctanh_test_upward): Likewise.
38730         (erf_test_data): Update call to AUTO_TESTS_f_f.
38731         (erfc_test_data): Likewise.
38732         (exp_test_data): Likewise.
38733         (exp_test): Use ALL_RM_TEST.
38734         (exp_tonearest_test_data): Remove.
38735         (exp_test_tonearest): Likewise.
38736         (exp_towardzero_test_data): Likewise.
38737         (exp_test_towardzero): Likewise.
38738         (exp_downward_test_data): Likewise.
38739         (exp_test_downward): Likewise.
38740         (exp_upward_test_data): Likewise.
38741         (exp_test_upward): Likewise.
38742         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38743         (exp10_test): Use ALL_RM_TEST.
38744         (exp10_tonearest_test_data): Remove.
38745         (exp10_test_tonearest): Likewise.
38746         (exp10_towardzero_test_data): Likewise.
38747         (exp10_test_towardzero): Likewise.
38748         (exp10_downward_test_data): Likewise.
38749         (exp10_test_downward): Likewise.
38750         (exp10_upward_test_data): Likewise.
38751         (exp10_test_upward): Likewise.
38752         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38753         (expm1_test_data): Likewise.
38754         (expm1_test): Use ALL_RM_TEST.
38755         (expm1_tonearest_test_data): Remove.
38756         (expm1_test_tonearest): Likewise.
38757         (expm1_towardzero_test_data): Likewise.
38758         (expm1_test_towardzero): Likewise.
38759         (expm1_downward_test_data): Likewise.
38760         (expm1_test_downward): Likewise.
38761         (expm1_upward_test_data): Likewise.
38762         (expm1_test_upward): Likewise.
38763         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38764         (fma_test): Use ALL_RM_TEST.
38765         (fma_towardzero_test_data): Remove.
38766         (fma_test_towardzero): Likewise.
38767         (fma_downward_test_data): Likewise.
38768         (fma_test_downward): Likewise.
38769         (fma_upward_test_data): Likewise.
38770         (fma_test_upward): Likewise.
38771         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38772         (j0_test_data): Update call to AUTO_TESTS_f_f.
38773         (j1_test_data): Likewise.
38774         (jn_test_data): Update call to AUTO_TESTS_if_f.
38775         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38776         (log_test_data): Update call to AUTO_TESTS_f_f.
38777         (log10_test_data): Likewise.
38778         (log1p_test_data): Likewise.
38779         (log2_test_data): Likewise.
38780         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38781         (pow_tonearest_test_data): Likewise.
38782         (sin_test_data): Update call to AUTO_TESTS_f_f.
38783         (sin_test): Use ALL_RM_TEST.
38784         (sin_tonearest_test_data): Remove.
38785         (sin_test_tonearest): Likewise.
38786         (sin_towardzero_test_data): Likewise.
38787         (sin_test_towardzero): Likewise.
38788         (sin_downward_test_data): Likewise.
38789         (sin_test_downward): Likewise.
38790         (sin_upward_test_data): Likewise.
38791         (sin_test_upward): Likewise.
38792         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38793         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38794         (sinh_test): Use ALL_RM_TEST.
38795         (sinh_tonearest_test_data): Remove.
38796         (sinh_test_tonearest): Likewise.
38797         (sinh_towardzero_test_data): Likewise.
38798         (sinh_test_towardzero): Likewise.
38799         (sinh_downward_test_data): Likewise.
38800         (sinh_test_downward): Likewise.
38801         (sinh_upward_test_data): Likewise.
38802         (sinh_test_upward): Likewise.
38803         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38804         (sqrt_test): Use ALL_RM_TEST.
38805         (sqrt_tonearest_test_data): Remove.
38806         (sqrt_test_tonearest): Likewise.
38807         (sqrt_towardzero_test_data): Likewise.
38808         (sqrt_test_towardzero): Likewise.
38809         (sqrt_downward_test_data): Likewise.
38810         (sqrt_test_downward): Likewise.
38811         (sqrt_upward_test_data): Likewise.
38812         (sqrt_test_upward): Likewise.
38813         (tan_test_data): Update call to AUTO_TESTS_f_f.
38814         (tan_test): Use ALL_RM_TEST.
38815         (tan_tonearest_test_data): Remove.
38816         (tan_test_tonearest): Likewise.
38817         (tan_towardzero_test_data): Likewise.
38818         (tan_test_towardzero): Likewise.
38819         (tan_downward_test_data): Likewise.
38820         (tan_test_downward): Likewise.
38821         (tan_upward_test_data): Likewise.
38822         (tan_test_upward): Likewise.
38823         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38824         (tgamma_test_data): Likewise.
38825         (y0_test_data): Likewise.
38826         (y1_test_data): Likewise.
38827         (yn_test_data): Update call to AUTO_TESTS_if_f.
38828         (main): Do not call removed functions.
38830 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38832         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38833         (ldexp_test_data): Remove.
38834         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38835         scalbn_test_data.
38836         (scalb_test): Use ALL_RM_TEST.
38838 2014-03-19  Andreas Schwab  <schwab@suse.de>
38840         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38842 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38844         [BZ #16649]
38845         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38846         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38849         (__ASSUME_PREADV): Undefine.
38850         (__ASSUME_PWRITEV): Likewise.
38852 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38854         * bits/mman-linux.h: Add comment about non-Linux use.
38855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38856         bits/mman-linux.h resting place.
38858         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38859         * bits/mman-linux.h: ... here.
38861 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38863         * conform/conformtest.pl: Add standard definition when calling C
38864         preprocessor on data files.
38865         (checknamespace): Remove unused variable.
38867 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38869         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38870         minus_oflow, plus_uflow and minus_uflow in expected results.
38871         * math/libm-test.inc (scalbn_test_data): Add more tests of
38872         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38873         minus_uflow.
38874         (scalbn_test): Use ALL_RM_TEST.
38875         (scalbln_test_data): Add more tests of negative arguments.  Use
38876         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38877         (scalbln_test): Use ALL_RM_TEST.
38879 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38881         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38883 2014-03-18  Will Newton  <will.newton@linaro.org>
38885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38886         inaccurate comment.
38888 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38890         * Makerules [!subdir] (check-abi): Exit with error status if a
38891         test failed.
38893 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38895         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38896         for rint.  Include results for all rounding modes.
38897         (nearbyint_test): Use ALL_RM_TEST.
38898         (rint_test_data): Include all tests used for nearbyint.
38900 2014-03-17  Will Newton  <will.newton@linaro.org>
38902         * nptl/sysdeps/pthread/pthread.h: Revert previous
38903         change.
38905         * sysdeps/generic/ldsodefs.h: Revert previous
38906         change.
38908         * libio/genops.c: Revert previous change.
38909         * libio/libioP.h: Likewise.
38910         * stdio-common/vfprintf.c: Likewise.
38912         * sysdeps/generic/math_private.h: Revert previous
38913         change.
38915         * sysdeps/generic/math_private.h: Check whether
38916         HAVE_RM_CTX is defined with #ifdef rather
38917         than #if.
38919         * argp/argp-fmtstream.h: Check whether
38920         __STRICT_ANSI__ is defined with #ifdef rather
38921         than #if.
38922         * argp/argp.h: Likewise.
38924         * libio/genops.c: Check whether
38925         _IO_JUMPS_OFFSET is defined with #ifdef rather
38926         than #if.
38927         * libio/libioP.h: Likewise.
38928         * stdio-common/vfprintf.c: Likewise.
38930         * sysdeps/generic/ldsodefs.h: Check whether
38931         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38932         than #if.
38934         * nptl/sysdeps/pthread/pthread.h: Check
38935         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38936         its value.
38938 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38940         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38941         setting O_APPEND.
38942         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38943         test case.
38945         [BZ #16680]
38946         * libio/fileops.c (_IO_file_open): Seek to end of file but
38947         don't cache the offset.
38948         (get_file_offset): Remove function.
38949         (do_ftell): Use cached offset when available.
38950         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38951         don't cache the offset.
38952         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38953         case.
38954         (do_one_test): Call it.
38955         (do_ftell_test): Fix up expected old offset for a+ mode.
38956         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38957         available.
38959         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38960         up test status with function return status.
38961         (do_write_test): Likewise.
38962         (do_append_test): Likewise.
38964         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38965         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38966         Remove.
38968 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38970         * math/gen-libm-test.pl (parse_args): Handle results specified for
38971         each rounding mode separately.
38972         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38973         tests and results from lrint_tonearest_test_data,
38974         lrint_towardzero_test_data, lrint_downward_test_data and
38975         lrint_upward_test_data.
38976         (lrint_test): Use ALL_RM_TEST.
38977         (lrint_tonearest_test_data): Remove.
38978         (lrint_test_tonearest): Likewise.
38979         (lrint_towardzero_test_data): Likewise.
38980         (lrint_test_towardzero): Likewise.
38981         (lrint_downward_test_data): Likewise.
38982         (lrint_test_downward): Likewise.
38983         (lrint_upward_test_data): Likewise.
38984         (lrint_test_upward): Likewise.
38985         (llrint_test_data): Merge in per-rounding-mode tests and results
38986         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38987         llrint_downward_test_data and llrint_upward_test_data.
38988         (llrint_test): Use ALL_RM_TEST.
38989         (llrint_tonearest_test_data): Remove.
38990         (llrint_test_tonearest): Likewise.
38991         (llrint_towardzero_test_data): Likewise.
38992         (llrint_test_towardzero): Likewise.
38993         (llrint_downward_test_data): Likewise.
38994         (llrint_test_downward): Likewise.
38995         (llrint_upward_test_data): Likewise.
38996         (llrint_test_upward): Likewise.
38997         (rint_test_data): Merge in per-rounding-mode tests and results
38998         from rint_tonearest_test_data, rint_towardzero_test_data,
38999         rint_downward_test_data and rint_upward_test_data.  Add
39000         per-rounding-mode results for tests not in those arrays.
39001         (rint_test): Use ALL_RM_TEST.
39002         (rint_tonearest_test_data): Remove.
39003         (rint_test_tonearest): Likewise.
39004         (rint_towardzero_test_data): Likewise.
39005         (rint_test_towardzero): Likewise.
39006         (rint_downward_test_data): Likewise.
39007         (rint_test_downward): Likewise.
39008         (rint_upward_test_data): Likewise.
39009         (rint_test_upward): Likewise.
39010         (main): Don't call removed functions.
39012 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39014         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39015         "Compiled on ..." crapola.  It is anti-useful.
39017 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39019         * scripts/evaluate-test.sh: Handle fourth argument to determine
39020         whether test run should stop on failure.
39021         * Makeconfig (stop-on-test-failure): New variable.
39022         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39023         $(stop-on-test-failure).
39024         * Makefile (tests): Give a summary of results from testing and
39025         exit with failure status if they include an ERROR or FAIL.
39026         (xtests): Likewise.
39027         * manual/install.texi (Configuring and compiling): Mention
39028         stop-on-test-failure=y.
39029         * INSTALL: Regenerated.
39031 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39033         * scripts/versionlist.awk: New file.
39034         * Makerules [$(build-shared) = yes]
39035         (postclean-generated): Add Versions.def, not Versions.def.v and
39036         Versions.def.v.i.
39037         ($(common-objpfx)Versions.def.v.i): Target removed.
39038         ($(common-objpfx)Versions.def): New target.
39039         ($(common-objpfx)Versions.all): Depend on that rather that
39040         $(common-objpfx)Versions.def.v.
39041         * Versions.def: File removed.
39043         * Makeconfig (+gccwarn): Add -Wundef.
39044         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39045         a dl-sysdep.h breaking its contract.
39046         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39047         * include/stackinfo.h: New file.
39048         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39049         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39050         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39051         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39052         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39053         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39054         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39055         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39056         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39057         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39058         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39059         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39060         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39061         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39062         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39064 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39066         [BZ #16707]
39067         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39068         implementation.
39069         * math/libm-test.inc (round_test_data): Add more tests.
39071         [BZ #16706]
39072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39073         implementation.
39074         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39076         [BZ #16701]
39077         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39078         implementation.
39079         * math/libm-test.inc (ceil_test_data): Add more tests.
39081         * math/libm-test.inc (trunc_test_data): Add more tests related to
39082         BZ#16414.
39084 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39086         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39087         with #if rather than #ifdef.
39088         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39090 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39092         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39093         first.  Disable AVX-512 GCC support if assembler doesn't support
39094         it.
39095         * sysdeps/x86_64/configure: Regenerated.
39097 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39099         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39100         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39101         (__old_pthread_attr_setstack): Likewise.
39102         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39103         [!_STACK_GROWS_DOWN]: Likewise.
39105 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39107         * config.make.in (have-bash2): Delete.
39108         * configure.ac (libc_cv_have_bash2): Delete.
39109         * configure: Regenerate.
39110         * elf/Makefile (common-ldd-rewrite): Rename to ...
39111         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39112         (sh-ldd-rewrite): Delete.
39113         (bash-ldd-rewrite): Delete.
39114         (have-bash2): Delete checks.
39115         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39116         ldd-rewrite.
39118         * config.make.in (have-ksh): Delete.
39119         (KSH): Delete.
39120         * configure.ac (libc_cv_have_ksh): Delete.
39121         * configure: Regenerate.
39123         * elf/Makefile: Delete $(have-ksh) check.
39124         ($(objpfx)sotruss): Change KSH to BASH.
39125         * elf/sotruss.ksh: Rename to ...
39126         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39127         function style to match POSIX.  Drop ksh vim mode setting.
39129         * manual/time.texi (Specifying the Time Zone with TZ): Change
39130         Tuesday to Thursday.
39132         * debug/tst-longjmp_chk2.c: Update header comment.
39133         (stackoverflow_handler): Add comment.  Call assert on pass value.
39135 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39137         [BZ #16194]
39138         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39139         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39140         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39141         (La_x86_64_vector): Add zmm.
39142         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39143         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39144         ($(objpfx)tst-audit10): New target.
39145         ($(objpfx)tst-audit10.out): Likewise.
39146         (tst-audit10-ENV): New.
39147         (AVX512-CFLAGS): Likewise.
39148         (CFLAGS-tst-audit10.c): Likewise.
39149         (CFLAGS-tst-auditmod10a.c): Likewise.
39150         (CFLAGS-tst-auditmod10b.c): Likewise.
39151         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39152         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39153         * sysdeps/x86_64/configure: Regenerated.
39154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39155         AVX-512 zmm register support.
39156         (_dl_x86_64_save_sse): Likewise.
39157         (_dl_x86_64_restore_sse): Likewise.
39158         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39159         size vector registers.
39160         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39161         (ZMM_SIZE): Likewise.
39162         * sysdeps/x86_64/tst-audit10.c: New file.
39163         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39164         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39166 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39168         * configure.ac (HAVE_EHDR_START): New check.
39169         * configure: Regenerated.
39170         * config.h.in (HAVE_EHDR_START): New #undef.
39171         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39172         assuming the lowest-addressed segment maps the start of the file.
39174 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39176         * INSTALL: Regenerated.
39178 2014-03-13  Will Newton  <will.newton@linaro.org>
39180         * manual/setjmp.texi (System V contexts): Improve
39181         clarity and grammar of documentation.
39183 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39185         [BZ #16381]
39186         * elf/Makefile (tests): Add tst-pie2.
39187         (tests-pie): Add tst-pie2.
39188         * elf/tst-pie2.c: New file.
39189         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39190         for ET_EXEC.
39191         * elf/rtld.c (map_doit): Load executable as lt_executable.
39192         (dl_main): Likewise.
39194 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39196         [BZ #16642]
39197         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39198         (__ASSUME_PSELECT): Undefine.
39200 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39202         [BZ #16689]
39203         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39204         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39205         static build.
39206         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39207         selector for static builds.
39209 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39211         [BZ #16695]
39212         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39213         key in the buffer.
39215 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39217         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39218         IFUNC selector for static builds.
39220 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39222         * sysdeps/mips/math_private.h [__mips_hard_float]
39223         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39224         libc_feresetround_mips_ctx.
39225         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39226         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39227         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39229         [BZ #16677]
39230         * math/s_nextafter.c (__nextafter): Do not return value from
39231         overflowing computation.
39232         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39233         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39234         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39235         Likewise.
39236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39237         Likewise.
39238         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39239         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39241 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39243         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39244         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39245         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39246         the new mov targetting sp.
39248 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39250         [BZ #16683]
39251         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39252         Define it for static builds as well.
39253         (NO_BZERO_IMPL): Likewise.
39255 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39257         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39258         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39259         multiarch strspn for PPC64.
39260         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39261         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39263         (__libc_ifunc_impl_list): Likewise.
39264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39265         multiarch optimizations
39266         * string/strspn.c (strspn): Using macro to redefine symbol name.
39268 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39269             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39271         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39272         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39273         multiarch strncat for PPC64.
39274         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39275         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39277         (__libc_ifunc_impl_list): Likewise.
39278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39279         multiarch optimizations
39281 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39283         [BZ #16639]
39284         * nscd/nscd.service: Make service type forking.
39286 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39288         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39289         sign in non default rounding modes.
39290         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39292 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39294         * math/libm-test.inc (ALL_RM_TEST): New macro.
39295         (ceil_test): Use ALL_RM_TEST.
39296         (cimag_test): Likewise.
39297         (conj_test): Likewise.
39298         (copysign_test): Likewise.
39299         (cproj_test): Likewise.
39300         (creal_test): Likewise.
39301         (fabs_test): Likewise.
39302         (floor_test): Likewise.
39303         (fmax_test): Likewise.
39304         (fmin_test): Likewise.
39305         (fmod_test): Likewise.
39306         (fpclassify_test): Likewise.
39307         (frexp_test): Likewise.
39308         (ilogb_test): Likewise.
39309         (isfinite_test): Likewise.
39310         (finite_test): Likewise.
39311         (isgreater_test): Likewise.
39312         (isgreaterequal_test): Likewise.
39313         (isinf_test): Likewise.
39314         (isless_test): Likewise.
39315         (islessequal_test): Likewise.
39316         (islessgreater_test): Likewise.
39317         (isnan_test): Likewise.
39318         (isnormal_test): Likewise.
39319         (issignaling_test): Likewise.
39320         (isunordered_test): Likewise.
39321         (logb_test): Likewise.
39322         (logb_downward_test_data): Remove.
39323         (logb_test_downward): Likewise.
39324         (lround_test): Use ALL_RM_TEST.
39325         (llround_test): Likewise.
39326         (modf_test): Likewise.
39327         (nexttoward_test): Likewise.
39328         (remainder_test): Likewise.
39329         (drem_test): Likewise.
39330         (remainder_tonearest_test_data): Likewise.
39331         (remainder_test_tonearest): Likewise.
39332         (drem_test_tonearest): Likewise.
39333         (remainder_towardzero_test_data): Likewise.
39334         (remainder_test_towardzero): Likewise.
39335         (drem_test_towardzero): Likewise.
39336         (remainder_downward_test_data): Likewise.
39337         (remainder_test_downward): Likewise.
39338         (drem_test_downward): Likewise.
39339         (remainder_upward_test_data): Likewise.
39340         (remainder_test_upward): Likewise.
39341         (drem_test_upward): Likewise.
39342         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39343         (round_test): Use ALL_RM_TEST.
39344         (signbit_test): Likewise.
39345         (trunc_test): Likewise.
39346         (significand_test): Likewise.
39347         (main): Don't call removed functions.
39349 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39351         [BZ #16674]
39352         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39353         || __USE_XOPEN2K8].
39354         (ILL_ILLOPN): Likewise.
39355         (ILL_ILLADR): Likewise.
39356         (ILL_ILLTRP): Likewise.
39357         (ILL_PRVOPC): Likewise.
39358         (ILL_PRVREG): Likewise.
39359         (ILL_COPROC): Likewise.
39360         (ILL_BADSTK): Likewise.
39361         (FPE_INTDIV): Likewise.
39362         (FPE_INTOVF): Likewise.
39363         (FPE_FLTDIV): Likewise.
39364         (FPE_FLTOVF): Likewise.
39365         (FPE_FLTUND): Likewise.
39366         (FPE_FLTRES): Likewise.
39367         (FPE_FLTINV): Likewise.
39368         (FPE_FLTSUB): Likewise.
39369         (SEGV_MAPERR): Likewise.
39370         (SEGV_ACCERR): Likewise.
39371         (BUS_ADRALN): Likewise.
39372         (BUS_ADRERR): Likewise.
39373         (BUS_OBJERR): Likewise.
39374         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39375         (TRAP_TRACE): Likewise.
39376         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39377         __USE_XOPEN2K8].
39378         (CLD_KILLED): Likewise.
39379         (CLD_DUMPED): Likewise.
39380         (CLD_TRAPPED): Likewise.
39381         (CLD_STOPPED): Likewise.
39382         (CLD_CONTINUED): Likewise.
39383         (POLL_IN): Likewise.
39384         (POLL_OUT): Likewise.
39385         (POLL_MSG): Likewise.
39386         (POLL_ERR): Likewise.
39387         (POLL_PRI): Likewise.
39388         (POLL_HUP): Likewise.
39389         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39390         Likewise.
39391         (ILL_ILLOPN): Likewise.
39392         (ILL_ILLADR): Likewise.
39393         (ILL_ILLTRP): Likewise.
39394         (ILL_PRVOPC): Likewise.
39395         (ILL_PRVREG): Likewise.
39396         (ILL_COPROC): Likewise.
39397         (ILL_BADSTK): Likewise.
39398         (FPE_INTDIV): Likewise.
39399         (FPE_INTOVF): Likewise.
39400         (FPE_FLTDIV): Likewise.
39401         (FPE_FLTOVF): Likewise.
39402         (FPE_FLTUND): Likewise.
39403         (FPE_FLTRES): Likewise.
39404         (FPE_FLTINV): Likewise.
39405         (FPE_FLTSUB): Likewise.
39406         (SEGV_MAPERR): Likewise.
39407         (SEGV_ACCERR): Likewise.
39408         (BUS_ADRALN): Likewise.
39409         (BUS_ADRERR): Likewise.
39410         (BUS_OBJERR): Likewise.
39411         (BUS_MCEERR_AR): Likewise.
39412         (BUS_MCEERR_AO): Likewise.
39413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39414         (TRAP_TRACE): Likewise.
39415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39416         __USE_XOPEN2K8].
39417         (CLD_KILLED): Likewise.
39418         (CLD_DUMPED): Likewise.
39419         (CLD_TRAPPED): Likewise.
39420         (CLD_STOPPED): Likewise.
39421         (CLD_CONTINUED): Likewise.
39422         (POLL_IN): Likewise.
39423         (POLL_OUT): Likewise.
39424         (POLL_MSG): Likewise.
39425         (POLL_ERR): Likewise.
39426         (POLL_PRI): Likewise.
39427         (POLL_HUP): Likewise.
39428         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39429         (ILL_ILLOPN): Likewise.
39430         (ILL_ILLADR): Likewise.
39431         (ILL_ILLTRP): Likewise.
39432         (ILL_PRVOPC): Likewise.
39433         (ILL_PRVREG): Likewise.
39434         (ILL_COPROC): Likewise.
39435         (ILL_BADSTK): Likewise.
39436         (FPE_INTDIV): Likewise.
39437         (FPE_INTOVF): Likewise.
39438         (FPE_FLTDIV): Likewise.
39439         (FPE_FLTOVF): Likewise.
39440         (FPE_FLTUND): Likewise.
39441         (FPE_FLTRES): Likewise.
39442         (FPE_FLTINV): Likewise.
39443         (FPE_FLTSUB): Likewise.
39444         (SEGV_MAPERR): Likewise.
39445         (SEGV_ACCERR): Likewise.
39446         (BUS_ADRALN): Likewise.
39447         (BUS_ADRERR): Likewise.
39448         (BUS_OBJERR): Likewise.
39449         (BUS_MCEERR_AR): Likewise.
39450         (BUS_MCEERR_AO): Likewise.
39451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39452         (TRAP_TRACE): Likewise.
39453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39454         __USE_XOPEN2K8].
39455         (CLD_KILLED): Likewise.
39456         (CLD_DUMPED): Likewise.
39457         (CLD_TRAPPED): Likewise.
39458         (CLD_STOPPED): Likewise.
39459         (CLD_CONTINUED): Likewise.
39460         (POLL_IN): Likewise.
39461         (POLL_OUT): Likewise.
39462         (POLL_MSG): Likewise.
39463         (POLL_ERR): Likewise.
39464         (POLL_PRI): Likewise.
39465         (POLL_HUP): Likewise.
39466         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39467         Likewise.
39468         (ILL_ILLOPN): Likewise.
39469         (ILL_ILLADR): Likewise.
39470         (ILL_ILLTRP): Likewise.
39471         (ILL_PRVOPC): Likewise.
39472         (ILL_PRVREG): Likewise.
39473         (ILL_COPROC): Likewise.
39474         (ILL_BADSTK): Likewise.
39475         (ILL_BADIADDR): Likewise.
39476         (ILL_BREAK): Likewise.
39477         (FPE_INTDIV): Likewise.
39478         (FPE_INTOVF): Likewise.
39479         (FPE_FLTDIV): Likewise.
39480         (FPE_FLTOVF): Likewise.
39481         (FPE_FLTUND): Likewise.
39482         (FPE_FLTRES): Likewise.
39483         (FPE_FLTINV): Likewise.
39484         (FPE_FLTSUB): Likewise.
39485         (FPE_DECOVF): Likewise.
39486         (FPE_DECDIV): Likewise.
39487         (FPE_DECERR): Likewise.
39488         (FPE_INVASC): Likewise.
39489         (FPE_INVDEC): Likewise.
39490         (SEGV_MAPERR): Likewise.
39491         (SEGV_ACCERR): Likewise.
39492         (SEGV_PSTKOVF): Likewise.
39493         (BUS_ADRALN): Likewise.
39494         (BUS_ADRERR): Likewise.
39495         (BUS_OBJERR): Likewise.
39496         (BUS_MCEERR_AR): Likewise.
39497         (BUS_MCEERR_AO): Likewise.
39498         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39499         (TRAP_TRACE): Likewise.
39500         (TRAP_BRANCH): Likewise.
39501         (TRAP_HWBKPT): Likewise.
39502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39503         __USE_XOPEN2K8].
39504         (CLD_KILLED): Likewise.
39505         (CLD_DUMPED): Likewise.
39506         (CLD_TRAPPED): Likewise.
39507         (CLD_STOPPED): Likewise.
39508         (CLD_CONTINUED): Likewise.
39509         (POLL_IN): Likewise.
39510         (POLL_OUT): Likewise.
39511         (POLL_MSG): Likewise.
39512         (POLL_ERR): Likewise.
39513         (POLL_PRI): Likewise.
39514         (POLL_HUP): Likewise.
39515         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39516         (ILL_ILLOPN): Likewise.
39517         (ILL_ILLADR): Likewise.
39518         (ILL_ILLTRP): Likewise.
39519         (ILL_PRVOPC): Likewise.
39520         (ILL_PRVREG): Likewise.
39521         (ILL_COPROC): Likewise.
39522         (ILL_BADSTK): Likewise.
39523         (FPE_INTDIV): Likewise.
39524         (FPE_INTOVF): Likewise.
39525         (FPE_FLTDIV): Likewise.
39526         (FPE_FLTOVF): Likewise.
39527         (FPE_FLTUND): Likewise.
39528         (FPE_FLTRES): Likewise.
39529         (FPE_FLTINV): Likewise.
39530         (FPE_FLTSUB): Likewise.
39531         (SEGV_MAPERR): Likewise.
39532         (SEGV_ACCERR): Likewise.
39533         (BUS_ADRALN): Likewise.
39534         (BUS_ADRERR): Likewise.
39535         (BUS_OBJERR): Likewise.
39536         (BUS_MCEERR_AR): Likewise.
39537         (BUS_MCEERR_AO): Likewise.
39538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39539         (TRAP_TRACE): Likewise.
39540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39541         __USE_XOPEN2K8].
39542         (CLD_KILLED): Likewise.
39543         (CLD_DUMPED): Likewise.
39544         (CLD_TRAPPED): Likewise.
39545         (CLD_STOPPED): Likewise.
39546         (CLD_CONTINUED): Likewise.
39547         (POLL_IN): Likewise.
39548         (POLL_OUT): Likewise.
39549         (POLL_MSG): Likewise.
39550         (POLL_ERR): Likewise.
39551         (POLL_PRI): Likewise.
39552         (POLL_HUP): Likewise.
39553         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39554         (ILL_ILLOPN): Likewise.
39555         (ILL_ILLADR): Likewise.
39556         (ILL_ILLTRP): Likewise.
39557         (ILL_PRVOPC): Likewise.
39558         (ILL_PRVREG): Likewise.
39559         (ILL_COPROC): Likewise.
39560         (ILL_BADSTK): Likewise.
39561         (FPE_INTDIV): Likewise.
39562         (FPE_INTOVF): Likewise.
39563         (FPE_FLTDIV): Likewise.
39564         (FPE_FLTOVF): Likewise.
39565         (FPE_FLTUND): Likewise.
39566         (FPE_FLTRES): Likewise.
39567         (FPE_FLTINV): Likewise.
39568         (FPE_FLTSUB): Likewise.
39569         (SEGV_MAPERR): Likewise.
39570         (SEGV_ACCERR): Likewise.
39571         (BUS_ADRALN): Likewise.
39572         (BUS_ADRERR): Likewise.
39573         (BUS_OBJERR): Likewise.
39574         (BUS_MCEERR_AR): Likewise.
39575         (BUS_MCEERR_AO): Likewise.
39576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39577         (TRAP_TRACE): Likewise.
39578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39579         __USE_XOPEN2K8].
39580         (CLD_KILLED): Likewise.
39581         (CLD_DUMPED): Likewise.
39582         (CLD_TRAPPED): Likewise.
39583         (CLD_STOPPED): Likewise.
39584         (CLD_CONTINUED): Likewise.
39585         (POLL_IN): Likewise.
39586         (POLL_OUT): Likewise.
39587         (POLL_MSG): Likewise.
39588         (POLL_ERR): Likewise.
39589         (POLL_PRI): Likewise.
39590         (POLL_HUP): Likewise.
39591         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39592         (ILL_ILLOPN): Likewise.
39593         (ILL_ILLADR): Likewise.
39594         (ILL_ILLTRP): Likewise.
39595         (ILL_PRVOPC): Likewise.
39596         (ILL_PRVREG): Likewise.
39597         (ILL_COPROC): Likewise.
39598         (ILL_BADSTK): Likewise.
39599         (FPE_INTDIV): Likewise.
39600         (FPE_INTOVF): Likewise.
39601         (FPE_FLTDIV): Likewise.
39602         (FPE_FLTOVF): Likewise.
39603         (FPE_FLTUND): Likewise.
39604         (FPE_FLTRES): Likewise.
39605         (FPE_FLTINV): Likewise.
39606         (FPE_FLTSUB): Likewise.
39607         (SEGV_MAPERR): Likewise.
39608         (SEGV_ACCERR): Likewise.
39609         (BUS_ADRALN): Likewise.
39610         (BUS_ADRERR): Likewise.
39611         (BUS_OBJERR): Likewise.
39612         (BUS_MCEERR_AR): Likewise.
39613         (BUS_MCEERR_AO): Likewise.
39614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39615         (TRAP_TRACE): Likewise.
39616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39617         __USE_XOPEN2K8].
39618         (CLD_KILLED): Likewise.
39619         (CLD_DUMPED): Likewise.
39620         (CLD_TRAPPED): Likewise.
39621         (CLD_STOPPED): Likewise.
39622         (CLD_CONTINUED): Likewise.
39623         (POLL_IN): Likewise.
39624         (POLL_OUT): Likewise.
39625         (POLL_MSG): Likewise.
39626         (POLL_ERR): Likewise.
39627         (POLL_PRI): Likewise.
39628         (POLL_HUP): Likewise.
39629         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39630         (ILL_ILLOPN): Likewise.
39631         (ILL_ILLADR): Likewise.
39632         (ILL_ILLTRP): Likewise.
39633         (ILL_PRVOPC): Likewise.
39634         (ILL_PRVREG): Likewise.
39635         (ILL_COPROC): Likewise.
39636         (ILL_BADSTK): Likewise.
39637         (ILL_DBLFLT): Likewise.
39638         (ILL_HARDWALL): Likewise.
39639         (FPE_INTDIV): Likewise.
39640         (FPE_INTOVF): Likewise.
39641         (FPE_FLTDIV): Likewise.
39642         (FPE_FLTOVF): Likewise.
39643         (FPE_FLTUND): Likewise.
39644         (FPE_FLTRES): Likewise.
39645         (FPE_FLTINV): Likewise.
39646         (FPE_FLTSUB): Likewise.
39647         (SEGV_MAPERR): Likewise.
39648         (SEGV_ACCERR): Likewise.
39649         (BUS_ADRALN): Likewise.
39650         (BUS_ADRERR): Likewise.
39651         (BUS_OBJERR): Likewise.
39652         (BUS_MCEERR_AR): Likewise.
39653         (BUS_MCEERR_AO): Likewise.
39654         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39655         (TRAP_TRACE): Likewise.
39656         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39657         __USE_XOPEN2K8].
39658         (CLD_KILLED): Likewise.
39659         (CLD_DUMPED): Likewise.
39660         (CLD_TRAPPED): Likewise.
39661         (CLD_STOPPED): Likewise.
39662         (CLD_CONTINUED): Likewise.
39663         (POLL_IN): Likewise.
39664         (POLL_OUT): Likewise.
39665         (POLL_MSG): Likewise.
39666         (POLL_ERR): Likewise.
39667         (POLL_PRI): Likewise.
39668         (POLL_HUP): Likewise.
39669         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39670         (ILL_ILLOPN): Likewise.
39671         (ILL_ILLADR): Likewise.
39672         (ILL_ILLTRP): Likewise.
39673         (ILL_PRVOPC): Likewise.
39674         (ILL_PRVREG): Likewise.
39675         (ILL_COPROC): Likewise.
39676         (ILL_BADSTK): Likewise.
39677         (FPE_INTDIV): Likewise.
39678         (FPE_INTOVF): Likewise.
39679         (FPE_FLTDIV): Likewise.
39680         (FPE_FLTOVF): Likewise.
39681         (FPE_FLTUND): Likewise.
39682         (FPE_FLTRES): Likewise.
39683         (FPE_FLTINV): Likewise.
39684         (FPE_FLTSUB): Likewise.
39685         (SEGV_MAPERR): Likewise.
39686         (SEGV_ACCERR): Likewise.
39687         (BUS_ADRALN): Likewise.
39688         (BUS_ADRERR): Likewise.
39689         (BUS_OBJERR): Likewise.
39690         (BUS_MCEERR_AR): Likewise.
39691         (BUS_MCEERR_AO): Likewise.
39692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39693         (TRAP_TRACE): Likewise.
39694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39695         __USE_XOPEN2K8].
39696         (CLD_KILLED): Likewise.
39697         (CLD_DUMPED): Likewise.
39698         (CLD_TRAPPED): Likewise.
39699         (CLD_STOPPED): Likewise.
39700         (CLD_CONTINUED): Likewise.
39701         (POLL_IN): Likewise.
39702         (POLL_OUT): Likewise.
39703         (POLL_MSG): Likewise.
39704         (POLL_ERR): Likewise.
39705         (POLL_PRI): Likewise.
39706         (POLL_HUP): Likewise.
39707         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39708         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39710         [BZ #16670]
39711         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39712         before #include of <time.h>.
39713         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39714         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39715         (test-xfail-UNIX98/sched.h/conform): Likewise.
39717 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39719         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39720         error absence of trapping exception support.
39721         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39723 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39725         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39726         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39727         * timezone/Makefile (testdata): Move definition above include of
39728         Rules.
39729         (test-zones): New variable.
39730         (tests-special): Add zone files.
39731         (build-testdata): Use $(evaluate-test).
39733         * elf/Makefile (tests-special): Rename tests to end with .out.
39734         ($(objpfx)noload-mem): Likewise.
39735         ($(objpfx)tst-leaks1-mem): Likewise.
39736         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39737         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39738         $(objpfx)test-iconvconfig.out.
39739         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39740         set -e inside subshell and redirect output to file.
39741         * iconvdata/Makefile (generated): Rename tests to end with .out.
39742         Correct type.
39743         (tests-special): Rename tests to end with .out.
39744         ($(objpfx)mtrace-tst-loading): Likewise.
39745         * intl/Makefile (generated): Likewise.
39746         (tests-special): Likewise.
39747         ($(objpfx)mtrace-tst-gettext): Likewise.
39748         * misc/Makefile (generated): Likewise.
39749         (tests-special): Likewise.
39750         ($(objpfx)tst-error1-mem): Likewise.
39751         * nptl/Makefile (tests-special): Likewise.
39752         ($(objpfx)tst-stack3-mem): Likewise.
39753         (generated): Likewise.
39754         * posix/Makefile (generated): Likewise.
39755         (tests-special): Likewise.
39756         (xtests-special): Likewise.
39757         ($(objpfx)tst-fnmatch-mem): Likewise.
39758         ($(objpfx)bug-regex2-mem): Likewise.
39759         ($(objpfx)bug-regex14-mem): Likewise.
39760         ($(objpfx)bug-regex21-mem): Likewise.
39761         ($(objpfx)bug-regex31-mem): Likewise.
39762         ($(objpfx)tst-vfork3-mem): Likewise.
39763         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39764         ($(objpfx)tst-pcre-mem): Likewise.
39765         ($(objpfx)tst-boost-mem): Likewise.
39766         ($(objpfx)bug-ga2-mem): Likewise.
39767         ($(objpfx)bug-glob2-mem): Likewise.
39768         * resolv/Makefile (generate): Likewise.
39769         (tests-special): Likewise.
39770         (xtests-special): Likewise.
39771         (generated): Likewise.
39772         ($(objpfx)mtrace-tst-leaks): Likewise.
39773         ($(objpfx)mtrace-tst-leaks2): Likewise.
39775         * scripts/merge-test-results.sh: New file.
39776         * Makefile (tests-special-notdir): New variable.
39777         (tests): Run merge-test-results.sh.
39778         (xtests): Likewise.
39779         * Rules (tests-special-notdir): New variable.
39780         (xtests-special-notdir): Likewise.
39781         (tests): Run merge-test-results.sh
39782         (xtests): Likewise.
39784         * Makeconfig (test-xfail-name): New variable.
39785         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39786         compute variable name for expected failures.
39787         * conform/Makefile (conformtest-headers-data): New variable.
39788         (conformtest-standards): Likewise.
39789         (conformtest-headers-ISO): Likewise.
39790         (conformtest-headers-ISO99): Likewise.
39791         (conformtest-headers-ISO11): Likewise.
39792         (conformtest-headers-POSIX): Likewise.
39793         (conformtest-headers-XPG3): Likewise.
39794         (conformtest-headers-XPG4): Likewise.
39795         (conformtest-headers-UNIX98): Likewise.
39796         (conformtest-headers-XOPEN2K): Likewise.
39797         (conformtest-headers-POSIX2008): Likewise.
39798         (conformtest-headers-XOPEN2K8): Likewise.
39799         (conformtest-header-list-base): Likewise.
39800         (conformtest-header-list-tests): Likewise.
39801         (conformtest-header-base): Likewise.
39802         (conformtest-header-tests): Likewise.
39803         (tests-special): Add $(conformtest-header-list-tests).  If
39804         [$(fast-check) && !$(cross-compiling)], add
39805         $(conformtest-header-tests) instead of
39806         $(objpfx)run-conformtest.out.
39807         (generated): Add $(conformtest-header-list-base).  If
39808         [$(fast-check) && !$(cross-compiling)], add
39809         $(conformtest-header-base).  Remove previous setting.
39810         ($(conformtest-header-list-tests)): New target.
39811         (test-xfail-run-conformtest): Remove variable.
39812         ($(objpfx)run-conformtest.out): Remove target.
39813         (test-xfail-ISO11/complex.h/conform): New variable.
39814         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39815         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39816         (test-xfail-XPG3/varargs.h/conform): Likewise.
39817         (test-xfail-XPG4/varargs.h/conform): Likewise.
39818         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39819         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39820         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39821         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39822         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39823         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39824         (test-xfail-XPG3/ftw.h/conform): Likewise.
39825         (test-xfail-XPG3/grp.h/conform): Likewise.
39826         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39827         (test-xfail-XPG3/limits.h/conform): Likewise.
39828         (test-xfail-XPG3/pwd.h/conform): Likewise.
39829         (test-xfail-XPG3/search.h/conform): Likewise.
39830         (test-xfail-XPG3/signal.h/conform): Likewise.
39831         (test-xfail-XPG3/stdio.h/conform): Likewise.
39832         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39833         (test-xfail-XPG3/string.h/conform): Likewise.
39834         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39835         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39836         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39837         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39838         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39839         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39840         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39841         (test-xfail-XPG3/termios.h/conform): Likewise.
39842         (test-xfail-XPG3/time.h/conform): Likewise.
39843         (test-xfail-XPG3/unistd.h/conform): Likewise.
39844         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39845         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39846         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39847         (test-xfail-XPG4/netdb.h/conform): Likewise.
39848         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39849         (test-xfail-XPG4/signal.h/conform): Likewise.
39850         (test-xfail-XPG4/stdio.h/conform): Likewise.
39851         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39852         (test-xfail-XPG4/stropts.h/conform): Likewise.
39853         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39854         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39855         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39856         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39857         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39858         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39859         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39860         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39861         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39862         (test-xfail-XPG4/termios.h/conform): Likewise.
39863         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39864         (test-xfail-XPG4/unistd.h/conform): Likewise.
39865         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39866         (test-xfail-POSIX/sched.h/conform): Likewise.
39867         (test-xfail-POSIX/signal.h/conform): Likewise.
39868         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39869         (test-xfail-POSIX/tar.h/conform): Likewise.
39870         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39871         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39872         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39873         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39874         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39875         (test-xfail-UNIX98/sched.h/conform): Likewise.
39876         (test-xfail-UNIX98/signal.h/conform): Likewise.
39877         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39878         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39879         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39880         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39881         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39882         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39883         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39884         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39885         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39886         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39887         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39888         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39889         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39890         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39891         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39892         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39893         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39894         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39895         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39896         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39897         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39898         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39899         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39900         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39901         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39902         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39903         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39904         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39905         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39906         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39907         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39908         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39909         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39910         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39911         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39912         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39913         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39914         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39915         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39916         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39917         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39918         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39919         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39920         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39921         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39922         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39923         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39924         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39925         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39926         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39927         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39928         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39929         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39930         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39931         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39932         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39933         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39934         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39935         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39936         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39937         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39938         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39939         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39940         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39941         (conformtest-cc-flags): Likewise.
39942         ($(conformtest-header-tests): New target.
39943         * conform/check-header-lists.sh: New file.
39944         * conform/run-conformtest.sh: Remove.
39946         * conform/conformtest.pl: Allow ' and \ in values given for
39947         constants.
39948         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39949         inclusion.
39950         [POSIX] (sys/types.h): Likewise.
39951         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39952         inclusion.
39953         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39954         inclusion.
39955         * conform/data/signal.h-data (SIGIO): Remove expectation.
39956         [XPG3] (SIGBUS): Do not expect.
39957         [POSIX || XPG3] (SIGPOLL): Likewise.
39958         [POSIX || XPG3] (SIGPROF): Likewise.
39959         [POSIX || XPG3] (SIGSYS): Likewise.
39960         [XPG3] (SIGTRAP): Likewise.
39961         [POSIX || XPG3] (SIGURG): Likewise.
39962         [POSIX || XPG3] (SIGVTALRM): Likewise.
39963         [POSIX || XPG3] (SIGXCPU): Likewise.
39964         [POSIX || XPG3] (SIGXFSZ): Likewise.
39965         [POSIX] (SA_SIGINFO): Expect.
39966         [XPG3] (siginfo_t): Do not expect type or contents.
39967         [POSIX] (si_pid): Do not expect element.
39968         [POSIX] (si_uid): Likewise.
39969         [POSIX] (si_addr): Likewise.
39970         [POSIX] (si_status): Likewise.
39971         [POSIX] (si_band): Likewise.
39972         [XPG4] (si_value): Likewise.
39973         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39974         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39975         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39976         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39977         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39978         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39979         [POSIX || XPG3] (ILL_COPROC): Likewise.
39980         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39981         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39982         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39983         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39984         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39985         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39986         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39987         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39988         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39989         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39990         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39991         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39992         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39993         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39994         [POSIX || XPG3] (CLD_EXITED): Likewise.
39995         [POSIX || XPG3] (CLD_KILLED): Likewise.
39996         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39997         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39998         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39999         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40000         [POSIX || XPG3] (POLL_IN): Likewise.
40001         [POSIX || XPG3] (POLL_OUT): Likewise.
40002         [POSIX || XPG3] (POLL_MSG): Likewise.
40003         [POSIX || XPG3] (POLL_ERR): Likewise.
40004         [POSIX || XPG3] (POLL_PRI): Likewise.
40005         [POSIX || XPG3] (POLL_HUP): Likewise.
40006         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40007         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40008         (SIG*): Do not allow.
40009         [XPG3] (si_*): Likewise.
40010         [XPG3] (SI_*): Likewise.
40011         [XPG3 || XPG4] (sigev_*): Likewise.
40012         [XPG3 || XPG4] (SIGEV_*): Likewise.
40013         [XPG3 || XPG4] (sival_*): Likewise.
40014         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40015         [POSIX || XPG3] (BUS_*): Likewise.
40016         [POSIX || XPG3] (CLD_*): Likewise.
40017         [POSIX || XPG3] (FPE_*): Likewise.
40018         [POSIX || XPG3] (ILL_*): Likewise.
40019         [POSIX || XPG3] (POLL_*): Likewise.
40020         [POSIX || XPG3] (SEGV_*): Likewise.
40021         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40022         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40023         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40024         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40025         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40026         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40027         Specify type and value.
40028         (TVERSLEN): Likewise.
40029         (REGTYPE): Likewise.
40030         (AREGTYPE): Likewise.
40031         (LNKTYPE): Likewise.
40032         (SYMTYPE): Likewise.
40033         (CHRTYPE): Likewise.
40034         (BLKTYPE): Likewise.
40035         (DIRTYPE): Likewise.
40036         (FIFOTYPE): Likewise.
40037         (CONTTYPE): Likewise.
40038         (TSUID): Likewise.
40039         (TSGID): Likewise.
40040         (TSVTX): Likewise.
40041         (TUREAD): Likewise.
40042         (TUWRITE): Likewise.
40043         (TUEXEC): Likewise.
40044         (TGREAD): Likewise.
40045         (TGWRITE): Likewise.
40046         (TGEXEC): Likewise.
40047         (TOREAD): Likewise.
40048         (TOWRITE): Likewise.
40049         (TOEXEC): Likewise.
40050         [POSIX] (TSVTX): Expect constant.
40052 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40054         * Makefile (tests): Change dependencies to ....
40055         (tests-special): ... additions to this variable.
40056         (tests): Depend on $(tests-special).
40057         * Makerules (check-abi-list): New variable.
40058         (check-abi): Depend on $(check-abi-list).
40059         [$(subdir) = elf] (tests-special): Add
40060         $(objpfx)check-abi-libc.out.
40061         [$(build-shared) = yes && subdir] (tests-special): Add
40062         $(check-abi-list).
40063         [$(build-shared) = yes && subdir] (tests): Do not depend on
40064         check-abi.
40065         * Rules (tests): Depend on $(tests-special).
40066         (xtests): Depend on $(xtests-special).
40067         * catgets/Makefile (tests): Change dependencies to ....
40068         (tests-special): ... additions to this variable.
40069         * conform/Makefile (tests): Change dependencies to ....
40070         (tests-special): ... additions to this variable.
40071         * elf/Makefile (tests): Change dependencies to ....
40072         (tests-special): ... additions to this variable.
40073         * grp/Makefile (tests): Change dependencies to ....
40074         (tests-special): ... additions to this variable.
40075         * iconv/Makefile (xtests): Change dependencies to ....
40076         (xtests-special): ... additions to this variable.
40077         * iconvdata/Makefile (tests): Change dependencies to ....
40078         (tests-special): ... additions to this variable.
40079         * intl/Makefile (tests): Change dependencies to ....
40080         (tests-special): ... additions to this variable.  Also add
40081         $(objpfx)tst-gettext.out.
40082         * io/Makefile (tests): Change dependencies to ....
40083         (tests-special): ... additions to this variable.
40084         * libio/Makefile (tests): Change dependencies to ....
40085         (tests-special): ... additions to this variable.
40086         * malloc/Makefile (tests): Change dependencies to ....
40087         (tests-special): ... additions to this variable.
40088         * misc/Makefile (tests): Change dependencies to ....
40089         (tests-special): ... additions to this variable.
40090         * nptl/Makefile (tests): Change dependencies to ....
40091         (tests-special): ... additions to this variable.
40092         * nptl_db/Makefile (tests): Change dependencies to ....
40093         (tests-special): ... additions to this variable.
40094         * posix/Makefile (tests): Change dependencies to ....
40095         (tests-special): ... additions to this variable.
40096         (xtests): Change dependencies to ....
40097         (xtests-special): ... additions to this variable.
40098         * resolv/Makefile (tests): Change dependencies to ....
40099         (tests-special): ... additions to this variable.
40100         (xtests): Change dependencies to ....
40101         (xtests-special): ... additions to this variable.
40102         * stdio-common/Makefile (tests): Change dependencies to ....
40103         (tests-special): ... additions to this variable.
40104         (do-tst-unbputc): Remove target.
40105         (do-tst-printf): Likewise.
40106         * stdlib/Makefile (tests): Change dependencies to ....
40107         (tests-special): ... additions to this variable.
40108         * string/Makefile (tests): Change dependencies to ....
40109         (tests-special): ... additions to this variable.
40110         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40111         (tests-special): ... additions to this variable.
40113         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40114         whole file.
40115         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40116         whole file.
40117         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40118         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40120         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40121         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40122         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40123         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40124         * conform/data/libgen.h-data [XPG3]: Likewise.
40125         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40126         * conform/data/ndbm.h-data [XPG3]: Likewise.
40127         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40128         * conform/data/netdb.h-data [XPG3]: Likewise.
40129         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40130         * conform/data/poll.h-data [XPG3]: Likewise.
40131         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40132         * conform/data/strings.h-data [XPG3]: Likewise.
40133         * conform/data/stropts.h-data [XPG3]: Likewise.
40134         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40135         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40136         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40137         Likewise.
40138         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40139         * conform/data/sys/time.h-data [XPG3]: Likewise.
40140         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40141         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40142         * conform/data/sys/un.h-data [XPG3]: Likewise.
40143         * conform/data/syslog.h-data [XPG3]: Likewise.
40144         * conform/data/ucontext.h-data [XPG3]: Likewise.
40145         * conform/data/utmpx.h-data [XPG3]: Likewise.
40146         * conform/data/varargs.h-data [UNIX98]: Enable file.
40148         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40150         * math/libm-test.inc (struct test_f_f_data): Move expected results
40151         into structure for each rounding mode.
40152         (struct test_ff_f_data): Likewise.
40153         (struct test_ff_f_data_nexttoward): Likewise.
40154         (struct test_fi_f_data): Likewise.
40155         (struct test_fl_f_data): Likewise.
40156         (struct test_if_f_data): Likewise.
40157         (struct test_fff_f_data): Likewise.
40158         (struct test_c_f_data): Likewise.
40159         (struct test_f_f1_data): Likewise.
40160         (struct test_fF_f1_data): Likewise.
40161         (struct test_ffI_f1_data): Likewise.
40162         (struct test_c_c_data): Likewise.
40163         (struct test_cc_c_data): Likewise.
40164         (struct test_f_i_data): Likewise.
40165         (struct test_ff_i_data): Likewise.
40166         (struct test_f_l_data): Likewise.
40167         (struct test_f_L_data): Likewise.
40168         (struct test_fFF_11_data): Likewise.
40169         (RM_): New macro.
40170         (RM_FE_DOWNWARD): Likewise.
40171         (RM_FE_TONEAREST): Likewise.
40172         (RM_FE_TOWARDZERO): Likewise.
40173         (RM_FE_UPWARD): Likewise.
40174         (RUN_TEST_LOOP_f_f): Update references to expected results.
40175         (RUN_TEST_LOOP_2_f): Likewise.
40176         (RUN_TEST_LOOP_fff_f): Likewise.
40177         (RUN_TEST_LOOP_c_f): Likewise.
40178         (RUN_TEST_LOOP_f_f1): Likewise.
40179         (RUN_TEST_LOOP_fF_f1): Likewise.
40180         (RUN_TEST_LOOP_fI_f1): Likewise.
40181         (RUN_TEST_LOOP_ffI_f1): Likewise.
40182         (RUN_TEST_LOOP_c_c): Likewise.
40183         (RUN_TEST_LOOP_cc_c): Likewise.
40184         (RUN_TEST_LOOP_f_i): Likewise.
40185         (RUN_TEST_LOOP_f_i_tg): Likewise.
40186         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40187         (RUN_TEST_LOOP_f_b): Likewise.
40188         (RUN_TEST_LOOP_f_b_tg): Likewise.
40189         (RUN_TEST_LOOP_f_l): Likewise.
40190         (RUN_TEST_LOOP_f_L): Likewise.
40191         (RUN_TEST_LOOP_fFF_11): Likewise.
40192         * math/gen-libm-test.pl (parse_args): Output four copies of
40193         expected results for each test.
40195         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40196         (__ASSUME_UTIMES): Remove.
40197         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40198         (__ASSUME_UTIMES): Likewise.
40200         * math/gen-auto-libm-tests.c: Update comment on output format.
40201         (output_for_one_input_case): Generate before-rounding and
40202         after-rounding information as conditions on output flags not
40203         floating-point format.
40204         * math/auto-libm-test-out: Regenerated.
40205         * math/gen-libm-test.pl (cond_value): New function.
40206         (or_cond_value): Use cond_value.
40207         (generate_testfile): Handle conditional exceptions.
40209 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40211         * math/libm-test.inc (max_valid_error): New variable.
40212         (init_max_error): Take new argument specifying whether function
40213         results are exactly determined.  Set max_valid_error and bound
40214         other variables for errors based on this argument.
40215         (set_max_error): Do not record results above max_valid_error.
40216         (check_float_internal): Only accept errors of up to 0.5ulps if
40217         also at most max_valid_error.
40218         (START): Take new argument EXACT and pass it to init_max_error.
40219         (acos_test): Update call to START.
40220         (acos_test_tonearest): Likewise.
40221         (acos_test_towardzero): Likewise.
40222         (acos_test_downward): Likewise.
40223         (acos_test_upward): Likewise.
40224         (acosh_test): Likewise.
40225         (asin_test): Likewise.
40226         (asin_test_tonearest): Likewise.
40227         (asin_test_towardzero): Likewise.
40228         (asin_test_downward): Likewise.
40229         (asin_test_upward): Likewise.
40230         (asinh_test): Likewise.
40231         (atan_test): Likewise.
40232         (atanh_test): Likewise.
40233         (atan2_test): Likewise.
40234         (cabs_test): Likewise.
40235         (cacos_test): Likewise.
40236         (cacosh_test): Likewise.
40237         (carg_test): Likewise.
40238         (casin_test): Likewise.
40239         (casinh_test): Likewise.
40240         (catan_test): Likewise.
40241         (catanh_test): Likewise.
40242         (cbrt_test): Likewise.
40243         (ccos_test): Likewise.
40244         (ccosh_test): Likewise.
40245         (ceil_test): Likewise.
40246         (cexp_test): Likewise.
40247         (cimag_test): Likewise.
40248         (clog_test): Likewise.
40249         (clog10_test): Likewise.
40250         (conj_test): Likewise.
40251         (copysign_test): Likewise.
40252         (cos_test): Likewise.
40253         (cos_test_tonearest): Likewise.
40254         (cos_test_towardzero): Likewise.
40255         (cos_test_downward): Likewise.
40256         (cos_test_upward): Likewise.
40257         (cosh_test): Likewise.
40258         (cosh_test_tonearest): Likewise.
40259         (cosh_test_towardzero): Likewise.
40260         (cosh_test_downward): Likewise.
40261         (cosh_test_upward): Likewise.
40262         (cpow_test): Likewise.
40263         (cproj_test): Likewise.
40264         (creal_test): Likewise.
40265         (csin_test): Likewise.
40266         (csinh_test): Likewise.
40267         (csqrt_test): Likewise.
40268         (ctan_test): Likewise.
40269         (ctan_test_tonearest): Likewise.
40270         (ctan_test_towardzero): Likewise.
40271         (ctan_test_downward): Likewise.
40272         (ctan_test_upward): Likewise.
40273         (ctanh_test): Likewise.
40274         (ctanh_test_tonearest): Likewise.
40275         (ctanh_test_towardzero): Likewise.
40276         (ctanh_test_downward): Likewise.
40277         (ctanh_test_upward): Likewise.
40278         (erf_test): Likewise.
40279         (erfc_test): Likewise.
40280         (exp_test): Likewise.
40281         (exp_test_tonearest): Likewise.
40282         (exp_test_towardzero): Likewise.
40283         (exp_test_downward): Likewise.
40284         (exp_test_upward): Likewise.
40285         (exp10_test): Likewise.
40286         (exp10_test_tonearest): Likewise.
40287         (exp10_test_towardzero): Likewise.
40288         (exp10_test_downward): Likewise.
40289         (exp10_test_upward): Likewise.
40290         (pow10_test): Likewise.
40291         (exp2_test): Likewise.
40292         (expm1_test): Likewise.
40293         (expm1_test_tonearest): Likewise.
40294         (expm1_test_towardzero): Likewise.
40295         (expm1_test_downward): Likewise.
40296         (expm1_test_upward): Likewise.
40297         (fabs_test): Likewise.
40298         (fdim_test): Likewise.
40299         (floor_test): Likewise.
40300         (fma_test): Likewise.
40301         (fma_test_towardzero): Likewise.
40302         (fma_test_downward): Likewise.
40303         (fma_test_upward): Likewise.
40304         (fmax_test): Likewise.
40305         (fmin_test): Likewise.
40306         (fmod_test): Likewise.
40307         (fpclassify_test): Likewise.
40308         (frexp_test): Likewise.
40309         (hypot_test): Likewise.
40310         (ilogb_test): Likewise.
40311         (isfinite_test): Likewise.
40312         (finite_test): Likewise.
40313         (isgreater_test): Likewise.
40314         (isgreaterequal_test): Likewise.
40315         (isinf_test): Likewise.
40316         (isless_test): Likewise.
40317         (islessequal_test): Likewise.
40318         (islessgreater_test): Likewise.
40319         (isnan_test): Likewise.
40320         (isnormal_test): Likewise.
40321         (issignaling_test): Likewise.
40322         (isunordered_test): Likewise.
40323         (j0_test): Likewise.
40324         (j1_test): Likewise.
40325         (jn_test): Likewise.
40326         (ldexp_test): Likewise.
40327         (lgamma_test): Likewise.
40328         (gamma_test): Likewise.
40329         (lrint_test): Likewise.
40330         (lrint_test_tonearest): Likewise.
40331         (lrint_test_towardzero): Likewise.
40332         (lrint_test_downward): Likewise.
40333         (lrint_test_upward): Likewise.
40334         (llrint_test): Likewise.
40335         (llrint_test_tonearest): Likewise.
40336         (llrint_test_towardzero): Likewise.
40337         (llrint_test_downward): Likewise.
40338         (llrint_test_upward): Likewise.
40339         (log_test): Likewise.
40340         (log10_test): Likewise.
40341         (log1p_test): Likewise.
40342         (log2_test): Likewise.
40343         (logb_test): Likewise.
40344         (logb_test_downward): Likewise.
40345         (lround_test): Likewise.
40346         (llround_test): Likewise.
40347         (modf_test): Likewise.
40348         (nearbyint_test): Likewise.
40349         (nextafter_test): Likewise.
40350         (nexttoward_test): Likewise.
40351         (pow_test): Likewise.
40352         (pow_test_tonearest): Likewise.
40353         (pow_test_towardzero): Likewise.
40354         (pow_test_downward): Likewise.
40355         (pow_test_upward): Likewise.
40356         (remainder_test): Likewise.
40357         (drem_test): Likewise.
40358         (remainder_test_tonearest): Likewise.
40359         (drem_test_tonearest): Likewise.
40360         (remainder_test_towardzero): Likewise.
40361         (drem_test_towardzero): Likewise.
40362         (remainder_test_downward): Likewise.
40363         (drem_test_downward): Likewise.
40364         (remainder_test_upward): Likewise.
40365         (drem_test_upward): Likewise.
40366         (remquo_test): Likewise.
40367         (rint_test): Likewise.
40368         (rint_test_tonearest): Likewise.
40369         (rint_test_towardzero): Likewise.
40370         (rint_test_downward): Likewise.
40371         (rint_test_upward): Likewise.
40372         (round_test): Likewise.
40373         (scalb_test): Likewise.
40374         (scalbn_test): Likewise.
40375         (scalbln_test): Likewise.
40376         (signbit_test): Likewise.
40377         (sin_test): Likewise.
40378         (sin_test_tonearest): Likewise.
40379         (sin_test_towardzero): Likewise.
40380         (sin_test_downward): Likewise.
40381         (sin_test_upward): Likewise.
40382         (sincos_test): Likewise.
40383         (sinh_test): Likewise.
40384         (sinh_test_tonearest): Likewise.
40385         (sinh_test_towardzero): Likewise.
40386         (sinh_test_downward): Likewise.
40387         (sinh_test_upward): Likewise.
40388         (sqrt_test): Likewise.
40389         (sqrt_test_tonearest): Likewise.
40390         (sqrt_test_towardzero): Likewise.
40391         (sqrt_test_downward): Likewise.
40392         (sqrt_test_upward): Likewise.
40393         (tan_test): Likewise.
40394         (tan_test_tonearest): Likewise.
40395         (tan_test_towardzero): Likewise.
40396         (tan_test_downward): Likewise.
40397         (tan_test_upward): Likewise.
40398         (tanh_test): Likewise.
40399         (tgamma_test): Likewise.
40400         (trunc_test): Likewise.
40401         (y0_test): Likewise.
40402         (y1_test): Likewise.
40403         (yn_test): Likewise.
40404         (significand_test): Likewise.
40406         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40407         individual tests in comment.
40408         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40409         (prev_max_error): New variable.
40410         (prev_real_max_error): Likewise.
40411         (prev_imag_max_error): Likewise.
40412         (compare_ulp_data): Don't refer to test names in comment.
40413         (find_test_ulps): Remove function.
40414         (find_function_ulps): Likewise.
40415         (find_complex_function_ulps): Likewise.
40416         (init_max_error): Take function name as argument.  Look up ulps
40417         for that function.
40418         (print_ulps): Remove function.
40419         (print_max_error): Use prev_max_error instead of calling
40420         find_function_ulps.
40421         (print_complex_max_error): Use prev_real_max_error and
40422         prev_imag_max_error instead of calling find_complex_function_ulps.
40423         (check_float_internal): Take max_ulp parameter instead of calling
40424         find_test_ulps.  Don't call print_ulps.
40425         (check_float): Update call to check_float_internal.
40426         (check_complex): Update calls to check_float_internal.
40427         (START): Pass argument to init_max_error.
40428         * math/gen-libm-test.pl (%results): Don't include "kind"
40429         information.
40430         (parse_ulps): Don't handle ulps of individual tests.
40431         (print_ulps_file): Likewise.
40432         (output_ulps): Likewise.
40433         * math/README.libm-test: Update.
40434         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40435         individual tests.
40436         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40437         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40438         * sysdeps/arm/libm-test-ulps: Likewise.
40439         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40440         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40441         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40442         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40443         * sysdeps/microblaze/libm-test-ulps: Likewise.
40444         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40445         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40447         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40448         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40449         * sysdeps/sh/libm-test-ulps: Likewise.
40450         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40451         * sysdeps/tile/libm-test-ulps: Likewise.
40452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40454 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40456         * math/libm-test.inc (print_complex_max_error): Check separately
40457         whether real and imaginary errors are within allowed range and
40458         pass 0 to print_complex_function_ulps instead of value within
40459         allowed range.
40461 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40463         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40464         formatting.
40465         (get_handles_fopen): Likewise.
40466         (do_write_test): Likewise.
40468         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40470         * libio/fileops.c (do_ftell): Use cached offset when
40471         available.
40472         * libio/iofwide.c (do_ftell_wide): Likewise.
40473         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40474         _IO_file_attach.
40475         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40477         [BZ #16532]
40478         * libio/libioP.h (get_file_offset): New function.
40479         * libio/fileops.c (get_file_offset): Likewise.
40480         (do_ftell): Likewise.
40481         (_IO_new_file_seekoff): Split out ftell logic.
40482         * libio/wfileops.c (do_ftell_wide): Likewise.
40483         (_IO_wfile_seekoff): Split out ftell logic.
40484         * libio/tst-ftell-active-handler.c: New test case.
40485         * libio/Makefile (tests): Add it.
40487 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40489         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40490         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40492 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40494         [BZ #16639]
40495         * nscd/connections.c (nscd_init): Call do_exit.
40496         (start_threads): Call do_exit and notify_parent.
40497         (begin_drop_privileges): Call do_exit.
40498         (finish_drop_privileges): Likewise.
40499         * nscd/selinux.c (preserve_capabilities): Likewise.
40500         (install_real_capabilities): Likewise.
40501         (nscd_selinux_enabled): Likewise.
40502         (avc_create_thread): Likewise.
40503         (avc_alloc_lock): Likewise.
40504         (nscd_avc_init): Likewise.
40505         * nscd/nscd.c (parent_fd): New static variable.
40506         (main): Create a pipe between parent and child processes.
40507         Skip closing parent_fd.
40508         (monitor_child): New function.
40509         (do_exit): Likewise.
40510         (notify_parent): Likewise.
40511         * nscd/nscd.h (notify_parent): Likewise.
40512         (do_exit): Likewise.
40514 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40516         * malloc/malloc.c (__libc_calloc): Revert last change.
40518 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40522 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40524         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40526         implementation.
40527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40528         (__libc_ifunc_impl_list): Likewise.
40529         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40530         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40531         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40532         * string/strrchr.c: Define STRRCHR.
40534 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40536         * benchtest/bench-strtok.c (simple_strtok): Delete.
40537         (strtok_string): Use as benchmark.
40538         * string/strtok (STRTOK): New macro.
40540 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40542         * manual/threads.texi: Add header and standard comments to all
40543         functions.
40545         * elf/dl-lookup.c (check_match): New function.
40546         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40547         (do_lookup_x): Remove nested function check_match. Use non-nested
40548         function check_match.
40550 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40552         * csu/Makefile (generated, before-compile): Use += rather than =.
40553         * catgets/Makefile (generated, generated-dirs): Likewise.
40554         * debug/Makefile (generated): Likewise.
40555         * dlfcn/Makefile (generated): Likewise.
40556         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40557         * iconvdata/Makefile (before-compile, generated): Likewise.
40558         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40559         * libio/Makefile (generated): Likewise.
40560         * malloc/Makefile (generated): Likewise.
40561         * manual/Makefile (generated, generated-dirs): Likewise.
40562         * misc/Makefile (generated): Likewise.
40563         * posix/Makefile (generated): Likewise.
40564         * resolv/Makefile (generated): Likewise.
40565         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40566         * timezone/Makefile (generated, generated-dirs): Likewise.
40568         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40570 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40573         power8 implementation.
40574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40575         file: POWER8 llround ifunc implementation.
40576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40577         (__lllround): Add POWER8 implementation.
40578         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40579         POWER8 llround implementation.
40581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40582         power8 implementation.
40583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40584         file: POWER8 llrint ifunc implementation.
40585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40586         Add POWER8 implementation.
40587         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40588         POWER8 llrint implementation.
40590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40591         power8 implementation.
40592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40593         file: POWER8 finite ifunc implementation.
40594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40595         Add POWER8 implementation.
40596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40597         Likewise.
40598         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40599         POWER8 finite implementation.
40600         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40603         power8 implementation.
40604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40605         file: POWER8 isinf ifunc implementation.
40606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40607         POWER8 implementation.
40608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40609         Likewise.
40610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40611         isinf implementation.
40612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40614         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40615         (INIT_ARCH): Add hwcap2 initialization.
40616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40617         power8 implementation.
40618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40619         file: POWER8 isnan ifunc implementation.
40620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40621         POWER8 implementation.
40622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40623         Likewise.
40624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40625         isnan implementation.
40626         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40628 2014-02-27  Joey Ye  <joey.ye@arm.com>
40630         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40631         (_FP_NANFRAC_Q): Set to zero.
40633 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40635         [BZ #16623]
40636         * math/auto-libm-test-in: New test inputs.
40637         * math/auto-libm-test-out: Regenerate.
40638         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40639         and DA.
40640         (__cos): Likewise.
40641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40643 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40645         * scripts/evaluate-test.sh: Take new argument indicating whether
40646         failure is expected.
40647         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40648         indicating whether failure is expected.
40649         * conform/Makefile (test-xfail-run-conformtest): New variable.
40650         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40651         level.
40652         * posix/Makefile (test-xfail-annexc): New variable.
40653         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40655 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40657         * argp/Makefile: Include Makeconfig immediately after defining
40658         subdir.
40659         * assert/Makefile: Likewise.
40660         * benchtests/Makefile: Likewise.
40661         * catgets/Makefile: Likewise.
40662         * conform/Makefile: Likewise.
40663         * crypt/Makefile: Likewise.
40664         * csu/Makefile: Likewise.
40665         (all): Remove target.
40666         * ctype/Makefile: Include Makeconfig immediately after defining
40667         subdir.
40668         * debug/Makefile: Likewise.
40669         * dirent/Makefile: Likewise.
40670         * dlfcn/Makefile: Likewise.
40671         * gmon/Makefile: Likewise.
40672         * gnulib/Makefile: Likewise.
40673         * grp/Makefile: Likewise.
40674         * gshadow/Makefile: Likewise.
40675         * hesiod/Makefile: Likewise.
40676         * hurd/Makefile: Likewise.
40677         (all): Remove target.
40678         * iconvdata/Makefile: Include Makeconfig immediately after
40679         defining subdir.
40680         * inet/Makefile: Likewise.
40681         * intl/Makefile: Likewise.
40682         * io/Makefile: Likewise.
40683         * libio/Makefile: Likewise.
40684         (all): Remove target.
40685         * locale/Makefile: Include Makeconfig immediately after defining
40686         subdir.
40687         * login/Makefile: Likewise.
40688         * mach/Makefile: Likewise.
40689         (all): Remove target.
40690         * malloc/Makefile: Include Makeconfig immediately after defining
40691         subdir.
40692         (all): Remove target.
40693         * manual/Makefile: Include Makeconfig immediately after defining
40694         subdir.
40695         * math/Makefile: Likewise.
40696         * misc/Makefile: Likewise.
40697         * nis/Makefile: Likewise.
40698         * nss/Makefile: Likewise.
40699         * po/Makefile: Likewise.
40700         (all): Remove target.
40701         * posix/Makefile: Include Makeconfig immediately after defining
40702         subdir.
40703         * pwd/Makefile: Likewise.
40704         * resolv/Makefile: Likewise.
40705         * resource/Makefile: Likewise.
40706         * rt/Makefile: Likewise.
40707         * setjmp/Makefile: Likewise.
40708         * shadow/Makefile: Likewise.
40709         * signal/Makefile: Likewise.
40710         * socket/Makefile: Likewise.
40711         * soft-fp/Makefile: Likewise.
40712         * stdio-common/Makefile: Likewise.
40713         * stdlib/Makefile: Likewise.
40714         * streams/Makefile: Likewise.
40715         * string/Makefile: Likewise.
40716         * sunrpc/Makefile: Likewise.
40717         (all): Remove target.
40718         * sysvipc/Makefile: Include Makeconfig immediately after defining
40719         subdir.
40720         * termios/Makefile: Likewise.
40721         * time/Makefile: Likewise.
40722         * timezone/Makefile: Likewise.
40723         (all): Remove target.
40724         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40725         subdir.
40726         * wctype/Makefile: Likewise.
40728 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40730         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40731         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40732         (libc_feholdexcept_setround_mips): Ditto.
40733         (libc_feholdsetround): New.
40734         (libc_feholdsetroundf): New.
40735         (libc_feholdsetroundl): New.
40736         (libc_feupdateenv_test_mips): New.
40737         (libc_feupdateenv_test): New.
40738         (libc_feupdateenv_testf): New.
40739         (libc_feupdateenv_testl): New.
40740         (libc_feresetround): New.
40741         (libc_feresetroundf): New.
40742         (libc_feresetroundl): New.
40743         (libc_fetestexcept_mips): New.
40744         (libc_fetestexcept): New.
40745         (libc_fetestexceptf): New.
40746         (libc_fetestexceptl): New.
40747         (HAVE_RM_CTX): New.
40748         (libc_feholdexcept_setround_mips_ctx): New.
40749         (libc_feholdexcept_setround_ctx): New.
40750         (libc_feholdexcept_setroundf_ctx): New.
40751         (libc_feholdexcept_setroundl_ctx): New.
40752         (libc_fesetenv_mips_ctx): New.
40753         (libc_fesetenv_ctx): New.
40754         (libc_fesetenv_ctxf): New.
40755         (libc_fesetenv_ctxl): New.
40756         (libc_feupdateenv_mips_ctx): New.
40757         (libc_feupdateenv_ctx): New.
40758         (libc_feupdateenvf_ctx): New.
40759         (libc_feupdateenvl_ctx): New.
40760         (libc_feholdsetround_mips_ctx): New.
40761         (libc_feholdsetround_ctx): New.
40762         (libc_feholdsetroundf_ctx): New.
40763         (libc_feholdsetroundl_ctx): New.
40764         (libc_feresetround_mips_ctx): New.
40765         (libc_feresetround_ctx): New.
40766         (libc_feresetroundf_ctx): New.
40767         (libc_feresetroundl_ctx): New.
40769 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40771         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40773         * manual/ipc.texi: New file.
40774         * manual/Makefile (chapters): Add ipc.
40775         * manual/job.texi: Add "Inter-Process Communication" to next.
40776         * manual/process.texi: Add "Inter-Process Communication" to prev.
40778 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40782 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40784         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40786         * manual/arith.texi: Fix spaces after sentences.
40787         * manual/charset.texi: Likewise.
40788         * manual/errno.texi: Likewise.
40789         * manual/install.texi: Likewise.
40790         * manual/llio.texi: Likewise.
40791         * manual/locale.texi: Likewise.
40792         * manual/maint.texi: Likewise.
40793         * manual/math.texi: Likewise.
40794         * manual/memory.texi: Likewise.
40795         * manual/message.texi: Likewise.
40796         * manual/probes.texi: Likewise.
40797         * manual/resource.texi: Likewise.
40798         * manual/signal.texi: Likewise.
40799         * manual/socket.texi: Likewise.
40800         * manual/stdio.texi: Likewise.
40801         * manual/string.texi: Likewise.
40802         * manual/time.texi: Likewise.
40803         * manual/users.texi: Likewise.
40805 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40807         [BZ #16632]
40808         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40809         _DEFAULT_SOURCE is defined.
40811 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40812             Carlos O'Donell  <carlos@redhat.com>
40814         [BZ #16613]
40815         * elf/dl-tls.c (_dl_count_modids): New function.
40816         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40817         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40818         audit library and increment generation counter.
40819         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40820         * elf/tst-audit9.c: New file.
40821         * elf/tst-auditmod9a.c: New file.
40822         * elf/tst-auditmod9b.c: New file.
40823         * elf/Makefile: Add rules to build and run tst-audit9.
40825 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40827         [BZ #15347]
40828         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40830 2014-02-25  Will Newton  <will.newton@linaro.org>
40832         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40833         (__longjmp): Restore sp and lr before restoring callee
40834         saved registers.  Add longjmp and longjmp_target
40835         SystemTap probe point.
40836         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40837         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40838         Define to zero to match jmpbuf layout.
40839         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40840         (__sigsetjmp): Save sp and lr before saving callee
40841         saved registers.  Add setjmp SystemTap probe point.
40843 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40845         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40847 2014-02-24  Andreas Schwab  <schwab@suse.de>
40849         [BZ #15804]
40850         * elf/pldd.c (wait_for_ptrace_stop): New function.
40851         (main): Call it after attaching.
40853 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40855         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40856         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40857         Versions files is now verboten.
40858         * hurd/Versions (libc: GLIBC_2.0):
40859         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40860         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40861         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40862         * mach/Versions: Likewise.
40864         * csu/Versions: Remove unused %include.
40865         * resolv/Versions: Likewise.
40867 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40869         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40870         ($(objpfx)check-local-headers.out): Likewise.
40871         ($(objpfx)begin-end-check.out): Likewise.
40872         * Makerules (check-abi-%.out): Likewise.
40873         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40874         ($(objpfx)test2.cat): Likewise.
40875         ($(objpfx)de/libc.cat): Likewise.
40876         ($(objpfx)test-gencat.out): Likewise.
40877         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40878         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40879         ($(objpfx)noload-mem): Likewise.
40880         ($(objpfx)tst-pathopt.out): Likewise.
40881         ($(objpfx)tst-rtld-load-self.out): Likewise.
40882         ($(objpfx)tst-array1-cmp.out): Likewise.
40883         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40884         ($(objpfx)tst-array2-cmp.out): Likewise.
40885         ($(objpfx)tst-array3-cmp.out): Likewise.
40886         ($(objpfx)tst-array4-cmp.out): Likewise.
40887         ($(objpfx)tst-array5-cmp.out): Likewise.
40888         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40889         ($(objpfx)check-textrel.out): Likewise.
40890         ($(objpfx)check-execstack.out): Likewise.
40891         ($(objpfx)check-localplt.out): Likewise.
40892         ($(objpfx)order2-cmp.out): Likewise.
40893         ($(objpfx)tst-leaks1-mem): Likewise.
40894         ($(objpfx)tst-leaks1-static-mem): Likewise.
40895         ($(objpfx)tst-initorder-cmp.out): Likewise.
40896         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40897         ($(objpfx)tst-unused-dep.out): Likewise.
40898         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40899         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40900         * iconv/Makefile (test-iconvconfig): Likewise.
40901         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40902         ($(objpfx)iconv-test.out): Likewise.
40903         ($(objpfx)tst-tables.out): Likewise.
40904         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40905         ($(objpfx)tst-gettext.out): Likewise.
40906         ($(objpfx)tst-translit.out): Likewise.
40907         ($(objpfx)tst-gettext2.out): Likewise.
40908         ($(objpfx)tst-gettext4.out): Likewise.
40909         ($(objpfx)tst-gettext6.out): Likewise.
40910         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40911         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40912         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40913         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40914         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40915         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40916         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40917         ($(objpfx)wordexp-tst.out): Likewise.
40918         ($(objpfx)annexc.out): Likewise.
40919         ($(objpfx)tst-fnmatch-mem): Likewise.
40920         ($(objpfx)bug-regex2-mem): Likewise.
40921         ($(objpfx)bug-regex14-mem): Likewise.
40922         ($(objpfx)bug-regex21-mem): Likewise.
40923         ($(objpfx)bug-regex31-mem): Likewise.
40924         ($(objpfx)tst-vfork3-mem): Likewise.
40925         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40926         ($(objpfx)tst-pcre-mem): Likewise.
40927         ($(objpfx)tst-boost-mem): Likewise.
40928         ($(objpfx)tst-getconf.out): Likewise.
40929         ($(objpfx)bug-ga2-mem): Likewise.
40930         ($(objpfx)bug-glob2-mem): Likewise.
40931         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40932         ($(objpfx)mtrace-tst-leaks2): Likewise.
40933         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40934         ($(objpfx)tst-printf.out): Likewise.
40935         ($(objpfx)tst-setvbuf1.out): Likewise.
40936         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40937         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40938         ($(objpfx)tst-fmtmsg.out): Likewise.
40939         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40940         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40942         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40943         * bits/sigaction.h [__USE_MISC]: Likewise.
40944         * bits/waitstatus.h: Update #endif comments.
40945         * ctype/ctype.h: Likewise.
40946         * dirent/dirent.h: Likewise.
40947         [__USE_MISC]: Remove redundant conditionals.
40948         * grp/grp.h: Update #endif comments.
40949         [__USE_GNU]: Remove redundant conditionals.
40950         [__USE_MISC]: Likewise.
40951         * inet/netinet/in.h [__USE_GNU]: Likewise.
40952         * io/sys/stat.h [__USE_MISC]: Likewise.
40953         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40954         * libio/bits/stdio.h: Update #endif comments.
40955         [__USE_MISC]: Remove redundant conditionals.
40956         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40957         * libio/stdio.h: Update #endif comments.
40958         [__USE_MISC]: Remove redundant conditionals.
40959         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40960         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40961         * math/math.h: Update #else and #endif comments.
40962         [__USE_MISC]: Remove redundant conditionals.
40963         * misc/sys/uio.h: Update #endif comments.
40964         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40965         * posix/glob.h [__USE_MISC]: Likewise.
40966         * posix/sys/types.h: Update #endif comments.
40967         [__USE_MISC]: Remove redundant conditionals.
40968         * posix/sys/wait.h: Update #endif comments.
40969         [__USE_MISC]: Remove redundant conditionals.
40970         * posix/unistd.h: Update #endif comments.
40971         [__USE_MISC]: Remove redundant conditionals.
40972         * pwd/pwd.h [__USE_GNU]: Likewise.
40973         [__USE_MISC]: Likewise.
40974         * resolv/netdb.h [__USE_GNU]: Likewise.
40975         * signal/signal.h: Update #endif comments.
40976         [__USE_MISC]: Remove redundant conditionals.
40977         * stdlib/stdlib.h: Update #else and #endif comments.
40978         [__USE_MISC]: Remove redundant conditionals.
40979         [__USE_GNU]: Likewise.
40980         * string/bits/string2.h [__USE_MISC]: Likewise.
40981         * string/string.h: Update #endif comments.
40982         [__USE_MISC]: Remove redundant conditionals.
40983         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40984         Likewise.
40985         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40986         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40987         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40988         Likewise.
40989         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40990         Likewise.
40991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40992         comments.
40993         [__USE_MISC]: Remove redundant conditionals.
40994         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40995         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40996         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40997         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40998         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40999         Likewise.
41000         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41001         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41002         Likewise.
41003         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41004         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41005         Likewise.
41006         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41007         Likewise.
41008         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41009         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41010         Likewise.
41011         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41012         Likewise.
41013         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41014         * sysdeps/x86/bits/string.h: Update #endif comments.
41015         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41016         conditionals.
41017         * time/sys/time.h: Update #endif comments.
41018         * time/time.h: Likewise.
41019         [__USE_MISC]: Remove redundant conditionals.
41021 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41023         [BZ #16600]
41024         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41026 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41028         * Versions.def (librt): Add GLIBC_2.17.
41030 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41032         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41033         synonym for _SYS_AUXV_H to allow direct inclusion.
41034         * sysdeps/sparc/bits/hwcap.h: Likewise.
41035         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41036         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41037         * sysdeps/sparc/sysdep.h: Likewise.
41039 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41041         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41043 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41045         * benchtests/bench-strrchr.c: Print length instead of position.
41047 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #16611]
41050         * sysdeps/unix/sysv/linux/kernel-features.h
41051         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41052         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41053         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41054         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41055         Likewise.
41056         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41057         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41058         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41059         (__ASSUME_SENDMMSG): Define instead of using previous
41060         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41061         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41062         (__ASSUME_SENDMMSG_SYSCALL): Define.
41063         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41064         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41065         Likewise.
41066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41067         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41068         Likewise.
41069         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41070         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41071         Likewise.
41072         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41073         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41074         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41075         [__ASSUME_SENDMMSG]: Change conditionals to
41076         [__ASSUME_SENDMMSG_SOCKETCALL].
41077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41078         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41079         Define.
41080         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41081         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41082         Likewise.
41083         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41084         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41085         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41086         [!__ASSUME_SENDMMSG]: Change conditional to
41087         [!__ASSUME_SENDMMSG_SOCKETCALL].
41088         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41089         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41090         Define.
41092         [BZ #16610]
41093         * sysdeps/unix/sysv/linux/kernel-features.h
41094         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41095         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41096         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41097         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41098         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41099         [__i386__ || __sparc__]
41100         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41101         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41102         (__ASSUME_RECVMMSG): Define instead of using previous
41103         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41104         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41105         (__ASSUME_RECVMMSG_SYSCALL): Define.
41106         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41107         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41108         Likewise.
41109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41110         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41111         Likewise.
41112         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41114         Likewise.
41115         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41116         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41117         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41118         [__ASSUME_RECVMMSG]: Change condition to
41119         [__ASSUME_RECVMMSG_SOCKETCALL].
41120         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41121         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41122         Define.
41123         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41124         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41126         Likewise.
41127         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41128         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41129         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41130         [!__ASSUME_RECVMMSG]: Change condition to
41131         [!__ASSUME_RECVMMSG_SOCKETCALL].
41132         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41133         (__ASSUME_RECVMMSG_SYSCALL): Define.
41135         [BZ #16609]
41136         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41137         __powerpc__ || __s390__ || __sh__ || __sparc__]
41138         (__ASSUME_SOCKETCALL): Define.
41139         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41140         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41141         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41142         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41143         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41144         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41145         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41146         (__ASSUME_ACCEPT4): Define instead of using previous
41147         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41148         __powerpc__ || __sparc__ || __s390__)] condition.
41149         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41150         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41151         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41152         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41153         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41154         [!__ASSUME_ACCEPT4]: Change condition to
41155         [!__ASSUME_ACCEPT4_SOCKETCALL].
41156         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41157         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41158         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41159         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41160         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41161         __ASSUME_ACCEPT4_SYSCALL.
41162         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41163         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41164         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41165         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41166         __ASSUME_ACCEPT4_SYSCALL.
41167         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41168         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41169         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41170         [__ASSUME_ACCEPT4]: Change condition to
41171         [__ASSUME_ACCEPT4_SOCKETCALL].
41172         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41173         (__ASSUME_SOCKETCALL): Define.
41174         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41176         (__ASSUME_SOCKETCALL): Define.
41177         (__ASSUME_ACCEPT4): Remove.
41178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41179         Define.
41180         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41181         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41182         Likewise.
41183         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41184         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41186         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41187         macro.
41188         (HWCAP_ARM_LPAE): Likewise.
41189         (HWCAP_ARM_EVTSTRM): Likewise.
41190         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41191         Add vpfd32, lpae and evtstrm.
41192         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41193         Increase to 22.
41195 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41197         * math/auto-libm-test-in: Add tests of clog10.
41198         * math/auto-libm-test-out: Regenerated.
41199         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41200         * sysdeps/i386/fpu/libm-test-ulps: Update.
41201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41203 2014-02-18  Andreas Schwab  <schwab@suse.de>
41205         [BZ #16574]
41206         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41207         Store non-zero if the second buffer was newly allocated.
41208         (send_dg): Likewise.
41209         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41210         to send_vc and send_dg.
41211         (res_nsend): Pass NULL for ansp2_malloced.
41212         * resolv/res_query.c (__libc_res_nquery): Add parameter
41213         answerp2_malloced and pass it down to __libc_res_nsend.
41214         (res_nquery): Pass additional NULL to __libc_res_nquery.
41215         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41216         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41217         second answer buffer if answerp2_malloced was set.
41218         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41219         (__libc_res_nquerydomain): Add parameter
41220         answerp2_malloced and pass it down to __libc_res_nquery.
41221         (res_nquerydomain): Pass additional NULL to
41222         __libc_res_nquerydomain.
41223         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41224         additional NULL to __libc_res_nsend and __libc_res_nquery.
41225         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41226         additional NULL to __libc_res_nsearch.
41227         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41228         parameter of __libc_res_nsearch to check for separately allocated
41229         second buffer.
41230         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41231         __libc_res_nquery.
41232         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41233         additional NULL to __libc_res_nquery.
41234         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41235         __libc_res_nsearch.
41236         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41237         * include/resolv.h: Update prototypes of __libc_res_nquery,
41238         __libc_res_nsearch, __libc_res_nsend.
41240 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41242         * math/auto-libm-test-in: Add tests of fma.
41243         * math/auto-libm-test-out: Regenerated.
41244         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41245         (fma_towardzero_test_data): Likewise.
41246         (fma_downward_test_data): Likewise.
41247         (fma_upward_test_data): Likewise.
41248         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41249         mpc_mode.
41250         (rounding_modes): Add values for new field.
41251         (func_calc_method): Add value mpfr_fff_f.
41252         (func_calc_desc): Add mpfr_fff_f union field.
41253         (test_function): Add field exact_args.
41254         (FUNC): Add macro argument EXACT_ARGS.
41255         (FUNC_mpfr_f_f): Update call to FUNC.
41256         (FUNC_mpfr_f_f): Likewise.
41257         (FUNC_mpfr_ff_f): Likewise.
41258         (FUNC_mpfr_if_f): Likewise.
41259         (FUNC_mpc_c_f): Likewise.
41260         (FUNC_mpc_c_c): Likewise.
41261         (test_functions): Add fma.  Update calls to FUNC.
41262         (handle_input_arg): Add argument exact_args.
41263         (add_test): Update call to handle_input_arg.
41264         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41265         (output_for_one_input_case): Update call to calc_generic_results.
41266         Recalculate exact zero results in each rounding mode.
41268         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41269         non-negative before setting low bit.
41270         * math/auto-libm-test-in: Mark one asin test possibly having
41271         spurious underflow.
41272         * math/auto-libm-test-out: Regenerated.
41273         * sysdeps/i386/fpu/libm-test-ulps: Update.
41274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41276 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41278         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41279         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41280         ports/sysdeps/unix/sysv/linux/microblaze.
41281         * README: Add missing listing for microblaze*-*-linux-gnu.
41283 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41285         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41286         duplicate code
41288 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41290         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41291         * sysdeps/unix/sysv/linux/ia64: Move directory from
41292         ports/sysdeps/unix/sysv/linux/ia64.
41293         * README: Update listing for ia64-*-linux-gnu.
41295 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41296             Joseph Myers  <joseph@codesourcery.com>
41298         * Makeconfig (test-name): New variable.
41299         (evaluate-test): Likewise.
41300         * Makerules (do-test-clean): Remove .test-result files.
41301         (common-mostlyclean): Likewise.
41302         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41303         * scripts/evaluate-test.sh: New file.
41305 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41307         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41308         separate $(objpfx)tst-fopenloc-cmp.out and
41309         $(objpfx)tst-fopenloc-mem.out targets.
41310         (tests): Update dependencies.
41311         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41312         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41313         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41314         (tst-rxspencer-no-utf8-ARGS): New variable.
41315         (tst-rxspencer-no-utf8-ENV): Likewise.
41316         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41317         instead of $(objpfx)tst-rxspencer-mem.
41318         ($(objpfx)tst-rxspencer-mem): Change target to
41319         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41320         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41321         * posix/tst-rxspencer-no-utf8.c: New file.
41323         * elf/Makefile ($(objpfx)order.out): Remove rule.
41324         [$(run-built-tests) = yes] (tests): Depend on
41325         $(objpfx)order-cmp.out.
41326         ($(objpfx)order-cmp.out): New rule.
41327         [$(run-built-tests) = yes] (tests): Depend on
41328         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41329         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41330         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41331         $(objpfx)tst-array5-static-cmp.out.
41332         ($(objpfx)tst-array1.out): Remove rule.
41333         ($(objpfx)tst-array1-cmp.out): New rule.
41334         ($(objpfx)tst-array1-static.out): Remove rule.
41335         ($(objpfx)tst-array1-static-cmp.out): New rule.
41336         ($(objpfx)tst-array2.out): Remove rule.
41337         ($(objpfx)tst-array2-cmp.out): New rule.
41338         ($(objpfx)tst-array3.out): Remove rule.
41339         ($(objpfx)tst-array3-cmp.out): New rule.
41340         ($(objpfx)tst-array4.out): Remove rule.
41341         ($(objpfx)tst-array4-cmp.out): New rule.
41342         ($(objpfx)tst-array5.out): Remove rule.
41343         ($(objpfx)tst-array5-cmp.out): New rule.
41344         ($(objpfx)tst-array5-static.out): Remove rule.
41345         ($(objpfx)tst-array5-static-cmp.out): New rule.
41346         [$(run-built-tests) = yes] (tests): Depend on
41347         $(objpfx)order2-cmp.out.
41348         ($(objpfx)order2.out): Remove rule.
41349         ($(objpfx)order2-cmp.out): New rule.
41350         ($(objpfx)tst-initorder.out): Remove rule.
41351         [$(run-built-tests) = yes] (tests): Depend on
41352         $(objpfx)tst-initorder-cmp.out.
41353         ($(objpfx)tst-initorder-cmp.out): New rule.
41354         ($(objpfx)tst-initorder2.out): Remove rule.
41355         [$(run-built-tests) = yes] (tests): Depend on
41356         $(objpfx)tst-initorder2-cmp.out.
41357         ($(objpfx)tst-initorder2-cmp.out): New rule.
41358         [$(run-built-tests) = yes] (tests): Depend on
41359         $(objpfx)tst-unused-dep-cmp.out.
41360         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41361         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41362         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41363         on $(objpfx)tst-setvbuf1-cmp.out.
41364         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41365         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41366         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41367         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41368         ($(objpfx)tst-svc.out): Remove rule.
41369         ($(objpfx)tst-svc-cmp.out): New rule.
41371 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41373         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41374         * ctype/ctype.h [__USE_MISC]: Likewise.
41375         * dirent/dirent.h [__USE_MISC]: Likewise.
41376         * grp/grp.h [__USE_MISC]: Likewise.
41377         * io/fcntl.h [__USE_MISC]: Likewise.
41378         * io/sys/stat.h [__USE_MISC]: Likewise.
41379         * libio/stdio.h [__USE_MISC]: Likewise.
41380         * posix/unistd.h [__USE_MISC]: Likewise.
41381         * pwd/pwd.h [__USE_MISC]: Likewise.
41382         * stdlib.h [__USE_MISC]: Likewise.
41383         * string/bits/string2.h [__USE_MISC]: Likewise.
41384         * string/string.h [__USE_MISC]: Likewise.
41385         * time/time.h [__USE_MISC]: Likewise.
41387 2014-02-13  Andreas Schwab  <schwab@suse.de>
41389         [BZ #16574]
41390         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41391         second answer buffer if it was separately allocated.
41393 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41395         * sysdeps/mips/math-tests.h: Include <features.h>.
41396         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41397         (ROUNDING_TESTS_long_double): Do not define.
41398         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41399         (EXCEPTION_TESTS_long_double): Likewise.
41400         * sysdeps/mips/mips64/libm-test-ulps: Update.
41402         * include/features.h (__USE_BSD): Remove macro definitions.
41403         (__USE_SVID): Likewise.
41404         (_BSD_SOURCE): Likewise.
41405         (_SVID_SOURCE): Likewise.
41406         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41407         from definition of _DEFAULT_SOURCE.
41408         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41409         [_DEFAULT_SOURCE].
41410         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41411         * bits/mman.h [__USE_BSD]: Likewise.
41412         * bits/termios.h [__USE_BSD]: Likewise.
41413         * bits/waitstatus.h [__USE_BSD]: Likewise.
41414         * ctype/ctype.h [__USE_SVID]: Likewise.
41415         * dirent/dirent.h [__USE_BSD]: Likewise.
41416         * grp/grp.h [__USE_SVID]: Likewise.
41417         [__USE_BSD]: Likewise.
41418         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41419         * io/fcntl.h [__USE_BSD]: Likewise.
41420         * io/ftw.h [__USE_BSD]: Likewise.
41421         * io/sys/stat.h [__USE_BSD]: Likewise.
41422         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41423         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41424         * libio/stdio.h [__USE_SVID]: Likewise.
41425         [__USE_BSD]: Likewise.
41426         * math/math.h [__USE_SVID]: Likewise.
41427         [__USE_BSD]: Likewise.
41428         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41429         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41430         * misc/search.h [__USE_SVID]: Likewise.
41431         * misc/sys/mman.h [__USE_BSD]: Likewise.
41432         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41433         * misc/sys/uio.h [__USE_BSD]: Likewise.
41434         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41435         * posix/glob.h [__USE_BSD]: Likewise.
41436         * posix/regex.h [__USE_BSD]: Likewise.
41437         * posix/sys/types.h [__USE_BSD]: Likewise.
41438         [__USE_SVID]: Likewise.
41439         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41440         * posix/sys/wait.h [__USE_BSD]: Likewise.
41441         [__USE_SVID]: Likewise.
41442         * posix/unistd.h [__USE_BSD]: Likewise.
41443         [__USE_SVID]: Likewise.
41444         * pwd/pwd.h [__USE_SVID]: Likewise.
41445         * resolv/netdb.h [__USE_BSD]: Likewise.
41446         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41447         * signal/signal.h [__USE_BSD]: Likewise.
41448         [__USE_SVID]: Likewise.
41449         * socket/sys/socket.h [__USE_BSD]: Likewise.
41450         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41451         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41452         [__USE_SVID]: Likewise.
41453         * string/bits/string2.h [__USE_BSD]: Likewise.
41454         [__USE_SVID]: Likewise.
41455         * string/bits/string3.h [__USE_BSD]: Likewise.
41456         * string/endian.h [__USE_BSD]: Likewise.
41457         * string/string.h [__USE_SVID]: Likewise.
41458         [__USE_BSD]: Likewise.
41459         * string/strings.h [__USE_BSD]: Likewise.
41460         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41461         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41462         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41463         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41464         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41465         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41466         Likewise.
41467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41468         Likewise.
41469         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41470         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41471         Likewise.
41472         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41473         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41474         Likewise.
41475         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41476         Likewise.
41477         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41478         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41479         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41480         Likewise.
41481         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41482         Likewise.
41483         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41484         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41485         * termios/termios.h [__USE_BSD]: Likewise.
41486         * time/sys/time.h [__USE_BSD]: Likewise.
41487         * time/time.h [__USE_BSD]: Likewise.
41488         [__USE_SVID]: Likewise.
41490         * Makefile (subdir_targets): Remove subdir_lint.out.
41492         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41493         (do-tst-printf): Likewise.
41494         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41495         $(objpfx)tst-printf.out.
41497         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41499         * Makerules (check-abi-%): Change target to
41500         $(objpfx)check-abi-%.out.
41501         (check-abi target): Update dependencies.
41502         (check-abi-pattern variable): Redirect output of diff to $@.
41503         (check-abi variable): Likewise.
41504         * elf/Makefile (check-abi): Update dependencies.
41506         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41507         unused.
41508         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41509         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41510         subnormal range.
41511         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41512         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41513         value has largest subnormal exponent.
41514         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41515         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41516         * sysdeps/aarch64/soft-fp/sfp-machine.h
41517         (_FP_TININESS_AFTER_ROUNDING): New macro.
41518         * sysdeps/alpha/soft-fp/sfp-machine.h
41519         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41520         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41521         Likewise.
41522         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41523         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41524         * sysdeps/mips/soft-fp/sfp-machine.h
41525         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41526         * sysdeps/powerpc/soft-fp/sfp-machine.h
41527         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41528         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41529         Likewise.
41530         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41531         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41532         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41533         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41534         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41535         Likewise.
41537 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41539         [BZ #16545]
41540         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41541         model 1.
41543 2014-02-12  Richard Henderson  <rth@redhat.com>
41545         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41546         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41547         * sysdeps/unix/sysv/linux/alpha: Move directory from
41548         ports/sysdeps/unix/sysv/linux/alpha.
41549         * README: Update listing for alpha-*-linux-gnu.
41551 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41553         * include/features.h: Update comment documenting feature test
41554         macros.
41555         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41556         _DEFAULT_SOURCE.
41557         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41558         (_SVID_SOURCE): Likewise.
41559         (_DEFAULT_SOURCE): Update description of default features.
41560         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41561         with _GNU_SOURCE.
41562         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41563         (S_ISVTX): Likewise.
41564         * manual/math.texi (Mathematical Constants): Likewise.
41565         * manual/signal.texi (Interrupted Primitives): Likewise.
41566         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41567         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41568         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41569         Don't refer to _SVID_SOURCE in warning text.
41571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41573         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41574         already defined.
41575         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41576         * sysdeps/mips/dl-lookup.c: Remove.
41577         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41579 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41581         [BZ #16447]
41582         * math/auto-libm-test-in: Add testcase for expl.
41583         * math/auto-libm-test-out: Regenerate.
41584         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41585         calculation of unsafe.
41586         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41588 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41590         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41591         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41592         ports/sysdeps/unix/sysv/linux/aarch64.
41593         * README: Update listing for aarch64*-*-linux-gnu.
41595 2014-02-11  Will Newton  <will.newton@linaro.org>
41597         * manual/probes.texi (Mathematical Function Probes): Use
41598         "triggered" instead of "hit".
41600         * manual/probes.texi (Internal Probes): Add documentation
41601         of setjmp, longjmp and longjmp_target probes.
41603         * include/stap-probe.h: Add comment about probe argument
41604         format.
41606         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41607         definition.  (tr_where, tr_freehook, tr_mallochook,
41608         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41610 2014-02-11  David S. Miller  <davem@davemloft.net>
41612         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41613         processing int_tests.
41615 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41617         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41618         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41619         * sysdeps/unix/sysv/linux/mips: Move directory from
41620         ports/sysdeps/unix/sysv/linux/mips.
41621         * README: Update listing for mips-*-linux-gnu and
41622         mips64-*-linux-gnu.
41624 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41626         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41627         * sysdeps/unix/sysv/linux/m68k: Move directory from
41628         ports/sysdeps/unix/sysv/linux/m68k.
41629         * README: Update listing for m68k-*-linux-gnu.
41631 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41633         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41634         * sysdeps/unix/sysv/linux/generic: Move directory from
41635         ports/sysdeps/unix/sysv/linux/generic.
41636         * sysdeps/unix/sysv/linux/tile: Move directory from
41637         ports/sysdeps/unix/sysv/linux/tile.
41638         * README: Update listing for tile*-*-linux-gnu.
41640 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41642         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41643         __builtin_expect.
41644         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41645         * catgets/open_catalog.c (__open_catalog): Likewise.
41646         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41647         * debug/confstr_chk.c: Likewise.
41648         * debug/fread_chk.c (__fread_chk): Likewise.
41649         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41650         * debug/getgroups_chk.c: Likewise.
41651         * debug/mbsnrtowcs_chk.c: Likewise.
41652         * debug/mbsrtowcs_chk.c: Likewise.
41653         * debug/mbstowcs_chk.c: Likewise.
41654         * debug/memcpy_chk.c: Likewise.
41655         * debug/memmove_chk.c: Likewise.
41656         * debug/mempcpy_chk.c: Likewise.
41657         * debug/memset_chk.c: Likewise.
41658         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41659         * debug/strcat_chk.c (__strcat_chk): Likewise.
41660         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41661         * debug/strncat_chk.c (__strncat_chk): Likewise.
41662         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41663         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41664         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41665         * debug/wcpncpy_chk.c: Likewise.
41666         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41667         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41668         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41669         * debug/wcsncpy_chk.c: Likewise.
41670         * debug/wcsnrtombs_chk.c: Likewise.
41671         * debug/wcsrtombs_chk.c: Likewise.
41672         * debug/wcstombs_chk.c: Likewise.
41673         * debug/wmemcpy_chk.c: Likewise.
41674         * debug/wmemmove_chk.c: Likewise.
41675         * debug/wmempcpy_chk.c: Likewise.
41676         * debug/wmemset_chk.c: Likewise.
41677         * dirent/scandirat.c (SCANDIRAT): Likewise.
41678         * dlfcn/dladdr1.c (dladdr1): Likewise.
41679         * dlfcn/dladdr.c (dladdr): Likewise.
41680         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41681         * dlfcn/dlerror.c (__dlerror): Likewise.
41682         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41683         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41684         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41685         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41686         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41687         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41688         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41689         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41690         Likewise.
41691         * elf/dl-conflict.c: Likewise.
41692         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41693         * elf/dl-dst.h: Likewise.
41694         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41695         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41696         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41697         * elf/dl-init.c (call_init, _dl_init): Likewise.
41698         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41699         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41700         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41701         Likewise.
41702         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41703         Likewise.
41704         * elf/dl-minimal.c (__libc_memalign): Likewise.
41705         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41706         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41707         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41708         * elf/dl-sym.c (do_sym): Likewise.
41709         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41710         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41711         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41712         * elf/dl-writev.h (_dl_writev): Likewise.
41713         * elf/ldconfig.c (search_dir): Likewise.
41714         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41715         (dl_main): Likewise.
41716         * elf/setup-vdso.h (setup_vdso): Likewise.
41717         * grp/compat-initgroups.c (compat_call): Likewise.
41718         * grp/fgetgrent.c (fgetgrent): Likewise.
41719         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41720         * grp/putgrent.c (putgrent): Likewise.
41721         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41722         Likewise.
41723         * hurd/hurdinit.c: Likewise.
41724         * iconvdata/8bit-gap.c (struct): Likewise.
41725         * iconvdata/ansi_x3.110.c : Likewise.
41726         * iconvdata/big5.c : Likewise.
41727         * iconvdata/big5hkscs.c : Likewise.
41728         * iconvdata/cp1255.c: Likewise.
41729         * iconvdata/cp1258.c : Likewise.
41730         * iconvdata/cp932.c : Likewise.
41731         * iconvdata/euc-cn.c: Likewise.
41732         * iconvdata/euc-jisx0213.c : Likewise.
41733         * iconvdata/euc-jp.c: Likewise.
41734         * iconvdata/euc-jp-ms.c : Likewise.
41735         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41736         * iconvdata/gb18030.c : Likewise.
41737         * iconvdata/gbbig5.c (const): Likewise.
41738         * iconvdata/gbgbk.c: Likewise.
41739         * iconvdata/gbk.c : Likewise.
41740         * iconvdata/ibm1364.c : Likewise.
41741         * iconvdata/ibm930.c : Likewise.
41742         * iconvdata/ibm932.c: Likewise.
41743         * iconvdata/ibm933.c : Likewise.
41744         * iconvdata/ibm935.c : Likewise.
41745         * iconvdata/ibm937.c : Likewise.
41746         * iconvdata/ibm939.c : Likewise.
41747         * iconvdata/ibm943.c: Likewise.
41748         * iconvdata/iso_11548-1.c: Likewise.
41749         * iconvdata/iso-2022-cn.c : Likewise.
41750         * iconvdata/iso-2022-cn-ext.c : Likewise.
41751         * iconvdata/iso-2022-jp-3.c: Likewise.
41752         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41753         * iconvdata/iso-2022-kr.c : Likewise.
41754         * iconvdata/iso646.c (gconv_end): Likewise.
41755         * iconvdata/iso_6937-2.c : Likewise.
41756         * iconvdata/iso_6937.c : Likewise.
41757         * iconvdata/iso8859-1.c: Likewise.
41758         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41759         * iconvdata/shift_jisx0213.c : Likewise.
41760         * iconvdata/sjis.c : Likewise.
41761         * iconvdata/t.61.c : Likewise.
41762         * iconvdata/tcvn5712-1.c : Likewise.
41763         * iconvdata/tscii.c: Likewise.
41764         * iconvdata/uhc.c : Likewise.
41765         * iconvdata/unicode.c (gconv_end): Likewise.
41766         * iconvdata/utf-16.c (gconv_end): Likewise.
41767         * iconvdata/utf-32.c (gconv_end): Likewise.
41768         * iconvdata/utf-7.c (base64): Likewise.
41769         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41770         * iconv/gconv_close.c (__gconv_close): Likewise.
41771         * iconv/gconv_open.c (__gconv_open): Likewise.
41772         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41773         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41774         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41775         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41776         (ucs4le_internal_loop_single): Likewise.
41777         * iconv/iconv.c (iconv): Likewise.
41778         * iconv/iconv_close.c: Likewise.
41779         * iconv/loop.c (SINGLE): Likewise.
41780         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41781         * include/atomic.h: Likewise.
41782         * inet/inet6_option.c (option_alloc): Likewise.
41783         * intl/bindtextdom.c (set_binding_values): Likewise.
41784         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41785         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41786         * intl/localealias.c (read_alias_file): Likewise.
41787         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41788         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41789         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41790         * libio/fmemopen.c (fmemopen): Likewise.
41791         * libio/iofgets.c (_IO_fgets): Likewise.
41792         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41793         * libio/iofgetws.c (fgetws): Likewise.
41794         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41795         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41796         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41797         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41798         * locale/findlocale.c (_nl_find_locale): Likewise.
41799         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41800         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41801         Likewise.
41802         * locale/setlocale.c (setlocale): Likewise.
41803         * login/programs/pt_chown.c (main): Likewise.
41804         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41805         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41806         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41807         (mmap, mmap64, mremap, munmap): Likewise.
41808         * math/e_exp2l.c: Likewise.
41809         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41810         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41811         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41812         * math/s_catan.c (__catan): Likewise.
41813         * math/s_catanf.c (__catanf): Likewise.
41814         * math/s_catanh.c (__catanh): Likewise.
41815         * math/s_catanhf.c (__catanhf): Likewise.
41816         * math/s_catanhl.c (__catanhl): Likewise.
41817         * math/s_catanl.c (__catanl): Likewise.
41818         * math/s_ccosh.c (__ccosh): Likewise.
41819         * math/s_ccoshf.c (__ccoshf): Likewise.
41820         * math/s_ccoshl.c (__ccoshl): Likewise.
41821         * math/s_cexp.c (__cexp): Likewise.
41822         * math/s_cexpf.c (__cexpf): Likewise.
41823         * math/s_cexpl.c (__cexpl): Likewise.
41824         * math/s_clog10.c (__clog10): Likewise.
41825         * math/s_clog10f.c (__clog10f): Likewise.
41826         * math/s_clog10l.c (__clog10l): Likewise.
41827         * math/s_clog.c (__clog): Likewise.
41828         * math/s_clogf.c (__clogf): Likewise.
41829         * math/s_clogl.c (__clogl): Likewise.
41830         * math/s_csin.c (__csin): Likewise.
41831         * math/s_csinf.c (__csinf): Likewise.
41832         * math/s_csinh.c (__csinh): Likewise.
41833         * math/s_csinhf.c (__csinhf): Likewise.
41834         * math/s_csinhl.c (__csinhl): Likewise.
41835         * math/s_csinl.c (__csinl): Likewise.
41836         * math/s_csqrt.c (__csqrt): Likewise.
41837         * math/s_csqrtf.c (__csqrtf): Likewise.
41838         * math/s_csqrtl.c (__csqrtl): Likewise.
41839         * math/s_ctan.c (__ctan): Likewise.
41840         * math/s_ctanf.c (__ctanf): Likewise.
41841         * math/s_ctanh.c (__ctanh): Likewise.
41842         * math/s_ctanhf.c (__ctanhf): Likewise.
41843         * math/s_ctanhl.c (__ctanhl): Likewise.
41844         * math/s_ctanl.c (__ctanl): Likewise.
41845         * math/w_pow.c: Likewise.
41846         * math/w_powf.c: Likewise.
41847         * math/w_powl.c: Likewise.
41848         * math/w_scalb.c (sysv_scalb): Likewise.
41849         * math/w_scalbf.c (sysv_scalbf): Likewise.
41850         * math/w_scalbl.c (sysv_scalbl): Likewise.
41851         * misc/error.c (error_tail): Likewise.
41852         * misc/pselect.c (__pselect): Likewise.
41853         * nis/nis_callback.c (__nis_create_callback): Likewise.
41854         * nis/nis_call.c (__nisfind_server): Likewise.
41855         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41856         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41857         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41858         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41859         * nis/nis_lookup.c (nis_lookup): Likewise.
41860         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41861         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41862         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41863         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41864         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41865         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41866         * nis/nss_compat/compat-initgroups.c (add_group)
41867         (internal_getgrent_r): Likewise.
41868         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41869         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41870         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41871         (internal_getspnam_r): Likewise.
41872         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41873         (_nss_nis_getaliasbyname_r): Likewise.
41874         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41875         (_nss_nis_getntohost_r): Likewise.
41876         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41877         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41878         (_nss_nis_getgrgid_r): Likewise.
41879         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41880         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41881         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41882         (_nss_nis_gethostbyname4_r): Likewise.
41883         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41884         (initgroups_netid): Likewise.
41885         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41886         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41887         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41888         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41889         (_nss_nis_getprotobynumber_r): Likewise.
41890         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41891         (_nss_nis_getsecretkey): Likewise.
41892         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41893         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41894         (_nss_nis_getpwuid_r): Likewise.
41895         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41896         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41897         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41898         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41899         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41900         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41901         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41902         Likewise.
41903         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41904         (_nss_nisplus_getntohost_r): Likewise.
41905         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41906         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41907         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41908         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41909         Likewise.
41910         * nis/nss_nisplus/nisplus-initgroups.c
41911         (_nss_nisplus_initgroups_dyn): Likewise.
41912         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41913         (_nss_nisplus_getnetbyaddr_r): Likewise.
41914         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41915         (_nss_nisplus_getprotobynumber_r): Likewise.
41916         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41917         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41918         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41919         Likewise.
41920         * nis/nss_nisplus/nisplus-service.c
41921         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41922         (_nss_nisplus_getservbyport_r): Likewise.
41923         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41924         (_nss_nisplus_getspnam_r): Likewise.
41925         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41926         Likewise.
41927         * nscd/aicache.c (addhstaiX): Likewise.
41928         * nscd/cache.c (cache_search, prune_cache): Likewise.
41929         * nscd/connections.c (register_traced_file, send_ro_fd)
41930         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41931         (main_loop_epoll): Likewise.
41932         * nscd/grpcache.c (addgrbyX): Likewise.
41933         * nscd/hstcache.c (addhstbyX): Likewise.
41934         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41935         * nscd/mem.c (gc, mempool_alloc): Likewise.
41936         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41937         (addinnetgrX): Likewise.
41938         * nscd/nscd-client.h (__nscd_acquire_maplock)
41939         (__nscd_drop_map_ref): Likewise.
41940         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41941         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41942         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41943         Likewise.
41944         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41945         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41946         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41947         (__nscd_get_map_ref): Likewise.
41948         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41949         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41950         Likewise.
41951         * nscd/pwdcache.c (addpwbyX): Likewise.
41952         * nscd/selinux.c (preserve_capabilities): Likewise.
41953         * nscd/servicescache.c (addservbyX): Likewise.
41954         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41955         * posix/fnmatch.c (fnmatch): Likewise.
41956         * posix/getopt.c (_getopt_internal_r): Likewise.
41957         * posix/glob.c (glob, glob_in_dir): Likewise.
41958         * posix/wordexp.c (exec_comm_child): Likewise.
41959         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41960         (getanswer_r, gaih_getanswer_slice): Likewise.
41961         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41962         * resolv/res_init.c: Likewise.
41963         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41964         * resolv/res_query.c (__libc_res_nquery): Likewise.
41965         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41966         Likewise.
41967         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41968         * stdio-common/perror.c (perror): Likewise.
41969         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41970         * stdio-common/tmpnam.c (tmpnam): Likewise.
41971         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41972         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41973         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41974         Likewise.
41975         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41976         * stdlib/putenv.c (putenv): Likewise.
41977         * stdlib/setenv.c (__add_to_environ): Likewise.
41978         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41979         * stdlib/strtol_l.c (INTERNAL): Likewise.
41980         * string/memmem.c (memmem): Likewise.
41981         * string/strerror.c (strerror): Likewise.
41982         * string/strnlen.c (__strnlen): Likewise.
41983         * string/test-memmem.c (simple_memmem): Likewise.
41984         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41985         * sunrpc/pm_getport.c (__get_socket): Likewise.
41986         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41987         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41988         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41989         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41990         Likewise.
41991         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41992         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41993         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41994         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41995         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41996         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41997         Likewise.
41998         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41999         Likewise.
42000         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42001         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42003         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42004         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42006         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42007         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42008         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42009         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42010         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42011         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42012         Likewise.
42013         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42014         Likewise.
42015         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42016         Likewise.
42017         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42018         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42019         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42020         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42021         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42022         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42023         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42024         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42026         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42027         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42028         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42029         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42030         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42032         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42033         Likewise.
42034         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42035         Likewise.
42036         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42037         Likewise.
42038         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42039         Likewise.
42040         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42042         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42043         Likewise.
42044         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42045         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42046         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42047         * sysdeps/posix/sleep.c: Likewise.
42048         * sysdeps/posix/tempname.c: Likewise.
42049         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42050         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42051         Likewise.
42052         * sysdeps/powerpc/powerpc32/dl-machine.h
42053         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42054         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42055         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42056         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42057         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42058         Likewise.
42059         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42060         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42061         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42062         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42063         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42064         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42065         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42066         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42067         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42068         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42069         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42070         (elf_machine_lazy_rel): Likewise.
42071         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42072         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42073         (elf_machine_lazy_rel): Likewise.
42074         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42075         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42076         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42077         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42078         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42079         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42080         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42082         Likewise.
42083         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42084         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42085         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42086         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42087         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42088         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42089         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42090         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42091         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42092         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42093         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42094         Likewise.
42095         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42096         (__posix_fallocate64_l64): Likewise.
42097         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42098         (posix_fallocate): Likewise.
42099         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42100         Likewise.
42101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42102         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42103         (getifaddrs_internal): Likewise.
42104         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42105         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42106         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42107         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42108         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42109         (__posix_fallocate64_l64): Likewise.
42110         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42111         Likewise.
42112         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42114         (__get_clockfreq): Likewise.
42115         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42116         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42117         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42120         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42121         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42122         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42123         Likewise.
42124         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42125         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42126         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42127         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42128         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42129         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42130         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42131         Likewise.
42132         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42133         (posix_fallocate): Likewise.
42134         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42135         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42136         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42137         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42138         (elf_machine_rela, elf_machine_rela_relative)
42139         (elf_machine_lazy_rel): Likewise.
42140         * time/asctime.c (asctime_internal): Likewise.
42141         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42142         * time/tzset.c (__tzset_parse_tz): Likewise.
42143         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42144         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42145         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42146         * wcsmbs/wcsmbsload.h: Likewise.
42148         [BZ #15894]
42149         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42151         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42152         (arena_get2): Remove THREAD_STATS conditionals.
42153         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42154         (__malloc_stats, int): Likewise.
42156 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42158         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42159         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42161         * manual/setjmp.texi: Fix typos/grammar errors.
42163         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42164         Only return early when n is <= 0.  Delete unused return statement.
42166         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42167         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42168         * debug/tst-longjmp_chk3.c: New file.
42170         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42171         (test_main): Replace code with set_fortify_handler call.
42172         * debug/test-strcpy_chk.c: Likewise.
42173         * debug/tst-chk1.c: Likewise.
42174         * debug/tst-longjmp_chk.c: Likewise.
42175         * test-skeleton.c: Include fcntl.h & paths.h
42176         (set_fortify_handler): Define.
42178         * debug/tst-longjmp_chk.c: Add header comment and include
42179         ../test-skeleton.c.
42180         (do_test): Mark static.
42181         (TEST_FUNCTION): Define.
42183         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42184         (IP_PMTUDISC_INTERFACE): Likewise.
42185         (IP_MULTICAST_IF): Likewise.
42186         (IP_MULTICAST_TTL): Likewise.
42187         (IP_MULTICAST_LOOP): Likewise.
42188         (IP_ADD_MEMBERSHIP): Likewise.
42189         (IP_DROP_MEMBERSHIP): Likewise.
42190         (IP_UNBLOCK_SOURCE): Likewise.
42191         (IP_BLOCK_SOURCE): Likewise.
42192         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42193         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42194         (IP_MSFILTER): Likewise.
42195         (MCAST_JOIN_GROUP): Likewise.
42196         (MCAST_BLOCK_SOURCE): Likewise.
42197         (MCAST_UNBLOCK_SOURCE): Likewise.
42198         (MCAST_LEAVE_GROUP): Likewise.
42199         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42200         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42201         (MCAST_MSFILTER): Likewise.
42202         (IP_MULTICAST_ALL): Likewise.
42203         (IP_UNICAST_IF): Likewise.
42205         * timezone/Makefile: Delete $(have-ksh) check.
42206         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42207         * timezone/tzselect.ksh: Add +x mode bits.
42209         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42210         (ANON_INODE_FS_MAGIC): Likewise.
42211         (BDEVFS_MAGIC): Likewise.
42212         (BINFMTFS_MAGIC): Likewise.
42213         (BTRFS_TEST_MAGIC): Likewise.
42214         (CRAMFS_MAGIC_WEND): Likewise.
42215         (DEBUGFS_MAGIC): Likewise.
42216         (ECRYPTFS_SUPER_MAGIC): Likewise.
42217         (EXT3_SUPER_MAGIC): Likewise.
42218         (EXT4_SUPER_MAGIC): Likewise.
42219         (FUTEXFS_SUPER_MAGIC): Likewise.
42220         (HOSTFS_SUPER_MAGIC): Likewise.
42221         (HUGETLBFS_MAGIC): Likewise.
42222         (MINIX3_SUPER_MAGIC): Likewise.
42223         (MTD_INODE_FS_MAGIC): Likewise.
42224         (NILFS_SUPER_MAGIC): Likewise.
42225         (OPENPROM_SUPER_MAGIC): Likewise.
42226         (PIPEFS_MAGIC): Likewise.
42227         (PSTOREFS_MAGIC): Likewise.
42228         (QNX6_SUPER_MAGIC): Likewise.
42229         (RAMFS_MAGIC): Likewise.
42230         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42231         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42232         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42233         (SECURITYFS_MAGIC): Likewise.
42234         (SELINUX_MAGIC): Likewise.
42235         (SMACK_MAGIC): Likewise.
42236         (SOCKFS_MAGIC): Likewise.
42237         (SQUASHFS_MAGIC): Likewise.
42238         (STACK_END_MAGIC): Likewise.
42239         (TMPFS_MAGIC): Likewise.
42240         (USBDEVICE_SUPER_MAGIC): Likewise.
42241         (V9FS_MAGIC): Likewise.
42242         (XENFS_SUPER_MAGIC): Likewise.
42243         (CRAMFS_MAGIC): Fix typo in comment.
42244         (EXT2_SUPER_MAGIC): Update comment.
42245         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42247 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42249         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42250         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42251         * sysdeps/unix/sysv/linux/arm: Move directory from
42252         ports/sysdeps/unix/sysv/linux/arm.
42253         * README: Update listing for arm-*-linux-gnueabi.
42255         * README: Remove mention of am33.
42257 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42259         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42260         than the comma operator, to avoid "rhs of comma has no effect"
42261         compiler warnings.
42262         (__sigfillset, __sigandset, __sigorset): Likewise.
42263         * include/signal.h (__sigemptyset): Likewise.
42264         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42266 2014-02-07  Allan McRae  <allan@archlinux.org>
42268         * version.h (RELEASE): Set to "development".
42269         (VERSION): Set to "2.19.90"
42270         * NEWS: Add 2.20 section.
42272 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42274         [BZ #16529]
42275         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42277 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42279         * manual/contrib.texi: Update entry for Carlos O'Donell,
42280         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42282 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42284         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42286         * sysdeps/unix/sysv/linux/kernel-features.h
42287         [__LINUX_KERNEL_VERSION >= 0x020621]
42288         (__ASSUME_PROC_PID_TASK_COMM): Define.
42290 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42292         [BZ #16398]
42293         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42294         conversion when destination buffer does not have enough space.
42295         * libio/tst-ftell-partial-wide.c: New test case.
42296         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42298         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42299         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42300         Leonard and Allan McRae.
42302 2014-02-04  David S. Miller  <davem@davemloft.net>
42304         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42305         32-bit.
42307 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42310         New file
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42312         New file
42313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42314         New file.
42315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42316         New file.
42317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42318         New file.
42319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42320         New file.
42321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42322         New file.
42323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42324         New file.
42325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42326         New file.
42327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42328         New file.
42329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42330         New file.
42331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42332         New file.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42334         New file.
42336 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42338         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42339         * shlib-versions: Likewise.
42341 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42342             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42344         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42345         (abilist-pattern): New variable, set to %-le.abilist.
42347         * Makerules (abilist-pattern): New variable.
42348         (vpath): Use $(abilist-pattern) in place of %.abilist.
42349         (check-abi-% pattern rule): Likewise.
42350         (check-abi, update-abi): Likewise.
42352 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42356 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42358         * manual/startup.texi: Add next, previous, and top entries for
42359         the `Program Arguments' and `Environment Variables' nodes.
42361 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42363         * manual/macros.texi: Add comments before MTASC-safety macros.
42365         * manual/users.texi: Document MTASC-safety properties.
42367         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42368         (pthread_getspecific, pthread_setspecific): Format with
42369         @deftypefun, and add @safety note.
42370         * manual/signal.texi: Move comments that analyze the above
42371         functions to their home place.
42373 2014-02-03  Allan McRae  <allan@archlinux.org>
42375         * po/sl.po: Update Slovenian translation from translation project.
42377 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42379         * manual/time.texi (timegm): Add missing blank after @c.
42380         Reported by Joseph Myers <joseph@codesourcery.com>.
42382 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42384         * manual/check-safety.sh: New.
42385         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42387         * manual/terminal.texi: Document MTASC-safety properties.
42389         * manual/filesys.texi: Document MTASC-safety properties.
42391         * manual/errno.texi: Document MTASC-safety properties.
42393         * manual/intro.texi: Document safety identifiers and
42394         conditionals.
42396         * manual/string.texi (wcstok): Fix prototype.
42397         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42399         * manual/time.texi: Document MTASC-safety properties.
42401         * manual/string.texi: Document MTASC-safety properties.
42403         * manual/threads.texi: Document MTASC-safety properties.
42405         * manual/stdio.texi: Document MTASC-safety properties.
42407         * manual/syslog.texi: Document MTASC-safety properties.
42409         * manual/sysinfo.texi: Document MTASC-safety properties.
42411         * manual/startup.texi: Document MTASC-safety properties.
42413         * manual/socket.texi: Document MTASC-safety properties.
42415         * manual/signal.texi: Document MTASC-safety properties.
42417 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42419         * manual/setjmp.texi: Document MTASC-safety properties.
42421         * manual/search.texi: Document MTASC-safety properties.
42423         * manual/resource.texi: Document MTASC-safety properties.
42425         * manual/process.texi: Document MTASC-safety properties.
42427         * manual/platform.texi: Document MTASC-safety properties.
42429         * manual/pipe.texi: Document MTASC-safety properties.
42431         * manual/pattern.texi: Document MTASC-safety properties.
42433         * manual/message.texi: Document MTASC-safety properties.
42435         [BZ #12751]
42436         * manual/memory.texi: Document MTASC-safety properties.
42438         * manual/math.texi: Document MTASC-safety properties.
42440         * manual/locale.texi: Document MTASC-safety properties.
42442         * manual/llio.texi: Document MTASC-safety properties.
42444         * manual/libdl.texi: New.
42446         * manual/lang.texi: Document MTASC-safety properties.
42448         * manual/job.texi: Document MTASC-safety properties.
42450         * manual/getopt.texi: Document MTASC-safety properties.
42452         * manual/ctype.texi: Document MTASC-safety properties.
42454 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42456         [BZ #16046]
42457         * csu/libc-tls.c (static_map): Remove variable.
42458         (__libc_setup_tls): Use main executable's link map for TLS data.
42459         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42460         casing for LM_ID_BASE and GL(dl_nns).
42461         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42462         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42463         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42464         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42465         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42466         member.
42467         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42468         l_phnum members.
42470 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42472         * manual/debug.texi: Document MTASC-safety properties.
42474 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42476         [BZ #16510]
42477         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42478         of __x86_64__ when disabling x87 inline functions.
42480 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42482         * manual/charset.texi: Document MTASC-safety properties.
42484         * manual/crypt.texi: Document MTASC-safety properties.
42486         * manual/conf.texi: Document MTASC-safety properties.
42488         * manual/arith.texi: Document MTASC-safety properties.
42490         * manual/argp.texi: Document MTASC-safety properties.
42492         * manual/macros.texi: Introduce macros to document multi
42493         thread, asynchronous signal and asynchronous cancellation
42494         safety properties.
42495         * manual/intro.texi: Introduce the properties themselves.
42497 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42499         * sysdeps/sh/sh4/Makefile: New file.
42501 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42503         * math/gen-libm-test.pl ($srcdir): New variable.
42504         ($auto_input): Use it.
42506 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42508         [BZ #16506]
42509         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42510         access beyond array bounds when parsing netgroups file.
42512         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42513         the old buffer before realloc.
42515 2014-01-27  Allan McRae  <allan@archlinux.org>
42517         * po/fr.po: Update French translation from translation project.
42519 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42521         * sysdeps/sh/libm-test-ulps: Regenerate.
42523 2014-01-24  David S. Miller  <davem@davemloft.net>
42525         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42527 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42529         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42530         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42532 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42534         [BZ #16474]
42535         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42536         string pointers after reallocation.
42538 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42540         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42541         __SH4A__ instead of __SH_FPU_ANY__.
42543 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42545         * sysdeps/sh/fpu_control.h: New file.
42546         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42547         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42548         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42549         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42550         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42551         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42552         * sysdeps/sh/sys/ucontext.h: Remove.
42553         * sysdeps/sh/sys: Remove directory.
42555 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42557         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42558         s390/sys/ucontext.h.
42559         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42560         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42562 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42564         [BZ #15605]
42565         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42567 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42569         [BZ#16431]
42570         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42571         Adjust the vDSO correctly for internal calls.
42572         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42574 2014-01-20  Allan McRae  <allan@archlinux.org>
42576         * po/ca.po: Update Catalan translation from translation project.
42578 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42580         * sysdeps/s390/sotruss-lib.c: New file.
42582 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42584         [BZ#16430]
42585         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42586         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42587         local calls issues by not having a PLT stub required for IFUNC calls.
42588         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42590 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42592         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42593         * math/test-fpucw-static.c: Likewise.
42595 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42597         [BZ #16453]
42598         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42600 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42602         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42603         implementation for powerpc.
42605 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42607         [BZ #14782]
42608         * sysdeps/posix/system.c (__libc_system): Do not enable
42609         asynchronous cancellation.
42611 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42613         [BZ #16427]
42614         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42615         handling only for numbers special also in the IEEE case.
42617 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42619         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42621 2014-01-11  Allan McRae  <allan@archlinux.org>
42623         * po/bg.po: Update Bulgarian translation from translation project.
42625         * po/de.po: Update German translation from translation project.
42627 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42629         * sysdeps/generic/gcc-compat.h: New file.
42631 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42633         * benchtests/asin-inputs: Correct slow inputs.
42634         * benchtests/acos-inputs: Likewise.
42636 2014-01-10  Allan McRae  <allan@archlinux.org>
42638         * po:sv.po: Update Swedish translation from translation project.
42640         * po/vi.po: Update Vietnamese translation from translation project.
42642         * po/eo.po: Update Esperanto translation from translation project.
42644         * po/cs.po: Update Czech translation from translation project.
42646         * po/nl.po: Update Dutch translation from translation project.
42648         * po/pl.po: Update Polish translation from translation project.
42650         * po/ru.po: Update Russian translation from translation project.
42652         * po/uk.po: Update Ukrainian translation from translation project.
42654 2014-01-08  Brooks Moses  <bmoses@google.com>
42656         * elf/dl-load.c: Fix comment typo.
42658 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42660         * po/header.pot: Rename to...
42661         * po/pot.header: ... this.
42662         * po/Makefile: Use pot.header.
42664 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42665             Maxim Kuvyrkov  <maxim@kugelworks.com>
42667         [BZ #16394]
42668         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42669         SRC and DEST against LEN.
42671 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42673         [BZ #16414]
42674         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42675         implementation.
42676         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42678 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42682 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42684         [BZ #16408]
42685         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42686         for large positive arguments.
42688 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42690         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42692         * math/auto-libm-test-in: Mark various tests with
42693         xfail-rounding:ldbl-128ibm.
42694         * math/auto-libm-test-out: Regenerated.
42696         [BZ #16407]
42697         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42698         Increase overflow threshold.
42700 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42702         [BZ #14286]
42703         * stdio-common/vfprintf.c: Check for integer overflow.
42705 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42707         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42708         the first argument and return value of __tls_get_addr_internal.
42710 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42712         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42713         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42715 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42717         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42718         * sysdeps/s390/rtld-global-offsets.sym: New file.
42719         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42720         GLIBC_2.19 symbol.
42721         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42722         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42723         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42724         ... this.
42725         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42726         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42727         ... this.
42728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42729         Regenerate.
42730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42731         Regenerate.
42732         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42733         halfs of GPRs for high_gprs contexts.
42734         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42735         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42736         field.
42737         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42738         uc_flags field.
42739         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42740         64 bit versions:
42741         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42742         for high GPRs (uc_high_gprs) and for future extensions
42743         (__reserved).
42744         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42745         for future extensions (__reserved).
42746         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42747         64 bit versions:
42748         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42749         SC_HIGHGPRS offset definition.
42750         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42751         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42753         * Versions.def: Add GLIBC_2.19 for libpthread.
42754         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42755         siglongjmp for libpthread with GLIBC_2.19 symver.
42756         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42757         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42758         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42759         * sysdeps/s390/__longjmp.c: New file.
42760         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42761         * sysdeps/s390/longjmp.c: New file.
42762         * sysdeps/s390/setjmp.S: New file.
42763         * sysdeps/s390/sigjmp.S: New file.
42764         * sysdeps/s390/v1-longjmp.c: New file.
42765         * sysdeps/s390/v1-setjmp.h: New file.
42766         * sysdeps/s390/v1-sigjmp.c: New file.
42767         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42768         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42769         GLIBC_2.19 version.
42770         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42771         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42772         versioned symbols for ____longjmp_chk.
42773         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42774         Likewise.
42775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42776         Regenerate.
42777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42778         Regenerate.
42779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42780         Regenerate.
42781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42782         Regenerate.
42783         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42784         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42785         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42786         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42787         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42788         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42789         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42790         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42791         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42792         * sysdeps/s390/rtld-__longjmp.c: New file.
42793         * sysdeps/s390/rtld-setjmp.S: New file.
42795 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42797         [BZ #16400]
42798         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42799         Return -__logl (x) for small positive arguments without evaluating
42800         a polynomial.
42802 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42804         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42805         Rename to ...
42806         (__ptrace_peeksiginfo_args): ... this.
42807         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42808         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42809         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42811 2014-01-06  Allan McRae  <allan@archlinux.org>
42813         * inet/netinet/in.h: Fix typo in comment.
42815 2014-01-05  Andreas Jaeger  <aj@suse.de>
42817         * sysdeps/i386/fpu/libm-test-ulps: Update.
42819 2014-01-05  Allan McRae  <allan@archlinux.org>
42821         * po/libc.pot: Regenerated.
42823         * malloc/memusagestat.c: Fix gettext call formatting.
42825 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42827         * nscd/nscd.c: Improve usage() output.
42829 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42831         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42832         * sysdeps/unix/sysv/linux/configure: Regenerated.
42833         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42834         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42836 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42838         [BZ #16390]
42839         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42840         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42842 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42845         extra tokens at end of #undef directive.
42846         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42847         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42848         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42850 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42852         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42854         * math/auto-libm-test-in: Mark various tests with
42855         xfail-rounding:ldbl-128ibm.
42856         * math/auto-libm-test-out: Regenerated.
42858 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42860         [BZ #16386]
42861         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42862         numbers with subnormal high part when calculating exponent.
42864         [BZ #16385]
42865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42866         fabs.
42868         [BZ #16384]
42869         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42870         M_LN2l.
42871         (__ieee754_acoshl): Use __log1pl not __log1p.
42873 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42875         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42876         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42877         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42878         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42879         (reused_arena, arena_get2): Convert to GNU style.
42880         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42881         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42882         (memalign_check, __malloc_set_state): Likewise.
42883         * malloc/mallocbug.c (main): Likewise.
42884         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42885         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42886         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42887         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42888         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42889         (__posix_memalign, malloc_info): Likewise.
42890         * malloc/malloc.h: Likewise.
42891         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42892         (mallochook, memalignhook, reallochook, mabort): Likewise.
42893         * malloc/mcheck.h: Likewise.
42894         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42895         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42896         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42897         * malloc/morecore.c (__default_morecore): Likewise.
42898         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42899         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42900         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42901         (print_and_abort): Likewise.
42902         * malloc/obstack.h: Likewise.
42903         * malloc/set-freeres.c (__libc_freeres): Likewise.
42904         * malloc/tst-mallocstate.c (main): Likewise.
42905         * malloc/tst-mtrace.c (main): Likewise.
42906         * malloc/tst-realloc.c (do_test): Likewise.
42908 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42910         [BZ #16366]
42911         * nscd/netgroupcache.c (do_notfound): New function.
42912         (addgetnetgrentX): Use it.
42914         [BZ # 16365]
42915         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42916         NSS_STATUS_NOTFOUND.
42918 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42920         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42923 2014-01-01  Allan McRae  <allan@archlinux.org>
42925         * scripts/update-copyrights: Update configure input file suffix.
42927         * NEWS: Update copyright year.
42928         * catgets/gencat.c: Likewise.
42929         * csu/version.c: Likewise.
42930         * debug/catchsegv.sh: Likewise.
42931         * debug/pcprofiledump.c: Likewise.
42932         * debug/xtrace.sh: Likewise.
42933         * elf/ldconfig.c: Likewise.
42934         * elf/ldd.bash.in: Likewise.
42935         * elf/pldd.c: Likewise.
42936         * elf/sotruss.ksh: Likewise.
42937         * elf/sprof.c: Likewise.
42938         * iconv/iconv_prog.c: Likewise.
42939         * iconv/iconvconfig.c: Likewise.
42940         * locale/programs/locale.c: Likewise.
42941         * locale/programs/localedef.c: Likewise.
42942         * login/programs/pt_chown.c: Likewise.
42943         * malloc/memusage.sh: Likewise.
42944         * malloc/memusagestat.c: Likewise.
42945         * malloc/mtrace.pl: Likewise.
42946         * manual/libc.texinfo: Likewise.
42947         * nscd/nscd.c: Likewise.
42948         * nss/getent.c: Likewise.
42949         * nss/makedb.c: Likewise.
42950         * posix/getconf.c: Likewise.
42951         * scripts/test-installation.pl: Likewise.
42953         * All files with FSF copyright notices: Update copyright dates
42954         using scripts/update-copyrights.
42955         * intl/plural.c: Regenerated.
42956         * locale/programs/charmap-kw.h: Likewise.
42957         * locale/programs/locfile-kw.h: Likewise.
42959 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42961         * sysdeps/unix/sysv/linux/configure: Regenerated.
42962         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42963         the linux/fanotify.h header.
42964         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42965         HAVE_LINUX_FANOTIFY_H is defined.
42967 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42969         * benchtests/cos-inputs: New inputs.
42970         * benchtests/sin-inputs: Likewise.
42972         * benchtests/atan-inputs: New inputs. Fix name of multiple
42973         precision fallback inputs.
42975         * benchtests/atanh-inputs: New inputs.
42976         * benchtests/tanh-inputs: Likewise.
42978         * benchtests/acosh-inputs: New inputs.
42979         * benchtests/asinh-inputs: Likewise.
42981         * benchtests/cosh-inputs: New inputs.
42982         * benchtests/sinh-inputs: Likewise.
42984         * benchtests/acos-inputs: Add more inputs.
42985         * benchtests/asin-inputs: Likewise.
42987 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42989         [BZ #16375]
42990         * manual/arith.texi: Fix spelling.
42991         * manual/charset.texi: Likewise.
42992         * manual/errno.texi: Likewise.
42993         * manual/filesys.texi: Likewise.
42994         * manual/lang.texi: Likewise.
42995         * manual/llio.texi: Likewise.
42996         * manual/locale.texi: Likewise.
42997         * manual/message.texi: Likewise.
42998         * manual/resource.texi: Likewise.
42999         * manual/search.texi: Likewise.
43000         * manual/setjmp.texi: Likewise.
43001         * manual/stdio.texi: Likewise.
43002         * manual/string.texi: Likewise.
43003         * manual/sysinfo.texi: Likewise.
43004         * manual/time.texi: Likewise.
43006 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43008         * po/sl.po: New file.
43010 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43012         * .gitignore: Add core/.gdbinit/.gdb_history.
43014 2013-12-27  Allan McRae  <allan@archlinux.org>
43016         [BZ #16369]
43017         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43018         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43020 2013-12-24  Brooks Moses  <bmoses@google.com>
43022         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43023         all compilers that claim C++98 compliance, not just GCC.
43024         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43025         Likewise.
43027 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43029         * NEWS: Restore accidentally deleted bug-fix entries.
43031 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43032             Ondřej Bílka  <neleai@seznam.cz>
43034         [BZ #15073]
43035         * malloc/malloc.c (_int_free): Perform sanity check only if we
43036         have_lock.
43038 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43040         [BZ #12986]
43041         * manual/stdio.texi (String Input Conversions): Clarify that character
43042         classes are not supported.
43044 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43048 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43050         [BZ #16337]
43051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43052         Calculate results for small negative arguments directly rather
43053         than using reflection formula with special underflow handling.
43055         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43056         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43057         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43058         (fchflags): Likewise.
43059         (revoke): Likewise.
43060         (setlogin): Likewise.
43061         (sigaltstack): Likewise.
43062         (wait4): Likewise.
43063         (sigblock): Remove.
43064         (sigsetmask): Likewise.
43065         (wait3): Likewise.
43066         (waitpid): Likewise.
43067         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43068         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43069         file.
43070         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43071         * sysdeps/unix/bsd/Makefile: ... here.
43072         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43073         * sysdeps/unix/bsd/Versions: ... here.
43074         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43075         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43076         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43077         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43078         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43079         * sysdeps/unix/bsd/sigblock.c: ... here.
43080         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43081         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43082         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43083         * sysdeps/unix/bsd/sigvec.c: ... here.
43084         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43085         * sysdeps/unix/bsd/tcdrain.c: ... here.
43086         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43087         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43088         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43089         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43090         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43091         * sysdeps/unix/bsd/wait.c: ... here.
43092         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43093         * sysdeps/unix/bsd/wait3.c: ... here.
43094         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43095         * sysdeps/unix/bsd/waitpid.c: ... here.
43097 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43099         [BZ #16356]
43100         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43101         round-to-nearest for [!USE_AS_EXPM1L].
43102         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43103         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43104         more tests of exp and exp10.  Expect some exp10 tests to miss
43105         exceptions or fail in directed rounding modes.
43106         * math/auto-libm-test-out: Regenerated.
43107         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43108         (exp10_test_tonearest): New function.
43109         (exp10_towardzero_test_data): New array.
43110         (exp10_test_towardzero): New function.
43111         (exp10_downward_test_data): New array.
43112         (exp10_test_downward): New function.
43113         (exp10_upward_test_data): New array.
43114         (exp10_test_upward): New function.
43115         (main): Call the new functions.
43116         * sysdeps/i386/fpu/libm-test-ulps: Update.
43117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43119 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43121         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43122         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43123         * math/auto-libm-test-out: Regenerated.
43124         * math/libm-test.inc (acosh_test_data): Add more tests.
43125         (atanh_test_data): Likewise.
43126         (ceil_test_data): Likewise.
43127         (copysign_test_data): Likewise.
43128         * sysdeps/i386/fpu/libm-test-ulps: Update.
43129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43131         * timezone/checktab.awk: Update from tzcode 2013i.
43132         * timezone/private.h: Likewise.
43133         * timezone/scheck.c: Likewise.
43134         * timezone/tzfile.h: Likewise.
43135         * timezone/tzselect.ksh: Likewise.
43136         * timezone/zdump.c: Likewise.
43137         * timezone/zic.c: Likewise.
43139         * math/auto-libm-test-in: Add tests of cpow.
43140         * math/auto-libm-test-out: Regenerated.
43141         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43142         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43143         mpc_cc_c.
43144         (func_calc_desc): Add mpc_cc_c union field.
43145         (test_functions): Add cpow.
43146         (special_fill_2pi): New function.
43147         (special_real_inputs): Add 2pi.
43148         (calc_generic_results): Handle mpc_cc_c.
43149         * sysdeps/i386/fpu/libm-test-ulps: Update.
43150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43152         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43153         csqrt, ctan and ctanh.
43154         * math/auto-libm-test-out: Regenerated.
43155         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43156         (TEST_COND_x86): Likewise.
43157         (ccos_test_data): Use AUTO_TESTS_c_c.
43158         (ccosh_test_data): Likewise.
43159         (cexp_test_data): Likewise.
43160         (clog_test_data): Likewise.
43161         (csqrt_test_data): Likewise.
43162         (ctan_test_data): Likewise.
43163         (ctan_tonearest_test_data): Likewise.
43164         (ctan_towardzero_test_data): Likewise.
43165         (ctan_downward_test_data): Likewise.
43166         (ctan_upward_test_data): Likewise.
43167         (ctanh_test_data): Likewise.
43168         (ctanh_tonearest_test_data): Likewise.
43169         (ctanh_towardzero_test_data): Likewise.
43170         (ctanh_downward_test_data): Likewise.
43171         (ctanh_upward_test_data): Likewise.
43172         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43173         mpc_c_c.
43174         (func_calc_desc): Add mpc_c_c union field.
43175         (FUNC_mpc_c_c): New macro.
43176         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43177         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43178         ctanh.
43179         (special_fill_min_subnorm_p120): New function.
43180         (special_real_inputs): Add min_subnorm_p120.
43181         (calc_generic_results): Handle mpc_c_c.
43182         * sysdeps/i386/fpu/libm-test-ulps: Update.
43183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43185 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43187         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43188         (do_sin_slow): New functions.
43189         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43190         (cslow2, csloww1, csloww2): Use the new functions.
43192         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43193         Use M to change sign of result instead of X.  Assume X is
43194         positive.
43195         (csloww1): Likewise.
43196         (__sin): Adjust.
43197         (__cos): Adjust.
43199         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43200         arguments A and DA.
43201         (__sin): Adjust.
43202         (__cos): Likewise.
43204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43205         (__cos): Likewise.
43206         (sloww1): Don't adjust sign of DX.
43207         (csloww1): Likewise.
43208         (sloww2): Use X directly and don't adjust sign of DX.
43209         (csloww2): Likewise.
43211 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43213         * math/auto-libm-test-in: Add tests of cabs and carg.
43214         * math/auto-libm-test-out: Regenerated.
43215         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43216         (carg_test_data): Likewise.
43217         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43218         mpc_c_f.
43219         (func_calc_desc): Add mpc_c_f union field.
43220         (test_functions): Add cabs and carg.
43221         (calc_generic_results): Handle mpc_c_f.
43223         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43224         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43225         as a macro and a compat symbol.
43226         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43227         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43228         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43229         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43230         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43231         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43232         not use .hidden.
43233         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43234         Likewise.
43235         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43236         Likewise.
43237         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43238         Likewise.
43239         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43240         Likewise.
43241         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43242         Likewise.
43243         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43244         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43245         from GLIBC_2.3.2.
43247 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43251 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43253         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43254         trailing whitespace removed.
43255         * scripts/config.guess: Update to version 2013-11-29.
43256         * scripts/config.sub: Update to version 2013-10-01.
43258         * math/auto-libm-test-in: Add tests of sincos.
43259         * math/auto-libm-test-out: Regenerated.
43260         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43262         mpfr_f_11.
43263         (func_calc_desc): Add mpfr_f_11 union field.
43264         (test_functions): Add sincos.
43265         (calc_generic_results): Handle mpfr_f_11.
43266         * sysdeps/i386/fpu/libm-test-ulps: Update.
43267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43269 2013-12-19  Andreas Schwab  <schwab@suse.de>
43271         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43272         CALL_MCOUNT.
43273         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43274         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43275         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43277 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43279         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43280         * sysdeps/i386/fpu/libm-test-ulps: Update.
43281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43283         [BZ #16293]
43284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43285         round-to-nearest mode when using frndint.
43286         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43287         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43288         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43289         Likewise.
43290         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43291         sinh test to fail.
43292         * math/auto-libm-test-out: Regenerated.
43293         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43294         (TEST_COND_x86): Likewise.
43295         (expm1_tonearest_test_data): New array.
43296         (expm1_test_tonearest): New function.
43297         (expm1_towardzero_test_data): New array.
43298         (expm1_test_towardzero): New function.
43299         (expm1_downward_test_data): New array.
43300         (expm1_test_downward): New function.
43301         (expm1_upward_test_data): New array.
43302         (expm1_test_upward): New function.
43303         (main): Run the new test functions.
43304         * sysdeps/i386/fpu/libm-test-ulps: Update.
43305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43307         * include/features.h: Update comment documenting feature test
43308         macros.  Mention _DEFAULT_SOURCE in comment.
43309         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43310         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43311         _BSD_SOURCE and _SVID_SOURCE.
43312         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43313         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43314         !_SVID_SOURCE]: Likewise.
43315         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43316         (__USE_POSIX_IMPLICITLY): Define.
43317         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43318         (_POSIX_SOURCE): Undefine and redefine.
43319         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43320         (_POSIX_C_SOURCE): Likewise.
43321         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43322         (Feature Test Macros): Update documentation of default features.
43324 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43326         * benchtests/Makefile: Add bench-strtok.
43327         * benchtests/bench-strtok.c: New file: strtok benchtest.
43329 2013-12-19  Allan McRae  <allan@archlinux.org>
43331         * manual/install.texi: Suppress menu for plain text output.
43332         * INSTALL: Regenerated.
43334 2013-12-18  Brooks Moses  <bmoses@google.com>
43336         [BZ #15846]
43337         * misc/getauxval.c: Include errno.h.
43338         (__getauxval): Set errno to ENOENT if the requested type is not
43339         found.
43340         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43341         don't declare with __attribute_const__.
43342         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43343         * manual/startup.texi: Document that getauxval sets errno.
43345 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43347         * math/auto-libm-test-in: Add tests of jn and yn.
43348         * math/auto-libm-test-out: Regenerated.
43349         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43350         (yn_test_data): Likewise.
43351         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43352         mpfr_if_f.
43353         (func_calc_desc): Add mpfr_if_f union field.
43354         (FUNC_mpfr_if_f): New macro.
43355         (test_functions): Add jn and yn.
43356         (calc_generic_results): Assert type of second input for
43357         mpfr_ff_f.  Handle mpfr_if_f.
43358         (output_for_one_input_case): Disable all checking for arguments
43359         fitting floating-point types in case of an integer argument.
43360         * sysdeps/i386/fpu/libm-test-ulps: Update.
43361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43364         Don't expect fegetround reference in libm.so.
43366 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43368         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43369         $(config-cflags-nofma).
43371 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43373         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43374         * math/auto-libm-test-out: Regenerated.
43376         [BZ #16338]
43377         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43378         to determine exponent and adjust argument to have exponent of -1.
43379         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43380         log2.
43381         * math/auto-libm-test-out: Regenerated.
43382         * sysdeps/i386/fpu/libm-test-ulps: Update.
43383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43385 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43387         * manual/probes.texi: Remove cases when per-thread arenas are
43388         disabled.
43390 2013-12-18  Andreas Schwab  <schwab@suse.de>
43392         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43393         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43394         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43395         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43396         * sysdeps/i386/i686/multiarch/Makefile: Update.
43397         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43399 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43401         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43402         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43404 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43406         [BZ #15968]
43407         Support TZ transition times < 00:00:00.
43408         This is needed for version-3 tz-format files; it supports time
43409         stamps past 2037 for America/Godthab (the only entry in the tz
43410         database for which this change is relevant).
43411         * manual/time.texi (TZ Variable): Document transition times
43412         from -167:59:59 through -00:00:01.
43413         * time/tzset.c (tz_rule): Time of day is now signed.
43414         (__tzset_parse_tz): Parse negative time of day.
43416         Document TZ transition times >= 25:00:00.
43417         * manual/time.texi (TZ Variable): Document transition times from
43418         25:00:00 through 167:59:59.  These are already supported, and this
43419         support will help with version-3 tz-format files.
43421         * manual/time.texi (TZ Variable): Modernize North America example
43422         to reflect current (i.e., 2007-and-later) daylight saving rules.
43424         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43426 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43428         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43429         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43431         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43432         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43433         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43434         * sysdeps/unix/bsd/clock.c: Likewise.
43435         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43436         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43437         * sysdeps/unix/bsd/init-posix.c: Likewise.
43438         * sysdeps/unix/bsd/poll.c: Likewise.
43439         * sysdeps/unix/bsd/ptsname.c: Likewise.
43440         * sysdeps/unix/bsd/seekdir.c: Likewise.
43441         * sysdeps/unix/bsd/setegid.c: Likewise.
43442         * sysdeps/unix/bsd/seteuid.c: Likewise.
43443         * sysdeps/unix/bsd/setgid.c: Likewise.
43444         * sysdeps/unix/bsd/setrgid.c: Likewise.
43445         * sysdeps/unix/bsd/setruid.c: Likewise.
43446         * sysdeps/unix/bsd/setsid.c: Likewise.
43447         * sysdeps/unix/bsd/setuid.c: Likewise.
43448         * sysdeps/unix/bsd/sigaction.c: Likewise.
43449         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43450         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43451         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43452         * sysdeps/unix/bsd/telldir.c: Likewise.
43453         * sysdeps/unix/bsd/times.c: Likewise.
43454         * sysdeps/unix/bsd/usleep.c: Likewise.
43456         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43457         ($(objpfx)libbsd-compat.a): Remove rule.
43459         * include/features.h (__FAVOR_BSD): Do not define.
43460         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43461         features conflicting with POSIX.
43462         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43463         (_BSD_SOURCE): Remove description of not being a subset of other
43464         feature test macros.
43465         * manual/job.texi (getpgrp): Do not document BSD version.
43466         (getpgid): Do not document by reference to BSD getpgrp.
43467         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43468         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43469         * signal/signal.h [__FAVOR_BSD]: Likewise.
43470         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43471         instead of making contents conditional on [__FAVOR_BSD].
43472         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43474 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43478 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43480         [BZ #16314]
43481         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43482         values below 2**-450, not 2**-500.
43483         * math/auto-libm-test-in: Don't allow spurious underflow from
43484         hypot.
43485         * math/auto-libm-test-out: Regenerated.
43487         [BZ #16316]
43488         [BZ #16330]
43489         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43490         values of ha and hb and sort them after adjusting subnormal
43491         arguments.
43492         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43493         Likewise.
43494         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43495         values of ea and eb and sort them after adjusting subnormal
43496         arguments.
43497         * math/auto-libm-test-in: Do not expect some hypot tests of
43498         subnormals to fail.  Add more hypot tests.
43499         * math/auto-libm-test-out: Regenerated.
43501 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43503         [BZ #13304]
43504         * sysdeps/sh/s_fma.c: New file.
43505         * sysdeps/sh/s_fmaf.c: New file.
43506         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43507         version.
43508         * sysdeps/sh/Implies: Add sh/soft-fp.
43510 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43512         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43513         level of indirection to members `objname', `errstring', `malloced'.
43514         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43515         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43516         it as the __longjmp argument (just pass 1 instead).
43517         (_dl_catch_error): Initialize C with argument pointers and address of
43518         volatile local ERRCODE rather than copying values out of C at return.
43520 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43522         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43523         * math/auto-libm-test-out: Regenerated.
43524         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43525         (hypot_test_data): Likewise.
43526         (pow_test_data): Likewise.
43527         (pow_tonearest_test_data): Likewise.
43528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43529         mpfr_ff_f.
43530         (func_calc_desc): Add mpfr_ff_f union field.
43531         (FUNC_mpfr_ff_f): New macro.
43532         (test_functions): Add atan2, hypot and pow.
43533         (special_fill_min): New function.
43534         (special_fill_minus_min): Likewise.
43535         (special_fill_min_subnorm): Likewise.
43536         (special_fill_minus_min_subnorm): Likewise.
43537         (special_real_inputs): Add min, -min, min_subnorm and
43538         -min_subnorm.
43539         (calc_generic_results): Handle mpfr_ff_f.
43540         * sysdeps/i386/fpu/libm-test-ulps: Update.
43541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43543 2013-12-16  Will Newton  <will.newton@linaro.org>
43545         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43546         (Aligned Memory Blocks): Add documentation for aligned_alloc
43547         and suggest it as an alternative to posix_memalign.
43548         (Hooks for Malloc): Document __memalign_hook is also called
43549         for aligned_alloc.  (Summary of Malloc): Add summary for
43550         aligned alloc.  Document __memalign_hook is also called
43551         for aligned_alloc.
43553 2013-12-16  Will Newton  <will.newton@linaro.org>
43555         * manual/memory.texi (Malloc Examples): Clarify default
43556         alignment documentation.  Suggest posix_memalign rather
43557         than memalign or valloc.
43558         (Aligned Memory Blocks): Remove suggestion to use memalign
43559         or valloc.  Remove obsolete comment about BSD.
43560         Document memalign errno values and mark the function obsolete.
43561         Document posix_memalign returned error codes.  Mark valloc
43562         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43563         called for posix_memalign and valloc.
43564         (Summary of Malloc): Add posix_memalign to function summary.
43565         __memalign_hook is also called for posix_memalign and valloc.
43567 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43569         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43570         TAYLOR_SIN.
43571         (__sin): Adjust.
43572         (__cos): Likewise.
43573         (sloww): Use mynumber union.  Expand ternary operator into
43574         if-else statements.
43575         (cslow): use mynumber union.
43577 2013-12-16  Allan McRae  <allan@archlinux.org>
43579         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43580         * configure: Regenerated.
43582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43584         [BZ #14120]
43585         * configure.ac: Added --enable-maintainer-mode. Check for
43586         autoconf when enabled.
43587         * configure: Regenerated.
43589         * nscd/nscd.service: New file.
43590         * nscd/nscd.tmpfiles: New file.
43592 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43594         [BZ #12100]
43595         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43596         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43597         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43598         (strstr): Add __strstr_sse2_unaligned ifunc.
43599         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43600         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43601         (strcasestr): Remove __strcasestr_sse42 ifunc.
43602         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43606 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43608         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43609         * sysdeps/sh/bits/fenv.h: ... here.
43610         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43612 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43614         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43617         hypotf multiarch implementations.
43618         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43619         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43620         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43621         multiarch hypot for PPC64.
43622         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43623         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43624         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43625         multiarch hypotf for PPC64.
43627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43628         modff multiarch implementations.
43629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43632         multiarch modf for PPC64.
43633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43636         multiarch modff for PPC64.
43638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43639         and logl multiarch implementations.
43640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43643         multiarch logb for PPC64.
43644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43647         multiarch logb for PPC64.
43648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43651         multiarch logb for PPC64.
43653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43654         isinff multiarch implementation.
43655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43656         file.
43657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43659         multiarch isinf for PPC64.
43660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43661         file.
43662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43663         multiarch isinff for PPC64.
43665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43666         finitef multiarch implementation.
43667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43668         file.
43669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43671         multiarch finite for PPC64.
43672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43673         file.
43674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43675         multiarch finitef for PPC64.
43677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43678         lrint multiarch implementation.
43679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43680         file.
43681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43683         multiarch llrint for PPC64.
43684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43685         multiarch lrint for PPC64.
43687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43688         copysignf multiarch implementation.
43689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43690         file.
43691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43692         file.
43693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43694         multiarch copysign for PPC64.
43695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43696         multiarch copysignf for PPC64.
43698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43699         multiarch implementation.
43700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43701         file.
43702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43703         file.
43704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43705         file.
43706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43707         file.
43708         multiarch llround for PPC64.
43709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43710         multiarch trunc for PPC64.
43711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43712         multiarch truncf for PPC64.
43714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43715         multiarch implementation.
43716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43717         file.
43718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43719         file.
43720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43721         file.
43722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43723         file.
43724         multiarch llround for PPC64.
43725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43726         multiarch round for PPC64.
43727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43728         multiarch roundf for PPC64.
43730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43731         multiarch implementation.
43732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43733         file.
43734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43735         file.
43736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43737         file.
43738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43739         file.
43740         multiarch llround for PPC64.
43741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43742         multiarch floor for PPC64.
43743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43744         multiarch floorf for PPC64.
43746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43747         multiarch implementation.
43748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43749         file.
43750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43751         file.
43752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43753         file.
43754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43755         file.
43756         multiarch llround for PPC64.
43757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43758         multiarch ceil for PPC64.
43759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43760         multiarch ceilf for PPC64.
43762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43763         multiarch implementation.
43764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43765         file.
43766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43767         file.
43768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43769         file.
43770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43771         multiarch llround for PPC64.
43772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43773         multiarch lround for PPC64.
43775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43776         multiarch implementation.
43777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43780         file.
43781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43784         multiarch isnan for PPC64.
43785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43786         multiarch isnanf for PPC64.
43788         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43789         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43790         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43791         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43792         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43795         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43796         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43798         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43801         multiarch implementations.
43802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43803         (__libc_ifunc_impl_list): Likewise.
43804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43806         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43807         multiarch stpcpy for PPC64.
43809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43810         multiarch implementations.
43811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43812         (__libc_ifunc_impl_list): Likewise.
43813         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43814         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43815         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43816         multiarch strcpy for PPC64.
43818         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43819         redefine function name.
43820         (_wordcopy_fwd_dest_aligned): Likewise.
43821         (_wordcopy_bwd_aligned): Likewise.
43822         (_wordcopy_bwd_dest_aligned): Likewise.
43823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43824         multiarch implementations.
43825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43826         (__libc_ifunc_impl_list): Likewise.
43827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43828         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43829         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43830         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43831         multiarch wcscpy for PPC64.
43833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43834         multiarch implementations.
43835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43836         (__libc_ifunc_impl_list): Likewise.
43837         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43838         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43839         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43840         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43841         multiarch wcscpy for PPC64.
43843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43844         multiarch implementations.
43845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43846         (__libc_ifunc_impl_list): Likewise.
43847         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43848         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43849         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43850         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43851         multiarch wcsrchr for PPC64.
43853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43854         multiarch implementations.
43855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43856         (__libc_ifunc_impl_list): Likewise.
43857         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43858         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43859         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43860         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43861         multiarch wcschr for PPC64.
43863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43864         multiarch implementations.
43865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43866         (__libc_ifunc_impl_list): Likewise.
43867         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43868         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43869         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43870         multiarch strchrnul for PPC64.
43872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43873         implementations.
43874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43875         (__libc_ifunc_impl_list): Likewise.
43876         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43877         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43878         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43879         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43880         strchr for PPC64.
43882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43883         implementations.
43884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43885         (__libc_ifunc_impl_list): Likewise.
43886         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43887         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43888         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43889         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43890         strncmp for PPC64.
43892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43893         multiarch implementations.
43894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43895         (__libc_ifunc_impl_list): Likewise.
43896         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43897         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43898         strncasecmp for PPC64.
43899         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43900         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43901         multiarch strncasecmp_l for PPC64.
43903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43904         multiarch implementations.
43905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43906         (__libc_ifunc_impl_list): Likewise.
43907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43908         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43909         multiarch strcasecmp for PPC64.
43910         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43911         file.
43912         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43913         multiarch strcasecmp_l for PPC64.
43915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43916         implementations.
43917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43918         (__libc_ifunc_impl_list): Likewise.
43919         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43920         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43921         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43922         strnlen for PPC64.
43924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43925         implementations.
43926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43927         (__libc_ifunc_impl_list): Likewise.
43928         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43929         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43930         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43931         strlen for PPC64.
43933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43934         implementations.
43935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43936         (__libc_ifunc_impl_list): Likewise.
43937         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43938         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43939         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43940         rawmemrchr for PPC64.
43942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43943         implementation.
43944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43945         (__libc_ifunc_impl_list): Likewise.
43946         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43947         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43948         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43949         memrchr for PPC64.
43951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43952         implementation.
43953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43954         (__libc_ifunc_impl_list): Likewise.
43955         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43956         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43957         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43958         memchr for PPC64.
43960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43961         implementation.
43962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43963         (__libc_ifunc_impl_list): Likewise.
43964         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43965         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43966         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43967         mempcpy for PPC64.
43969         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43970         avoid cretion of __bzero symbol.
43971         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43972         Likewise.
43973         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43974         Likewise.
43975         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43976         Likewise.
43977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43978         multiarch implementations.
43979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43980         (__libc_ifunc_impl_list): Likewise.
43981         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43982         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43983         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43984         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43985         bzero for PPC32.
43986         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43987         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43988         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43989         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43990         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43991         memset for PPC64.
43992         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43994         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43996         implementations.
43997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43998         (__libc_ifunc_impl_list): Likewise.
43999         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44000         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44001         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44002         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44003         memcmp for PPC64.
44005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44006         multiarch for POWER/PPC64.
44007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44008         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44009         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44013         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44014         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44015         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44016         memcpy for PPC64.
44018         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44019         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44020         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44021         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44022         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44023         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44024         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44025         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44026         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44027         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44028         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44029         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44030         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44031         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44032         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44041 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44045 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44047         * benchtests/Makefile (bench): Add exp2 and log2.
44048         (LDLIBS-bench-exp2): Add -lm.
44049         (LDLIBS-bench-log2): Likewise.
44050         * benchtests/exp2-inputs: New inputs file.
44051         * benchtests/log2-inputs: New inputs file.
44052         * benchtests/log-inputs: Add new inputs.
44053         * benchtests/tan-inputs: Likewise.
44055 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44057         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44058         definition...
44059         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44060         (csloww2): ... from here.
44062         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44063         instead of structures.
44064         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44065         (POLYNOMIAL): Likewise.
44066         (TAYLOR_SLOW): Likewise.
44067         (__sin): Likewise.
44068         (__cos): Likewise.
44069         (slow1): Likewise.
44070         (slow2): Likewise.
44071         (sloww): Likewise.
44072         (sloww1); Likewise.
44073         (sloww2): Likewise.
44074         (bsloww1): Likewise.
44075         (bsloww2): Likewise.
44076         (cslow2): Likewise.
44077         (csloww): Likewise.
44078         (csloww1): Likewise.
44079         (csloww2): Likewise.
44081 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44083         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44084         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44085         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44086         * malloc/hooks.c (realloc_check): Likewise.
44088         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44089         * malloc/arena.c: Remove PER_THREAD conditional.
44090         [!PER_THREAD]: Remove code.
44091         (ptmalloc_unlock_all2): Likewise.
44092         (ptmalloc_init): Likewise.
44093         (_int_new_arena): Likewise.
44094         (arena_get2): Likewise.
44095         * malloc/hooks.c (__malloc_get_state): Likewise.
44096         (__malloc_set_state): Likewise.
44097         * malloc/malloc.c: Likewise.
44098         (struct malloc_state): Likewise.
44099         (struct malloc_par): Likewise.
44100         (__libc_realloc): Likewise.
44101         (__libc_mallopt): Likewise.
44103 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44105         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44107 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44109         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44110         macro to a function.  Check for zero perturb_byte.
44111         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44113         * malloc/malloc.c: (force_reg): Remove.
44114         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44115         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44116         force_reg by atomic_forced_read.
44117         * malloc/arena.c (ptmalloc_init): Likewise.
44118         * malloc/hooks.c (top_check): Likewise.
44120 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44124 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44128 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44130         * math/auto-libm-test-in: Add tests of lgamma.
44131         * math/auto-libm-test-out: Regenerated.
44132         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44133         (M_LOG_2_SQRT_PIl): Likewise.
44134         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44135         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44136         mpfr_f_f1.
44137         (func_calc_desc): Add mpfr_f_f1 union field.
44138         (ARGS1): New macro.
44139         (ARGS2): Likewise.
44140         (ARGS3): Likewise.
44141         (ARGS4): Likewise.
44142         (RET1): Likewise.
44143         (RET2): Likewise.
44144         (CALC): Likewise.
44145         (FUNC): Likewise.
44146         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44147         (test_functions): Add lgamma.
44148         (calc_generic_results): Handle mpfr_f_f1.
44149         * sysdeps/i386/fpu/libm-test-ulps: Update.
44150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44152 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44154         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44155         __mpn_add_n for PowerPC64/POWER7.
44156         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44157         __mpn_sub_n for PowerPC64/POWER7.
44159         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44160         __mpn_addmul_1 for PowerPC64.
44161         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44162         __mpn_submul_1 for PowerPC64.
44163         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44164         for PowerPC64.
44165         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44166         for PowerPC64.
44168 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44170         [BZ #15089]
44171         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44173 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44175         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44177         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44178         add multiarch folders.
44179         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44180         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44181         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44182         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44183         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44184         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44185         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44186         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44187         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44188         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44189         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44198         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44200         New file.
44201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44202         New file.
44203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44204         multiarch __ieee754_hypot for PowerPC32.
44205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44206         New file.
44207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44208         New file.
44209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44210         multiarch __ieee754_hypotf for PowerPC32.
44212         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44213         long_double_symbol only if __logbl is defined.
44214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44215         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44217         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44219         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44220         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44221         path for implementation.
44222         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44223         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44225         logb, and logbl multiarch implementations for PowerPC32.
44226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44227         file.
44228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44229         file.
44230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44231         multiarch logb for PowerPC32.
44232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44233         file.
44234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44235         file.
44236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44237         multiarch logbf for PowerPC32.
44238         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44240         file.
44241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44242         multiarch logbl implementation for PowerPC32.
44244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44245         and modff multiarch implementations.
44246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44247         New file.
44248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44249         New file.
44250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44251         multiarch modf for PowerPC32.
44252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44253         New file.
44254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44255         New file.
44256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44257         multiarch modff for PowerPC32.
44259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44260         and lrintf multiarch implementations.
44261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44262         New file.
44263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44264         New file.
44265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44266         multiarch lrint for PowerPC32.
44267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44268         file: multiarch lrintf for PowerPC32.
44270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44271         and lroundf multiarch implementations.
44272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44273         New file.
44274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44275         New file.
44276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44277         New file.
44278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44279         multiarch lround for PowerPC32.
44280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44281         file: multiarch lroundf for PowerPC32.
44283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44284         copysign and copysignf multiarch implementations.
44285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44286         New file.
44287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44288         New file.
44289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44290         file: multiarch copysign for PowerPC32.
44291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44292         file: multiarch copysignf for PowerPC32.
44294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44295         and truncf multiarch implementations.
44296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44297         New file.
44298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44299         file.
44300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44301         multiarch trunc for PowerPC32.
44302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44303         New file.
44304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44305         New file.
44306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44307         multiarch truncf for PowerPC32.
44309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44310         and roundf multiarch implementations.
44311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44312         New file.
44313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44314         file.
44315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44316         multiarch round for PowerPC32.
44317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44318         New file.
44319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44320         New file.
44321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44322         multiarch roundf for PowerPC32.
44324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44325         and floorf multiarch implementations.
44326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44327         New file.
44328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44329         file.
44330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44331         multiarch floor for PowerPC32.
44332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44333         New file.
44334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44335         New file.
44336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44337         multiarch floorf for PowerPC32.
44339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44340         and ceilf multiarch implementations.
44341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44342         New file.
44343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44344         file.
44345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44346         multiarch ceil for PowerPC32.
44347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44348         New file.
44349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44350         file.
44351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44352         multiarch ceilf for PowerPC32.
44354         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44355         is defined.
44356         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44357         FINITEF is defined.
44358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44359         and finitef multiarch implementations.
44360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44361         New file.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44363         file.
44364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44365         multiarch finite for PowerPC32.
44366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44367         New file.
44368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44369         file: multiarch finitef for PowerPC32.
44371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44372         and isinff multiarch implementations.
44373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44374         file.
44375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44376         file.
44377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44378         multiarch isinf for PowerPC32.
44379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44380         New file.
44381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44382         multiarch isinff for PowerPC32.
44384         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44385         alias when __isnan is defined.
44386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44387         and isnanf multiarch implementations.
44388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44389         file.
44390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44391         file.
44392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44393         file.
44394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44395         file.
44396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44397         multiarch isnan for PowerPC32.
44398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44399         New file.
44400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44401         New file.
44402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44403         multiarch isnanf for PowerPC32.
44405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44406         and sqrtf multiarch implementations.
44407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44408         file.
44409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44410         file.
44411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44412         multiarch sqrt for PowerPC32.
44413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44414         file.
44415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44416         file.
44417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44418         multiarch sqrtf for PowerPC32.
44420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44421         and llroundf multiarch implementations.
44422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44423         New file.
44424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44425         New file.
44426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44427         New file.
44428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44429         file: multiarch llround for PowerPC32.
44430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44431         file: multiarch llroundf for PowerPC32.
44433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44434         multiarch PowerPC32 fpu implementations.
44435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44436         New file.
44437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44438         New file.
44439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44440         multiarch llrint for PowerPC32.
44441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44442         New file.
44443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44444         New file.
44445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44446         file.
44448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44450         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44451         file.
44452         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44453         file.
44454         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44455         file.
44456         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44457         multiarch wordcopy for PPC32.
44458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44459         wordcopy objects.
44460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44461         (__libc_ifunc_impl_list): Likewise.
44462         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44463         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44464         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44465         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44466         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44467         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44469         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44471         file.
44472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44473         file.
44474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44475         file.
44476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44477         multiarch wcscpy for PPC32.
44478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44479         multiarch objects.
44480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44481         (__libc_ifunc_impl_list): Likewise.
44482         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44483         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44484         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44485         sysdeps/powerpc/power6/wcscpy.c.
44487         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44489         file.
44490         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44491         file.
44492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44493         file.
44494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44495         multiarch wcsrchr for PPC32.
44496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44497         multiarch objects.
44498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44499         (__libc_ifunc_impl_list): Likewise.
44500         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44501         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44502         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44503         sysdeps/powerpc/power6/wcsrchr.c.
44505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44506         file.
44507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44508         file.
44509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44510         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44511         multiarch wcschr for PPc32.
44512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44513         multiarch objects.
44514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44515         (__libc_ifunc_impl_list): Likewise.
44516         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44517         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44518         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44519         sysdeps/powerpc/power6/wcschr.c.
44521         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44522         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44523         file.
44524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44525         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44526         file: multiarch strchr for PPC32.
44527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44528         multiarch objects.
44529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44530         (__libc_ifunc_impl_list): Likewise.
44532         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44533         name.
44534         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44535         file.
44536         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44537         file.
44538         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44539         multiarch strchrnul for PPC32.
44540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44541         multiarch objects.
44542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44543         (__libc_ifunc_impl_list): Likewise.
44545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44546         file.
44547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44548         multiarch strncasecmp for PPC32.
44549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44550         file.
44551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44552         multiarch strncasecmp_l for PPC32.
44553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44554         strncasecmp multiarch objects.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44556         (__libc_ifunc_impl_list): Likewise.
44558         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44559         file.
44560         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44561         multiarch strncasecmp for PPC32.
44562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44563         New file.
44564         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44565         multiarch strcasecmp_l for PPC32.
44566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44567         multiarch objects.
44568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44569         (__libc_ifunc_impl_list): Likewise.
44571         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44572         file.
44573         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44574         file.
44575         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44576         multiarch strncmp for PPC32.
44577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44578         multiarch objects.
44579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44580         (__libc_ifunc_impl_list): Likewise.
44582         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44583         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44584         file.
44585         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44586         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44588         multiarch objects.
44589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44590         (__libc_ifunc_impl_list): Likewise.
44592         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44593         file.
44594         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44595         file.
44596         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44598         multiarch objects.
44599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44600         (__libc_ifunc_impl_list): Likewise.
44602         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44603         file.
44604         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44605         file.
44606         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44607         multiarch rawmemchr for PPC32.
44608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44609         multiarch objects.
44610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44611         (__libc_ifunc_impl_list): Likewise.
44613         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44614         file.
44615         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44616         file.
44617         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44618         file: memrchr multiarch for PPC32.
44619         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44620         multiarch objects.
44621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44622         (__libc_ifunc_impl_list): Likewise.
44624         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44625         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44626         file.
44627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44628         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44629         multiarch memchr for PPC32.
44630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44631         multiarch objects.
44632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44633         (__libc_ifunc_impl_list): Likewise.
44635         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44636         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44637         file.
44638         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44639         file.
44640         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44641         file: multiarch mempcpy for PPC32.
44642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44643         multiarch objects.
44644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44645         (__libc_ifunc_impl_list): Likewise.
44647         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44648         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44650         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44651         multiarch bzero for PPC32.
44652         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44653         file.
44654         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44655         file.
44656         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44657         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44658         file: multiarch memset for PPC32.
44659         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44661         memset multiarch objects.
44662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44663         (__libc_ifunc_impl_list): Likewise.
44665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44666         file.
44667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44668         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44669         memcmp for PPC32.
44670         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44672         multiarch objects.
44673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44674         (__libc_ifunc_impl_list): Likewise.
44676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44677         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44678         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44679         file.
44680         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44681         file.
44682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44683         file.
44684         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44685         multiarch memcpy for PPC32.
44686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44687         multiarch objects.
44688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44689         (__libc_ifunc_impl_list): Likewise.
44691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44692         support multiarch for POWER/PPC32.
44693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44694         Likewise.
44695         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44697         Implies file to make multiarch folder appers before the fpu and
44698         default folder for power4 configuration.
44700 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44702         * scripts/bench.pl: Append volatile keyword to type.
44704 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44706         * sysdeps/sh/sotruss-lib.c: New file.
44707         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44709 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44713 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44715         [BZ #6810]
44716         * math/w_tgamma.c: Include <errno.h>.
44717         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44718         * math/w_tgammaf.c: Include <errno.h>.
44719         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44720         * math/w_tgammal.c: Include <errno.h>.
44721         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44722         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44723         underflow.  Add more tgamma tests.
44724         * math/auto-libm-test-out: Regenerated.
44725         * sysdeps/i386/fpu/libm-test-ulps: Update.
44726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44728         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44729         sin, sinh, tan, tanh, tgamma, y0 and y1.
44730         * math/auto-libm-test-out: Regenerated.
44731         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44732         (TEST_COND_x86): Likewise.
44733         (M_E2l): Remove macro.
44734         (M_E3l): Likewise.
44735         (M_2_SQRT_PIl): Likewise.
44736         (M_SQRT_PIl): Likewise.
44737         (M_1_DIV_El): Likewise.
44738         (log_test_data): Use AUTO_TESTS_f_f.
44739         (log10_test_data): Likewise.
44740         (log1p_test_data): Likewise.
44741         (log2_test_data): Likewise.
44742         (sin_test_data): Likewise.
44743         (sin_tonearest_test_data): Likewise.
44744         (sin_towardzero_test_data): Likewise.
44745         (sin_downward_test_data): Likewise.
44746         (sin_upward_test_data): Likewise.
44747         (sinh_test_data): Likewise.
44748         (sinh_tonearest_test_data): Likewise.
44749         (sinh_towardzero_test_data): Likewise.
44750         (sinh_downward_test_data): Likewise.
44751         (sinh_upward_test_data): Likewise.
44752         (tan_test_data): Likewise.
44753         (tan_tonearest_test_data): Likewise.
44754         (tan_towardzero_test_data): Likewise.
44755         (tan_downward_test_data): Likewise.
44756         (tan_upward_test_data): Likewise.
44757         (tanh_test_data): Likewise.
44758         (tgamma_test_data): Likewise.
44759         (y0_test_data): Likewise.
44760         (y1_test_data): Likewise.
44761         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44762         (special_real_inputs): Add pi/4.
44763         * sysdeps/i386/fpu/libm-test-ulps: Update.
44764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44766 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44768         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44769         "longjmp_target" static probes.
44770         (__longjmp): Rename to __longjmp_symbol.
44771         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44772         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44773         on which longjmp to generate.
44774         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44775         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44776         probe.
44777         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44778         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44779         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44780         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44781         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44782         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44784         __longjmp_symbol based on which __longjmp to generate.
44785         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44786         probe.
44787         (setjmp): Rename to setjmp_symbol.
44788         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44789         (_setjmp): Rename to _setjmp_symbol.
44790         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44791         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44792         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44793         which setjmp to generate.
44794         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44795         "longjmp_target" static probes.
44797 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44799         * benchtests/README: Add note about output arguments.
44800         * benchtests/bench-sincos.c: Remove file.
44801         * benchtests/sincos-inputs: New file.
44802         * scripts/bench.pl: Identify output arguments and define
44803         static variables for them.
44805         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44807         [BZ #15941]
44808         * Makefile (INSTALL): Add install-plain.texi as the primary
44809         dependency.
44810         * manual/install-plain.texi: New file.
44811         * manual/install.texi: Include node directive only for
44812         non-plaintext output.
44814 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44816         * stdlib/longlong.h: Update from GCC.
44818         [BZ #6807]
44819         [BZ #15901]
44820         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44821         * math/w_j0f.c (y0f): Likewise.
44822         * math/w_j0l.c (__y0l): Likewise.
44823         * math/w_j1.c (y1): Likewise.
44824         * math/w_j1f.c (y1f): Likewise.
44825         * math/w_j1l.c (__y1l): Likewise.
44826         * math/w_jn.c (yn): Likewise.
44827         * math/w_jnf.c (ynf): Likewise.
44828         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44829         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44830         value for Bessel function domain errors outside _SVID_ mode.
44831         Adjust sign of return value for yn (negative integer, 0).
44832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44833         by zero in return for negative x and set sign appropriately for
44834         negative n.
44835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44837         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44838         expectations in error cases.
44839         (y1_test_data): Likewise.
44840         (yn_test_data): Likewise.
44841         * sysdeps/i386/fpu/libm-test-ulps: Update.
44842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44844 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44846         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44847         "64" to "64-v1".  Add "64-v2".
44848         (abi-64-options): Rename to ...
44849         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44850         (abi-64-condition): Rename to ...
44851         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44852         (abi-64-ld-soname): Rename to ...
44853         (abi-64-v1-ld-soname): ... this.
44854         (abi-64-v2-options): Define.
44855         (abi-64-v2-condition): Likewise.
44856         (abi-64-v2-ld-soname): Likewise.
44857         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44858         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44863 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44864             Alan Modra  <amodra@gmail.com>
44866         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44867         New versions for use with the ELFv2 ABI.
44868         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44869         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44870         declaration.
44871         (struct La_ppc64v2_retval): Likewise.
44872         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44873         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44874         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44875         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44876         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44877         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44878         Do not save or restore CR.
44879         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44880         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44881         return values for ELFv2 ABI.  Fix location of FPR return registers.
44882         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44883         updated values for _CALL_ELF == 2.
44884         (La_regs, La_retval, int_retval): Likewise.
44886 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44888         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44889         (FRAME_MIN_SIZE_PARM): Likewise.
44890         (FRAME_BACKCHAIN): Likewise.
44891         (FRAME_CR_SAVE): Likewise.
44892         (FRAME_LR_SAVE): Likewise.
44893         (FRAME_TOC_SAVE): Likewise.
44894         (FRAME_PARM_SAVE): Likewise.
44895         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44896         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44897         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44898         (call_mcount_parm_offset): New macro.
44899         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44900         (PROF): Use symbolic stack frame offsets.
44901         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44903         Redefine in terms of FRAME_MIN_SIZE.
44904         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44905         (_dl_profile_resolve): Likewise.  Update comment.
44906         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44907         symbols stack frame offsets.
44908         (__sigsetjmp): Likewise.
44909         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44910         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44911         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44912         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44915         (FRAME_BACKCHAIN): Remove.
44916         (FRAME_CR_SAVE): Likewise.
44917         (FRAME_LR_SAVE): Likewise.
44918         (FRAME_COMPILER_DW): Likewise.
44919         (FRAME_LINKER_DW): Likewise.
44920         (FRAME_TOC_SAVE): Likewise.
44921         (FRAME_PARM_SAVE): Likewise.
44922         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44923         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44924         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44926         (CHECK_SP): Use symbolic stack frame offsets.
44927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44928         zone" instead of caller's parameter save area for temp storage.
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44930         Likewise.  Also, use symbolic stack frame offsets.
44931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44932         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44933         our own stack frame instead of the caller's.
44934         (__socket): Use symbolic stack frame offsets.
44936 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44937             Alan Modra  <amodra@gmail.com>
44939         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44940         Define.
44941         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44942         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44943         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44944         New function.
44945         (elf_machine_fixup_plt): Call it.
44946         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44947         reloc arguments.
44948         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44949         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44950         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44951         r2 before calling target.
44953 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44954             Alan Modra  <amodra@gmail.com>
44956         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44957         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44958         versions of macros to support ELFv2 ABI.
44959         (LOCALENTRY): New macro.
44960         (ENTRY, EALIGN): Use it.
44961         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44962         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44963         fall through into ENTRY entry point.
44964         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44965         Only define if _CALL_ELF != 2.
44967         (elf_machine_matches_host): Verify ABI version matches.
44968         (RTLD_START): Use LOCALENTRY.
44969         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44970         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44971         (PLT_ENTRY_WORDS): New macro.
44972         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44973         (elf_machine_runtime_setup): Support ELFv2 ABI.
44974         (elf_machine_fixup_plt): Likewise.
44975         (elf_machine_plt_conflict): Likewise.
44976         (resolve_ifunc): Likewise.
44977         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44978         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44979         Likewise.
44980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44981         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44983         (makecontext): Support ELFv2 ABI.
44984         * elf/elf.h (EF_PPC64_ABI): Define.
44986 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44988         * sysdeps/powerpc/powerpc64/sysdep.h
44989         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44990         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44991         (ENTRY) [ASSEMBLER]: ... but instead here ...
44992         (EALIGN) [ASSEMBLER]: ... and here.
44993         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44994         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44995         (ENTRY_2) [!ASSEMBLER]: Use it.
44996         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44997         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44998         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44999         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45000         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45002         Use PPC64_LOAD_FUNCPTR.
45004         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45006 2013-12-04  Alan Modra  <amodra@gmail.com>
45008         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45009         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45010         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45011         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45014         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45015         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45016         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45017         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45018         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45020 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45023         (__makecontext): Fix incorrect CFI when backtracing out of
45024         context created via makecontext.
45025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45026         (__setcontext): Fix incorrect CFI during switch to new context.
45027         (__novec_setcontext): Likewise.
45029 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45031         [BZ #4772]
45032         * time/strptime_l.c (__strptime_internal): Allow modifiers
45033         in strptime.
45034         * time/tst-strptime.c (day_tests): Add testcase.
45036 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45038         * scripts/bench.pl: Skip over blank lines.
45040 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45042         [BZ #926]
45043         * manual/time.texi (Calendar Time): Clarify what timezone functions
45044         use.
45046 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45050 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45052         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45053         implementation.
45054         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45055         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45056         * debug/memset_chk.c (__memset_chk): Likewise.
45057         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45058         * debug/strncpy_chk.c: Likewise.
45060 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45062         [BZ #15268]
45063         [BZ #15425]
45064         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45065         (__ieee754_exp): For possibly underflowing results, check size of
45066         result and force underflow exception if required.
45067         * math/auto-libm-test-in: Add more tests of exp.
45068         * math/auto-libm-test-out: Regenerated.
45069         * sysdeps/i386/fpu/libm-test-ulps: Update.
45070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45072         [BZ #16283]
45073         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45074         * math/w_exp2f.c (__exp2f): Likewise.
45075         * math/w_exp2l.c (__exp2l): Likewise.
45076         * math/auto-libm-test-in: Do not allow missing errno on exp2
45077         underflow.
45078         * math/auto-libm-test-out: Regenerated.
45080 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45082         [BZ #16274]
45083         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45084         handle filename validation.
45085         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45086         (do_open): Delete.
45088 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45090         [BZ #6786]
45091         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45092         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45093         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45094         <float.h>.
45095         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45096         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45097         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45098         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45099         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45100         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45101         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45102         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45103         Add more erfc tests.
45104         * math/auto-libm-test-out: Regenerated.
45105         * sysdeps/i386/fpu/libm-test-ulps: Update.
45106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45108         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45109         exp2, expm1, j0 and j1.
45110         * math/auto-libm-test-out: Regenerated.
45111         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45112         (erfc_test_data): Likewise.
45113         (exp_test_data): Likewise.
45114         (exp_tonearest_test_data): Likewise.
45115         (exp_towardzero_test_data): Likewise.
45116         (exp_downward_test_data): Likewise.
45117         (exp_upward_test_data): Likewise.
45118         (exp10_test_data): Likewise.
45119         (exp2_test_data): Likewise.
45120         (expm1_test_data): Likewise.
45121         (j0_test_data): Likewise.
45122         (j1_test_data): Likewise.
45123         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45124         (input_flag_type): Add flag_xfail_rounding.
45125         (input_flags): Add xfail-rounding.
45126         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45127         (output_for_one_input_case): Handle flag_xfail_rounding.
45128         * sysdeps/i386/fpu/libm-test-ulps: Update.
45129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45131 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45133         [BZ #16289]
45134         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45135         division by 0.
45137 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         [BZ #16195]
45140         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45141         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45142         (STAP_PROBE0): New macro.
45143         (STAP_PROBE1): Likewise.
45144         (STAP_PROBE2): Likewise.
45145         (STAP_PROBE3): Likewise.
45146         (STAP_PROBE4): Likewise.
45148 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45150         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45152 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45154         * benchtests/Makefile (bench): Add sqrt.
45155         (LDLIBS-bench-sqrt): New.
45156         * benchtests/sqrt-input: New.
45158 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45160         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45161         (GAIH_EAI): Likewise.
45162         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45163         (gaih_inet): Likewise.
45164         (getaddrinfo): Don't use GAIH_EAI.
45166         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45167         (struct gaih): Remove definition.
45169 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45171         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45172         Use HERRNOP directly.
45174 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45178 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45180         * math/gen-auto-libm-tests.c (test_functions): Add more
45181         single-argument functions.
45182         (special_fill_pi_2): New function.
45183         (special_fill_minus_pi_2): Likewise.
45184         (special_fill_pi_6): Likewise.
45185         (special_fill_minus_pi_6): Likewise.
45186         (special_fill_pi_3): Likewise.
45187         (special_fill_2pi_3): Likewise.
45188         (special_fill_e): Likewise.
45189         (special_fill_1_e): Likewise.
45190         (special_fill_e_minus_1): Likewise.
45191         (special_real_inputs): Add more special inputs.
45192         (output_for_one_input_case): Do not require ERANGE on underflow to
45193         zero if round-to-nearest result does not underflow to zero, unless
45194         exact results required.
45195         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45196         atan, atanh, cbrt, cos and cosh.
45197         * math/auto-libm-test-out: Regenerated.
45198         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45199         (acos_tonearest_test_data): Likewise.
45200         (acos_towardzero_test_data): Likewise.
45201         (acos_downward_test_data): Likewise.
45202         (acos_upward_test_data): Likewise.
45203         (acosh_test_data): Likewise.
45204         (asin_test_data): Likewise.
45205         (asin_tonearest_test_data): Likewise.
45206         (asin_towardzero_test_data): Likewise.
45207         (asin_upward_test_data): Likewise.
45208         (asinh_test_data): Likewise.
45209         (atan_test_data): Likewise.
45210         (atanh_test_data): Likewise.
45211         (cbrt_test_data): Likewise.
45212         (cos_test_data): Likewise.
45213         (cos_tonearest_test_data): Likewise.
45214         (cos_towardzero_test_data): Likewise.
45215         (cos_downward_test_data): Likewise.
45216         (cos_upward_test_data): Likewise.
45217         (cosh_test_data): Likewise.
45218         (cosh_tonearest_test_data): Likewise.
45219         (cosh_towardzero_test_data): Likewise.
45220         (cosh_downward_test_data): Likewise.
45221         (cosh_upward_test_data): Likewise.
45222         * sysdeps/i386/fpu/libm-test-ulps: Update.
45223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45225 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45227         [BZ #6787]
45228         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45229         * math/w_exp10f.c (__exp10f): Likewise.
45230         * math/w_exp10l.c (__exp10l): Likewise.
45231         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45232         errno settings in existing tests.
45234         [BZ #14032]
45235         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45236         precision control set to double precision.
45237         * sysdeps/i386/fpu/w_sqrt.c: New file.
45238         * math/auto-libm-test-in: Add more tests.
45239         * math/auto-libm-test-out: Update.
45241         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45242         (sqrt_test_tonearest): New function.
45243         (sqrt_towardzero_test_data): New variable.
45244         (sqrt_test_towardzero): New function.
45245         (sqrt_downward_test_data): New variable.
45246         (sqrt_test_downward): New function.
45247         (sqrt_upward_test_data): New variable.
45248         (sqrt_test_upward): New function.
45249         (main): Call the new functions.
45251         * math/gen-auto-libm-tests.c: New file.
45252         * math/auto-libm-test-in: Likewise.
45253         * math/auto-libm-test-out: New generated file.
45254         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45255         variables.
45256         (%beautify): Add generated representations of zero.
45257         (top level): Set $auto_input and call parse_auto_input.
45258         (beautify): Remove trailing "f" from hex float constants.
45259         (parse_args): Handle XFAIL_TEST.
45260         (convert_condition): New function.
45261         (or_value): Likewise.
45262         (or_cond_value): Likewise.
45263         (generate_testfile): Handle AUTO_TESTS_* lines.
45264         (parse_auto_input): New function.
45265         * math/libm-test.inc (XFAIL_TEST): New macro.
45266         (ERRNO_UNCHANGED): Update value.
45267         (ERRNO_EDOM): Likewise.
45268         (ERRNO_ERANGE): Likewise.
45269         (IGNORE_RESULT): Likewise.
45270         (TEST_COND_flt_32): New macro.
45271         (TEST_COND_dbl_64): Likewise.
45272         (TEST_COND_ldbl_96_intel): Likewise.
45273         (TEST_COND_ldbl_96_m68k): Likewise.
45274         (TEST_COND_ldbl_128): Likewise.
45275         (TEST_COND_ldbl_128ibm): Likewise.
45276         (TEST_COND_long32): Likewise.
45277         (TEST_COND_long64): Likewise.
45278         (TEST_COND_before_rounding): Likewise.
45279         (TEST_COND_after_rounding): Likewise.
45280         (enable_test): Handle XFAIL_TEST flag.
45281         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45282         with finite results.
45283         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45284         auto-libm-test-out.
45286 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45287             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45289         [BZ #16214]
45290         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45291         __tls_get_addr_internal instead of __tls_get_offset in order to
45292         avoid GOT pointer dependency.  Make rtld export
45293         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45294         __tls_get_addr since we are a __tls_get_offset platform.
45295         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45296         GOT pointer being set up before.
45297         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45299 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45301         * manual/math.texi (Errors in Math Functions): Document accuracy
45302         goals.
45304         [BZ #15004]
45305         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45306         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45307         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45308         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45309         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45310         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45311         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45312         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45313         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45314         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45315         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45316         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45317         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45318         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45319         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45320         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45322         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45323         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45324         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45325         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45326         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45327         Likewise.
45328         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45329         Likewise.
45330         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45331         Likewise.
45332         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45333         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45334         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45335         atomic-feupdateenv and flt-rounds.
45336         * sysdeps/powerpc/nofpu/Versions (libc): Add
45337         __atomic_feholdexcept, __atomic_feclearexcept,
45338         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45339         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45340         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45341         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45342         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45343         here.
45344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45345         Update.
45347         * manual/arith.texi (FP Exceptions): Document that exceptions may
45348         not be raised when matherr is used.
45349         (Math Error Reporting): Document overflow in directed rounding
45350         modes.  Document that errno may not be set when finite values are
45351         returned on overflow.  Document intent to set errno on underflow
45352         only for underflow to zero.
45354         [BZ #16271]
45355         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45356         round-to-nearest then adjust result for other rounding modes.
45357         * include/fenv.h (fegetround): Use libm_hidden_proto.
45358         * math/fegetround.c (fegetround): Use libm_hidden_def.
45359         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45360         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45361         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45362         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45363         Likewise.
45364         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45365         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45366         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45367         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45369 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45371         [BZ #16077]
45372         * nss/Versions (libnss_files): Add
45373         _nss_files_gethostbyname3_r.
45374         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45375         New function.
45376         (HOST_DB_LOOKUP): Remove macro.
45377         (_nss_files_gethostbyname_r): Implement function without the
45378         HOST_DB_LOOKUP macro.
45379         (_nss_files_gethostbyname2_r): Likewise.
45381 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45383         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45385 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45387         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45388         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45389         warning.
45391 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45393         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45394         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45395         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45396         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45397         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45398         __fe_nomask_env_priv and attribute_hidden.
45399         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45400         (libc_feupdateenv_test_ppc): Likewise.
45401         (libc_feresetround_ppc): Likewise.
45402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45403         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45404         compat_symbol macro.
45405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45406         (__fe_nomask_env): Likewise.
45407         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45409 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45411         * string/Makefile: Remove ifunc tests.
45412         * string/test-string.h: Define TEST_IFUNC.
45413         * string/test-bcopy-ifunc.c: Remove.
45414         * string/test-bzero-ifunc.c: Likewise.
45415         * string/test-memccpy-ifunc.c: Likewise.
45416         * string/test-memchr-ifunc.c: Likewise.
45417         * string/test-memcmp-ifunc.c: Likewise.
45418         * string/test-memcpy-ifunc.c: Likewise.
45419         * string/test-memmem-ifunc.c: Likewise.
45420         * string/test-memmove-ifunc.c: Likewise.
45421         * string/test-mempcpy-ifunc.c: Likewise.
45422         * string/test-memrchr-ifunc.c: Likewise.
45423         * string/test-memset-ifunc.c: Likewise.
45424         * string/test-rawmemchr-ifunc.c: Likewise.
45425         * string/test-stpcpy-ifunc.c: Likewise.
45426         * string/test-stpncpy-ifunc.c: Likewise.
45427         * string/test-strcasecmp-ifunc.c: Likewise.
45428         * string/test-strcasestr-ifunc.c: Likewise.
45429         * string/test-strcat-ifunc.c: Likewise.
45430         * string/test-strchr-ifunc.c: Likewise.
45431         * string/test-strchrnul-ifunc.c: Likewise.
45432         * string/test-strcmp-ifunc.c: Likewise.
45433         * string/test-strcpy-ifunc.c: Likewise.
45434         * string/test-strcspn-ifunc.c: Likewise.
45435         * string/test-strlen-ifunc.c: Likewise.
45436         * string/test-strncasecmp-ifunc.c: Likewise.
45437         * string/test-strncat-ifunc.c: Likewise.
45438         * string/test-strncmp-ifunc.c: Likewise.
45439         * string/test-strncpy-ifunc.c: Likewise.
45440         * string/test-strnlen-ifunc.c: Likewise.
45441         * string/test-strpbrk-ifunc.c: Likewise.
45442         * string/test-strrchr-ifunc.c: Likewise.
45443         * string/test-strspn-ifunc.c: Likewise.
45444         * string/test-strstr-ifunc.c: Likewise.
45446 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45448         * benchtests/Makefile: Remove ifunc tests.
45449         * benchtests/bench-string.h: Define TEST_IFUNC.
45450         * benchtests/bench-bcopy-ifunc.c: Remove.
45451         * benchtests/bench-bzero-ifunc.c: Likewise.
45452         * benchtests/bench-memccpy-ifunc.c: Likewise.
45453         * benchtests/bench-memchr-ifunc.c: Likewise.
45454         * benchtests/bench-memcmp-ifunc.c: Likewise.
45455         * benchtests/bench-memcpy-ifunc.c: Likewise.
45456         * benchtests/bench-memmem-ifunc.c: Likewise.
45457         * benchtests/bench-memmove-ifunc.c: Likewise.
45458         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45459         * benchtests/bench-memrchr-ifunc.c: Likewise.
45460         * benchtests/bench-memset-ifunc.c: Likewise.
45461         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45462         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45463         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45464         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45465         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45466         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45467         * benchtests/bench-strcat-ifunc.c: Likewise.
45468         * benchtests/bench-strchr-ifunc.c: Likewise.
45469         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45470         * benchtests/bench-strcmp-ifunc.c: Likewise.
45471         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45472         * benchtests/bench-strcpy-ifunc.c: Likewise.
45473         * benchtests/bench-strcspn-ifunc.c: Likewise.
45474         * benchtests/bench-strlen-ifunc.c: Likewise.
45475         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45476         * benchtests/bench-strncat-ifunc.c: Likewise.
45477         * benchtests/bench-strncmp-ifunc.c: Likewise.
45478         * benchtests/bench-strncpy-ifunc.c: Likewise.
45479         * benchtests/bench-strnlen-ifunc.c: Likewise.
45480         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45481         * benchtests/bench-strrchr-ifunc.c: Likewise.
45482         * benchtests/bench-strsep-ifunc.c: Likewise.
45483         * benchtests/bench-strspn-ifunc.c: Likewise.
45484         * benchtests/bench-strstr-ifunc.c: Likewise.
45486 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45488         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45490 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45492         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45493         * rt/aio.h: Likewise.
45494         * sysdeps/gnu/bits/utmp.h: Likewise.
45495         * sysdeps/gnu/bits/utmpx.h: Likewise.
45496         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45497         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45498         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45499         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45500         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45501         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45502         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45503         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45504         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45505         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45506         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45507         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45508         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45510         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45511         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45512         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45513         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45514         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45515         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45516         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45517         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45518         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45519         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45520         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45521         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45522         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45523         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45524         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45525         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45526         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45527         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45528         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45529         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45530         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45531         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45532         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45533         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45534         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45535         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45536         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45537         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45539 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45541         [BZ #16245]
45542         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45543         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45545 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45547         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45548         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45549         Likewise.
45551 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45554         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45555         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45556         (__fesetround): Remove define.
45557         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45558         rounding and exceptions handling.
45559         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45560         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45561         (__fe_nomask_env): Likewise.
45562         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45563         __fegetround instead of fegetround.
45564         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45565         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45567 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45569         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45570         it's there.
45572         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45574 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45576         [BZ #11157]
45577         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45578         (encrypt_r): Likewise.
45579         * malloc/obstack.h (obstack_free): Likewise.
45580         * posix/unistd.h (encrypt): Likewise.
45582 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45584         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45585         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45586         DL_CALL_DT_FINI() that call the functions directly.
45587         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45588         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45589         * elf/dl-fini.c: Likewise.
45591 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45593         * malloc/hooks.c (memalign_check): Add alignment rounding.
45594         * malloc/malloc.c (_mid_memalign): New function.
45595         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45596         Implement by calling _mid_memalign.
45597         * manual/probes.texi (Memory Allocation Probes): Remove
45598         memory_valloc_retry and memory_pvalloc_retry.
45600 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45602         * locale/programs/locarchive.c (open_archive): Add const
45603         qualifier to ARCHIVEFNAME and copy default fname to
45604         DEFAULT_FNAME.
45606         [BZ #15601]
45607         * libio/tst-widetext.input: Rename Oriya to Odia.
45608         * locale/iso-639.def: Likewise.
45610         * manual/probes.texi (Mathematical Function Probes): Add
45611         documentation for sin, cos, asin and acos probes.
45612         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45613         (__sin32): Add slowasin probe.
45614         (__cos32): Add slowacos probe.
45615         (__mpsin): Add slowsin probe.
45616         (__mpcos): Add slowcos probe.
45618 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45620         [BZ #15483]
45621         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45622         thread-local __sim_exceptions_thread and global
45623         __sim_exceptions_global.
45624         (__sim_disabled_exceptions): Change to thread-local
45625         __sim_disabled_exceptions_thread and global
45626         __sim_disabled_exceptions_global.
45627         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45628         and global __sim_round_mode_global.
45629         (__simulate_exceptions): Use thread-local floating-point state and
45630         set global state from it as needed.
45631         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45632         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45633         __sim_round_mode_thread.
45634         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45635         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45636         and global __sim_exceptions_global.
45637         (__sim_disabled_exceptions): Change to thread-local
45638         __sim_disabled_exceptions_thread and global
45639         __sim_disabled_exceptions_global.
45640         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45641         and global __sim_round_mode_global.
45642         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45643         (SIM_SET_GLOBAL): Likewise.
45644         * sysdeps/powerpc/soft-fp/sfp-machine.h
45645         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45646         __sim_round_mode_thread.
45647         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45648         __sim_disabled_exceptions_thread.
45649         (__sim_exceptions): Change to __sim_exceptions_thread.
45650         (__sim_disabled_exceptions): Change to
45651         __sim_disabled_exceptions_thread.
45652         (__sim_round_mode): Change to __sim_round_mode_thread.
45653         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45654         thread-local floating-point state and set global state from it as
45655         needed.
45656         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45657         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45658         (__sim_disabled_exceptions): Remove extern declaration.
45659         (feenableexcept): Use thread-local floating-point state and set
45660         global state from it as needed.
45661         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45662         extern declaration.
45663         (__sim_disabled_exceptions): Likewise.
45664         (__sim_round_mode): Likewise.
45665         (__fegetenv): Use thread-local floating-point state.
45666         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45667         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45668         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45669         floating-point state and set global state from it as needed.
45670         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45671         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45672         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45673         Likewise.
45674         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45675         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45676         Likewise.
45677         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45678         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45679         Use __sim_round_mode_thread.
45680         * math/test-fenv-tls.c: New file.
45681         * math/Makefile (tests): Add test-fenv-tls.
45682         ($(objpfx)test-fenv-tls): Depend on
45683         $(common-objpfx)nptl/libpthread.so.
45685 2013-11-19  Andreas Schwab  <schwab@suse.de>
45687         * locale/programs/locale.c (show_info): Decode wordarray elements.
45688         * locale/categories.def (LC_MONETARY): Add element for
45689         _NL_MONETARY_CRNCYSTR.
45690         * locale/C-monetary.c (conversion_rate): New variable.
45691         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45692         element.
45694 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45696         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45697         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45699 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45701         * elf/Makefile (tst-auxv): New test.
45702         * elf/tst-auxv.c: New
45703         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45705 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45707         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45708         (hidden_proto): Caller changed.
45709         (hidden_tls_proto): New macro.
45710         (libc_hidden_tls_proto): Likewise.
45711         (rtld_hidden_tls_proto): Likewise.
45712         (libm_hidden_tls_proto): Likewise.
45713         (libresolv_hidden_tls_proto): Likewise.
45714         (librt_hidden_tls_proto): Likewise.
45715         (libdl_hidden_tls_proto): Likewise.
45716         (libnss_files_hidden_tls_proto): Likewise.
45717         (libnsl_hidden_tls_proto): Likewise.
45718         (libnss_nisplus_hidden_tls_proto): Likewise.
45719         (libutil_hidden_tls_proto): Likewise.
45721 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45723         [BZ #10253]
45724         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45725         (decompose_rpath): Defer expansion to fillin_rpath.
45726         (_dl_init_paths): Pass linkmap to fillin_rpath.
45728 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45730         * benchtests/Makefile: Add strsep.
45731         * benchtests/bench-strsep.c: New file: strsep benchtest.
45732         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45734 2013-11-18  Andreas Schwab  <schwab@suse.de>
45736         * locale/programs/locale.c (show_info) [case byte]: Check for
45737         '\377' instead of '\177'.
45738         * locale/C-monetary.c (not_available): Always use "\377".
45739         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45740         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45741         detect unavailable sign_posn locale elements.
45742         * locale/localeconv.c (__localeconv): For grouping and
45743         mon_grouping handle "\177" and "\377" like no grouping.
45744         (INT_ELEM): New macro.  Use it to set all numeric members.
45745         * locale/programs/ld-monetary.c (monetary_read)
45746         <tok_mon_grouping>: Normalize single -1 to the empty string.
45747         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45748         Likewise.
45750 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45752         [BZ #16055]
45753         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45754         when we match (nil).
45755         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45757 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45759         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45760         (NO_TEST_INLINE): Update value.
45761         (ERRNO_UNCHANGED): Likewise.
45762         (ERRNO_EDOM): Likewise.
45763         (ERRNO_ERANGE): Likewise.
45764         (IGNORE_RESULT): Likewise.
45765         (check_float_internal): Check signs of NaN results if
45766         TEST_NAN_SIGN used.
45767         (check_complex): Pass TEST_NAN_SIGN flag through to second
45768         check_float_internal call.
45769         (copysign_test_data): Add tests with quiet NaNs as second
45770         argument.  Use TEST_NAN_SIGN.
45771         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45772         TEST_NAN_SIGN.
45773         (signbit_test_data): Add tests of quiet NaN argument.
45774         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45776         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45777         $ignore_result.
45778         (parse_args): Handle function results specified as IGNORE.
45779         * math/libm-test.inc (IGNORE_RESULT): New macro.
45780         (check_float_internal): Do not check numerical result if flag
45781         IGNORE_RESULT set.
45782         (check_complex): Pass through IGNORE_RESULT to second
45783         check_float_internal call.
45784         (check_int): Do not check numerical result if flag IGNORE_RESULT
45785         set.
45786         (check_long): Likewise.
45787         (check_bool): Likewise.
45788         (check_longlong): Likewise.
45789         (lrint_test_data): Add tests of infinite and NaN arguments.
45790         (lrint_tonearest_test_data): Likewise.
45791         (lrint_towardzero_test_data): Likewise.
45792         (lrint_downward_test_data): Likewise.
45793         (lrint_upward_test_data): Likewise.
45794         (llrint_test_data): Likewise.
45795         (llrint_tonearest_test_data): Likewise.
45796         (llrint_towardzero_test_data): Likewise.
45797         (llrint_downward_test_data): Likewise.
45798         (llrint_upward_test_data): Likewise.
45799         (lround_test_data): Likewise.
45800         (llround_test_data): Likewise.
45802         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45803         (ERRNO_UNCHANGED): Update value.
45804         (ERRNO_EDOM): Likewise.
45805         (ERRNO_ERANGE): Likewise.
45806         (NO_TEST_INLINE_FLOAT): New macro.
45807         (NO_TEST_INLINE_DOUBLE): Likewise.
45808         (enable_test): New function.
45809         (RUN_TEST_f_f): Check enable_test before running test.
45810         (RUN_TEST_2_f): Likewise.
45811         (RUN_TEST_fff_f): Likewise.
45812         (RUN_TEST_c_f): Likewise.
45813         (RUN_TEST_f_f1): Likewise.
45814         (RUN_TEST_fF_f1): Likewise.
45815         (RUN_TEST_fI_f1): Likewise.
45816         (RUN_TEST_ffI_f1): Likewise.
45817         (RUN_TEST_c_c): Likewise.
45818         (RUN_TEST_cc_c): Likewise.
45819         (RUN_TEST_f_i): Likewise.
45820         (RUN_TEST_f_i_tg): Likewise.
45821         (RUN_TEST_ff_i_tg): Likewise.
45822         (RUN_TEST_f_b): Likewise.
45823         (RUN_TEST_f_b_tg): Likewise.
45824         (RUN_TEST_f_l): Likewise.
45825         (RUN_TEST_f_L): Likewise.
45826         (RUN_TEST_fFF_11): Likewise.
45827         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45828         conditionals.
45829         (cosh_test_data): Likewise.
45830         (exp_test_data): Likewise.
45831         (expm1_test_data): Likewise.
45832         (hypot_test_data): Likewise.
45833         (pow_test_data): Likewise.
45834         (sinh_test_data): Likewise.
45835         (tanh_test_data): Likewise.
45836         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45837         flags argument.
45839         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45840         tests with quiet NaN input and output.
45841         (acosh_test_data): Likewise.
45842         (asin_test_data): Likewise.
45843         (asinh_test_data): Likewise.
45844         (atan_test_data): Likewise.
45845         (atanh_test_data): Likewise.
45846         (atan2_test_data): Likewise.
45847         (cbrt_test_data): Likewise.
45848         (cos_test_data): Likewise.
45849         (cosh_test_data): Likewise.
45850         (erf_test_data): Likewise.
45851         (erfc_test_data): Likewise.
45852         (exp_test_data): Likewise.
45853         (exp10_test_data): Likewise.
45854         (exp2_test_data): Likewise.
45855         (expm1_test_data): Likewise.
45856         (hypot_test_data): Likewise.
45857         (j0_test_data): Likewise.
45858         (j1_test_data): Likewise.
45859         (jn_test_data): Likewise.
45860         (lgamma_test_data): Likewise.
45861         (log_test_data): Likewise.
45862         (log10_test_data): Likewise.
45863         (log1p_test_data): Likewise.
45864         (log2_test_data): Likewise.
45865         (pow_test_data): Likewise.
45866         (scalb_test_data): Likewise.
45867         (sin_test_data): Likewise.
45868         (sincos_test_data): Likewise.
45869         (sinh_test_data): Likewise.
45870         (tan_test_data): Likewise.
45871         (tanh_test_data): Likewise.
45872         (tgamma_test_data): Likewise.
45873         (y0_test_data): Likewise.
45874         (y1_test_data): Likewise.
45875         (yn_test_data): Likewise.
45877         [BZ #16167]
45878         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45879         argument being NaN and avoid computations with second argument in
45880         that case.
45881         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45882         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45883         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45885 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45887         * locale/iso-639.def: Add Chitwani Tharu (the).
45889 2013-11-14  Andreas Schwab  <schwab@suse.de>
45891         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45892         word instead of empty string.
45894 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45897         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45899         (__fe_nomask_env): Likewise.
45901 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45903         * benchtests/bench-timing.h: Include time.h.
45905 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45907         [BZ #15997]
45908         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45909         to 3.4.0 for x32.
45910         * sysdeps/unix/sysv/linux/configure: Regenerated.
45912 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45914         [BZ #16151]
45915         * stdlib/strtod_l.c (round_and_return): Do not consider
45916         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45917         exponent one less than half the least subnormal exponent.
45918         * stdlib/test-strtod-round-data: Add more tests.
45919         * stdlib/tst-strtod-round.c (tests): Regenerated.
45921 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45923         [BZ #14143]
45924         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45925         (__fe_mask_env): Likewise.
45926         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45927         libm_hidden_proto and add function prototype.
45928         (__fe_mask_env): Add function prototype.
45929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45930         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45932         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45934         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45936 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45938         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45939         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45941 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45943         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45944         of htab_find_slot().
45946 2013-11-11  David S. Miller  <davem@davemloft.net>
45948         [BZ #16150]
45949         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45950         symbol in the non-vis3 case in static builds.
45951         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45952         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45953         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45954         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45956 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45958         [BZ #387]
45959         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45960         it is empty.
45962 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45964         * benchtests/Makefile: Add bench-strtod.
45965         * benchtests/bench-strtod.c: New file: strtod benchtest
45967 2013-11-11  Andreas Schwab  <schwab@suse.de>
45969         [BZ #16153]
45970         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45971         terminating NUL in key length.
45973 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45975         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45976         Add artificial ODP entry for vDSO symbol for PPC64.
45977         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45978         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45980 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45982         [BZ #15374]
45983         * nss/getent.c (services_keys): Recognize services starting with digit.
45985 2013-11-06  David S. Miller  <davem@davemloft.net>
45987         [BZ #15985]
45988         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45989         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45991 2013-11-06  Will Newton  <will.newton@linaro.org>
45993         * manual/memory.texi (Malloc Examples): Remove register
45994         keyword from examples.
45996 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45998         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46000 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46002         [BZ #6981]
46003         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46004         depending on [__GCC_IEC_559 > 0].
46005         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46006         depending on [__GCC_IEC_559_COMPLEX > 0].
46008 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46010         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46011         to iso-639.def.
46013 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46015         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46017 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46019         [BZ #16112]
46020         * malloc/malloc (malloc_info): Do not handle first bin as
46021         special case.
46023 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46025         * locale/iso-639.def: Add Central Nahuatl (nhn).
46027 2013-11-01  Bruno Haible  <bruno@clisp.org>
46029         [BZ #7003]
46030         * manual/math.texi (BSD Random): Specify range upper bound as
46031         in POSIX.
46033 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46035         * locale/iso-639.def: Add Meadow Mari (mhr).
46037 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46039         [BZ #14752], [BZ #15763]
46040         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46041         Validate name.
46042         * rt/tst_shm.c: Add test for escaping directory.
46044 2013-10-31  Andreas Schwab  <schwab@suse.de>
46046         [BZ #15917]
46047         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46048         followed by 'x' as part of digit sequence.
46049         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46051 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46053         [BZ #16037]
46054         * configure.ac: allow GNU Make 4.0 and greater.
46055         * configure: Regenerated.
46057 2013-10-30  Will Newton  <will.newton@linaro.org>
46059         [BZ #16038]
46060         * malloc/hooks.c (memalign_check): Limit alignment to the
46061         maximum representable power of two.
46062         * malloc/malloc.c (__libc_memalign): Likewise.
46063         * malloc/tst-memalign.c (do_test): Add test for very
46064         large alignment values.
46065         * malloc/tst-posix_memalign.c (do_test): Likewise.
46067 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46069         [BZ #11087]
46070         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46071         (munmap_chunk): Likewise.
46072         (mremap_chunk): Likewise.
46074 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46076         [BZ #15799]
46077         * stdlib/div.c (div): Remove obsolete code.
46078         * stdlib/ldiv.c (ldiv): Likewise.
46079         * stdlib/lldiv.c (lldiv): Likewise.
46081 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46083         [BZ #16071]
46084         * nss/nss_files/files-XXX.c (get_contents_ret): New
46085         enumerator.
46086         (get_contents): New function.
46087         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46089 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46091         * configure.in: Moved to ...
46092         * configure.ac: ... here. Change reference to configure.in
46093         to configure.ac.
46094         * sysdeps/arm/preconfigure.ac: ... here.
46095         configure.in to configure.ac.
46096         * sysdeps/gnu/configure.in: Moved to ...
46097         * sysdeps/gnu/configure.ac: ... here.
46098         * sysdeps/i386/configure.in: Moved to ...
46099         * sysdeps/i386/configure.ac: ... here.
46100         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46101         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46102         * sysdeps/mach/configure.in: Moved to ...
46103         * sysdeps/mach/configure.ac: ... here.
46104         * sysdeps/mach/hurd/configure.in: Moved to ...
46105         * sysdeps/mach/hurd/configure.ac: ... here.
46106         * sysdeps/powerpc/configure.in: Moved to ...
46107         * sysdeps/powerpc/configure.ac: ... here.
46108         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46109         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46110         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46111         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46112         * sysdeps/s390/s390-32/configure.in: Moved to ...
46113         * sysdeps/s390/s390-32/configure.ac: ... here.
46114         * sysdeps/s390/s390-64/configure.in: Moved to ...
46115         * sysdeps/s390/s390-64/configure.ac: ... here.
46116         * sysdeps/sh/configure.in: Moved to ...
46117         * sysdeps/sh/configure.ac: ... here.
46118         * sysdeps/sparc/configure.in: Moved to ...
46119         * sysdeps/sparc/configure.ac: ... here.
46120         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46121         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46122         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46123         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46124         * sysdeps/x86_64/configure.in: Moved to ...
46125         * sysdeps/x86_64/configure.ac: ... here.
46126         * sysdeps/x86_64/preconfigure.in: Moved to ...
46127         * sysdeps/x86_64/preconfigure.ac: ... here.
46128         * aclocal.m4: Change reference to configure.in to configure.ac.
46129         * config.h.in: Likewise.
46130         * manual/install.texi: Likewise.
46131         * manual/maint.texi: Likewise.
46132         * Makefile: Likewise.
46133         * malloc/Makefile: Likewise.
46134         * nscd/Makefile: Likewise.
46135         * Makeconfig: Change reference to configure.in and
46136         preconfigure.in to configure.ac and preconfigure.ac
46137         respectively.
46138         * INSTALL: Regenerated.
46139         * configure: Likewise.
46140         * sysdeps/gnu/configure: Likewise.
46141         * sysdeps/i386/configure: Likewise.
46142         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46143         * sysdeps/mach/configure: Likewise.
46144         * sysdeps/mach/hurd/configure: Likewise.
46145         * sysdeps/powerpc/configure: Likewise.
46146         * sysdeps/powerpc/powerpc32/configure: Likewise.
46147         * sysdeps/powerpc/powerpc64/configure: Likewise.
46148         * sysdeps/s390/s390-32/configure: Likewise.
46149         * sysdeps/s390/s390-64/configure: Likewise.
46150         * sysdeps/sh/configure: Likewise.
46151         * sysdeps/sparc/configure: Likewise.
46152         * sysdeps/unix/sysv/linux/configure: Likewise.
46153         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46154         * sysdeps/x86_64/configure: Likewise.
46155         * sysdeps/x86_64/preconfigure: Likewise.
46157 2013-10-29  Andreas Schwab  <schwab@suse.de>
46159         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46161 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46163         * benchtests/pow-inputs: Add new inputs.
46165         * benchtests/exp-inputs: Add new inputs.
46167         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46168         conditional check for return value.
46169         (__cos32): Likewise.
46171 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46173         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46174         to provide a boost for large inputs with word alignment.
46175         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46176         implementation based on optimized PPC64 strcpy.
46177         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46178         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46179         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46180         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46182 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46184         [BZ #2801]
46185         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46187 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46189         [BZ #14876]
46190         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46191         * time/tst-strptime.c (day_tests): Add testcase.
46193 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46195         [BZ #14029]
46196         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46198 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46200         [BZ #16074]
46201         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46202         MAP_FAILED on error.
46204 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46206         [BZ #16072]
46207         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46208         heap for large requests.
46210 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46212         [BZ #9954]
46213         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46214         result if the result has no associated interface.
46215         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46216         interface for all 127.X.Y.Z addresses.
46218 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46220         * locale/iso-639.def: Add Ligurian (lij)
46222 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46224         [BZ #15825]
46225         * sunrpc/rpc_main.c: Document rpcgen -5.
46227 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46229         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46231 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46233         [BZ #10278]
46234         * posix/glob.c: Match only directories when trailing slash is present.
46235         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46236         (main): Add testcase.
46238 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46240         [BZ #15670]
46241         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46243 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46245         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46246         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46247         AUTH_DES and cindex for FIPS 140-2.
46248         (DES Encryption): Add cindex FIPS 46-3.
46250         * locale/locarchive.h (struct locarhandle): Add fname.
46251         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46252         if an optional argument was specified to --list-archive,
46253         otherwise NULL.
46254         * locale/programs/locarchive.c (show_archive_content): Take new
46255         argument fname and pass it via ah.fname to open_archive.
46256         * locale/programs/localedef.h: Update decl.
46257         (open_archive): If AH->fname is non-null, open that file
46258         rather than the default file name, and don't ignore ENOENT.
46259         (create_archive): Set AH.fname to NULL.
46260         (delete_locales_from_archive): Likewise.
46261         (add_locales_to_archive): Likewise.
46262         * locale/programs/locfile.c (write_all_categories): Likewise.
46264 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46265             Aldy Hernandez  <aldyh@redhat.com>
46267         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46268         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46269         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46270         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46271         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46273         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46274         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46275         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46276         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46277         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46278         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46279         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46280         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46281         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46282         Likewise.
46283         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46284         Likewise.
46285         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46286         Likewise.
46287         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46288         Likewise.
46289         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46290         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46291         Likewise.
46292         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46293         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46294         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46295         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46296         Likewise.
46297         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46298         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46299         * sysdeps/powerpc/preconfigure: Likewise.
46300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46301         Likewise.
46302         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46303         Replace contents of file by #include of <fenv_libc.h>.
46304         * sysdeps/powerpc/soft-fp/sfp-machine.h
46305         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46306         and <sys/prctl.h>.
46307         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46308         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46309         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46310         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46311         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46312         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46314         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46315         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46316         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46317         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46318         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46320         Allow copysignl PLT reference to be missing.
46322 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46323             Joseph Myers  <joseph@codesourcery.com
46325         [BZ #15948]
46326         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46327         single character.
46328         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46330 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46332         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46333         * elf/tst-tls1.c: Likewise.
46334         * elf/tst-tls10.h: Likewise.
46335         * elf/tst-tls14.c: Likewise.
46336         * elf/tst-tls2.c: Likewise.
46337         * elf/tst-tls3.c: Likewise.
46338         * elf/tst-tls4.c: Likewise.
46339         * elf/tst-tls5.c: Likewise.
46340         * elf/tst-tls6.c: Likewise.
46341         * elf/tst-tls7.c: Likewise.
46342         * elf/tst-tls8.c: Likewise.
46343         * elf/tst-tls9.c: Likewise.
46344         * elf/tst-tlsmod1.c: Likewise.
46345         * elf/tst-tlsmod13.c: Likewise.
46346         * elf/tst-tlsmod13a.c: Likewise.
46347         * elf/tst-tlsmod14a.c: Likewise.
46348         * elf/tst-tlsmod16a.c: Likewise.
46349         * elf/tst-tlsmod16b.c: Likewise.
46350         * elf/tst-tlsmod2.c: Likewise.
46351         * elf/tst-tlsmod3.c: Likewise.
46352         * elf/tst-tlsmod4.c: Likewise.
46353         * elf/tst-tlsmod5.c: Likewise.
46354         * elf/tst-tlsmod6.c: Likewise.
46356 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46358         [BZ #12486]
46359         * malloc/malloc.c: remove checks for statistics.
46361 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46363         [BZ #15277]
46364         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46365         * inet/tst-network.c: Add testcase.
46367 2013-10-17  Andreas Schwab  <schwab@suse.de>
46369         [BZ #15218]
46370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46371         to determine canonical name.
46373 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46375         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46376         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46378         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46380         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46381         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46382         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46383         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46384         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46385         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46386         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46387         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46388         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46389         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46390         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46392         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46393         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46394         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46395         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46397         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46398         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46399         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46400         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46401         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46402         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46403         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46405         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46408         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46411         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46412         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46413         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46414         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46415         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46416         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46417         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46418         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46419         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46420         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46421         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46422         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46423         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46424         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46425         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46434 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46436         [BZ #16041]
46437         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46438         make result into a quiet NaN.
46440 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46442         * soft-fp/adddf3.c: Fix horizontal whitespace.
46443         * soft-fp/addsf3.c: Likewise.
46444         * soft-fp/addtf3.c: Likewise.
46445         * soft-fp/divdf3.c: Likewise.
46446         * soft-fp/divsf3.c: Likewise.
46447         * soft-fp/divtf3.c: Likewise.
46448         * soft-fp/double.h: Likewise.
46449         * soft-fp/eqdf2.c: Likewise.
46450         * soft-fp/eqsf2.c: Likewise.
46451         * soft-fp/eqtf2.c: Likewise.
46452         * soft-fp/extenddftf2.c: Likewise.
46453         * soft-fp/extended.h: Likewise.
46454         * soft-fp/extendsfdf2.c: Likewise.
46455         * soft-fp/extendsftf2.c: Likewise.
46456         * soft-fp/extendxftf2.c: Likewise.
46457         * soft-fp/fixdfdi.c: Likewise.
46458         * soft-fp/fixdfsi.c: Likewise.
46459         * soft-fp/fixdfti.c: Likewise.
46460         * soft-fp/fixsfdi.c: Likewise.
46461         * soft-fp/fixsfsi.c: Likewise.
46462         * soft-fp/fixsfti.c: Likewise.
46463         * soft-fp/fixtfdi.c: Likewise.
46464         * soft-fp/fixtfsi.c: Likewise.
46465         * soft-fp/fixtfti.c: Likewise.
46466         * soft-fp/fixunsdfdi.c: Likewise.
46467         * soft-fp/fixunsdfsi.c: Likewise.
46468         * soft-fp/fixunsdfti.c: Likewise.
46469         * soft-fp/fixunssfdi.c: Likewise.
46470         * soft-fp/fixunssfsi.c: Likewise.
46471         * soft-fp/fixunssfti.c: Likewise.
46472         * soft-fp/fixunstfdi.c: Likewise.
46473         * soft-fp/fixunstfsi.c: Likewise.
46474         * soft-fp/fixunstfti.c: Likewise.
46475         * soft-fp/floatdidf.c: Likewise.
46476         * soft-fp/floatdisf.c: Likewise.
46477         * soft-fp/floatditf.c: Likewise.
46478         * soft-fp/floatsidf.c: Likewise.
46479         * soft-fp/floatsisf.c: Likewise.
46480         * soft-fp/floatsitf.c: Likewise.
46481         * soft-fp/floattidf.c: Likewise.
46482         * soft-fp/floattisf.c: Likewise.
46483         * soft-fp/floattitf.c: Likewise.
46484         * soft-fp/floatundidf.c: Likewise.
46485         * soft-fp/floatundisf.c: Likewise.
46486         * soft-fp/floatunditf.c: Likewise.
46487         * soft-fp/floatunsidf.c: Likewise.
46488         * soft-fp/floatunsisf.c: Likewise.
46489         * soft-fp/floatunsitf.c: Likewise.
46490         * soft-fp/floatuntidf.c: Likewise.
46491         * soft-fp/floatuntisf.c: Likewise.
46492         * soft-fp/floatuntitf.c: Likewise.
46493         * soft-fp/fmadf4.c: Likewise.
46494         * soft-fp/fmasf4.c: Likewise.
46495         * soft-fp/fmatf4.c: Likewise.
46496         * soft-fp/gedf2.c: Likewise.
46497         * soft-fp/gesf2.c: Likewise.
46498         * soft-fp/getf2.c: Likewise.
46499         * soft-fp/ledf2.c: Likewise.
46500         * soft-fp/lesf2.c: Likewise.
46501         * soft-fp/letf2.c: Likewise.
46502         * soft-fp/muldf3.c: Likewise.
46503         * soft-fp/mulsf3.c: Likewise.
46504         * soft-fp/multf3.c: Likewise.
46505         * soft-fp/negdf2.c: Likewise.
46506         * soft-fp/negsf2.c: Likewise.
46507         * soft-fp/negtf2.c: Likewise.
46508         * soft-fp/op-1.h: Likewise.
46509         * soft-fp/op-2.h: Likewise.
46510         * soft-fp/op-4.h: Likewise.
46511         * soft-fp/op-8.h: Likewise.
46512         * soft-fp/op-common.h: Likewise.
46513         * soft-fp/quad.h: Likewise.
46514         * soft-fp/single.h: Likewise.
46515         * soft-fp/soft-fp.h: Likewise.
46516         * soft-fp/sqrtdf2.c: Likewise.
46517         * soft-fp/sqrtsf2.c: Likewise.
46518         * soft-fp/sqrttf2.c: Likewise.
46519         * soft-fp/subdf3.c: Likewise.
46520         * soft-fp/subsf3.c: Likewise.
46521         * soft-fp/subtf3.c: Likewise.
46522         * soft-fp/truncdfsf2.c: Likewise.
46523         * soft-fp/trunctfdf2.c: Likewise.
46524         * soft-fp/trunctfsf2.c: Likewise.
46525         * soft-fp/trunctfxf2.c: Likewise.
46526         * soft-fp/unorddf2.c: Likewise.
46527         * soft-fp/unordsf2.c: Likewise.
46528         * soft-fp/unordtf2.c: Likewise.
46530 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46532         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46533         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46535 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46537         * elf/dl-libc.c: Clear initfini list after freeing.
46539 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46541         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46542         * soft-fp/addsf3.c: Likewise.
46543         * soft-fp/addtf3.c: Likewise.
46544         * soft-fp/divdf3.c: Likewise.
46545         * soft-fp/divsf3.c: Likewise.
46546         * soft-fp/divtf3.c: Likewise.
46547         * soft-fp/double.h: Likewise.
46548         * soft-fp/eqdf2.c: Likewise.
46549         * soft-fp/eqsf2.c: Likewise.
46550         * soft-fp/eqtf2.c: Likewise.
46551         * soft-fp/extenddftf2.c: Likewise.
46552         * soft-fp/extended.h: Likewise.
46553         * soft-fp/extendsfdf2.c: Likewise.
46554         * soft-fp/extendsftf2.c: Likewise.
46555         * soft-fp/extendxftf2.c: Likewise.
46556         * soft-fp/fixdfdi.c: Likewise.
46557         * soft-fp/fixdfsi.c: Likewise.
46558         * soft-fp/fixdfti.c: Likewise.
46559         * soft-fp/fixsfdi.c: Likewise.
46560         * soft-fp/fixsfsi.c: Likewise.
46561         * soft-fp/fixsfti.c: Likewise.
46562         * soft-fp/fixtfdi.c: Likewise.
46563         * soft-fp/fixtfsi.c: Likewise.
46564         * soft-fp/fixtfti.c: Likewise.
46565         * soft-fp/fixunsdfdi.c: Likewise.
46566         * soft-fp/fixunsdfsi.c: Likewise.
46567         * soft-fp/fixunsdfti.c: Likewise.
46568         * soft-fp/fixunssfdi.c: Likewise.
46569         * soft-fp/fixunssfsi.c: Likewise.
46570         * soft-fp/fixunssfti.c: Likewise.
46571         * soft-fp/fixunstfdi.c: Likewise.
46572         * soft-fp/fixunstfsi.c: Likewise.
46573         * soft-fp/fixunstfti.c: Likewise.
46574         * soft-fp/floatdidf.c: Likewise.
46575         * soft-fp/floatdisf.c: Likewise.
46576         * soft-fp/floatditf.c: Likewise.
46577         * soft-fp/floatsidf.c: Likewise.
46578         * soft-fp/floatsisf.c: Likewise.
46579         * soft-fp/floatsitf.c: Likewise.
46580         * soft-fp/floattidf.c: Likewise.
46581         * soft-fp/floattisf.c: Likewise.
46582         * soft-fp/floattitf.c: Likewise.
46583         * soft-fp/floatundidf.c: Likewise.
46584         * soft-fp/floatundisf.c: Likewise.
46585         * soft-fp/floatunsidf.c: Likewise.
46586         * soft-fp/floatunsisf.c: Likewise.
46587         * soft-fp/floatuntidf.c: Likewise.
46588         * soft-fp/floatuntisf.c: Likewise.
46589         * soft-fp/floatuntitf.c: Likewise.
46590         * soft-fp/fmadf4.c: Likewise.
46591         * soft-fp/fmasf4.c: Likewise.
46592         * soft-fp/fmatf4.c: Likewise.
46593         * soft-fp/gedf2.c: Likewise.
46594         * soft-fp/gesf2.c: Likewise.
46595         * soft-fp/getf2.c: Likewise.
46596         * soft-fp/ledf2.c: Likewise.
46597         * soft-fp/lesf2.c: Likewise.
46598         * soft-fp/letf2.c: Likewise.
46599         * soft-fp/muldf3.c: Likewise.
46600         * soft-fp/mulsf3.c: Likewise.
46601         * soft-fp/multf3.c: Likewise.
46602         * soft-fp/negdf2.c: Likewise.
46603         * soft-fp/negsf2.c: Likewise.
46604         * soft-fp/negtf2.c: Likewise.
46605         * soft-fp/op-1.h: Likewise.
46606         * soft-fp/op-2.h: Likewise.
46607         * soft-fp/op-4.h: Likewise.
46608         * soft-fp/op-8.h: Likewise.
46609         * soft-fp/op-common.h: Likewise.
46610         * soft-fp/quad.h: Likewise.
46611         * soft-fp/single.h: Likewise.
46612         * soft-fp/soft-fp.h: Likewise.
46613         * soft-fp/sqrtdf2.c: Likewise.
46614         * soft-fp/sqrtsf2.c: Likewise.
46615         * soft-fp/sqrttf2.c: Likewise.
46616         * soft-fp/subdf3.c: Likewise.
46617         * soft-fp/subsf3.c: Likewise.
46618         * soft-fp/subtf3.c: Likewise.
46619         * soft-fp/truncdfsf2.c: Likewise.
46620         * soft-fp/trunctfdf2.c: Likewise.
46621         * soft-fp/trunctfsf2.c: Likewise.
46622         * soft-fp/trunctfxf2.c: Likewise.
46623         * soft-fp/unorddf2.c: Likewise.
46624         * soft-fp/unordsf2.c: Likewise.
46625         * soft-fp/unordtf2.c: Likewise.
46627 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46629         [BZ #15672]
46630         * misc/error.c (error_tail): Fix possible buffer overflow.
46632 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46634         [BZ #13028]
46635         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46636         address.
46638 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46640         [BZ #832]
46641         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46642         testing pipefail option.
46644 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46646         * soft-fp/double.h: Indent preprocessor directives inside #if.
46647         * soft-fp/extended.h: Likewise.
46648         * soft-fp/op-2.h: Likewise.
46649         * soft-fp/op-4.h: Likewise.
46650         * soft-fp/op-common.h: Likewise.
46651         * soft-fp/quad.h: Likewise.
46652         * soft-fp/single.h: Likewise.
46653         * soft-fp/soft-fp.h: Likewise.
46655 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46657         * iconv/iconv_prog.c: Fix typos.
46658         * stdio-common/psiginfo-data.h: Likewise.
46660 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46662         [BZ #15764]
46663         * locale/setlocale.c: Fix typo.
46665 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46667         [BZ #16036]
46668         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46669         signaling NaN arguments.
46670         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46671         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46673         [BZ #14910]
46674         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46675         unordered operands.
46676         * soft-fp/gesf2.c (__gesf2): Likewise.
46677         * soft-fp/getf2.c (__getf2): Likewise.
46678         * soft-fp/ledf2.c (__ledf2): Likewise.
46679         * soft-fp/lesf2.c (__lesf2): Likewise.
46680         * soft-fp/letf2.c (__letf2): Likewise.
46682         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46683         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46684         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46685         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46686         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46687         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46688         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46689         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46690         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46691         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46692         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46693         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46694         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46695         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46696         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46697         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46698         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46699         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46700         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46701         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46702         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46703         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46704         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46705         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46706         * soft-fp/floattidf.c (__floattidf): Likewise.
46707         * soft-fp/floattisf.c (__floattisf): Likewise.
46708         * soft-fp/floattitf.c (__floattitf): Likewise.
46709         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46710         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46711         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46712         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46713         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46714         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46715         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46716         * soft-fp/gesf2.c (__gesf2): Likewise.
46717         * soft-fp/getf2.c (__getf2): Likewise.
46718         * soft-fp/ledf2.c (__ledf2): Likewise.
46719         * soft-fp/lesf2.c (__lesf2): Likewise.
46720         * soft-fp/letf2.c (__letf2): Likewise.
46722         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46723         Undefine and redefine.
46724         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46725         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46726         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46727         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46728         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46729         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46730         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46731         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46732         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46733         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46734         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46735         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46736         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46737         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46738         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46740         [BZ #16032]
46741         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46742         without decrementing exponent if mantissa >= that for the
46743         denominator, not >.
46744         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46745         denominator, not >.  Decrement exponent in < case instead of
46746         incrementing in >= case.
46747         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46748         without decrementing exponent if mantissa >= that for the
46749         denominator, not >.
46751         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46752         computing saturated result for unsigned overflow.
46754 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46755             Jeff Law  <law@redhat.com>
46757         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46758         (atan2Mp): Add systemtap probe marker.
46759         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46760         (__ieee754_log): Add systemtap probe marker.
46761         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46762         (atanMp): Add systemtap probe marker.
46763         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46764         (tanMp): Add systemtap probe marker.
46765         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46766         (__slowexp): Add systemtap probe marker.
46767         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46768         (__slowpow): Add systemtap probe marker.
46769         * manual/probes.texi: Document probes.
46771 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46773         [BZ #15362]
46774         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46775         written.
46776         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46777         written.
46778         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46779         written to buffer but not flushed.
46780         * libio/iofwrite_u.c:  Likewise.
46781         * libio/iopadn.c:  Return bytes returned even if EOF was
46782         encountered.
46783         * libio/iowpadn.c:  Likewise.
46784         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46785         if _IO_padn does not write the whole buffer.
46786         [!COMPILE_WPRINTF] (PAD): Likewise.
46788 2013-10-10  David S. Miller  <davem@davemloft.net>
46790         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46791         directory block.
46793 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46795         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46796         instead of FSF address.
46797         * soft-fp/fixdfti.c: Likewise.
46798         * soft-fp/fixsfti.c: Likewise.
46799         * soft-fp/fixtfti.c: Likewise.
46800         * soft-fp/fixunsdfti.c: Likewise.
46801         * soft-fp/fixunssfti.c: Likewise.
46802         * soft-fp/fixunstfti.c: Likewise.
46803         * soft-fp/floattidf.c: Likewise.
46804         * soft-fp/floattisf.c: Likewise.
46805         * soft-fp/floattitf.c: Likewise.
46806         * soft-fp/floatuntidf.c: Likewise.
46807         * soft-fp/floatuntisf.c: Likewise.
46808         * soft-fp/floatuntitf.c: Likewise.
46809         * soft-fp/trunctfxf2.c: Likewise.
46811         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46812         * soft-fp/fixdfti.c: Likewise.
46813         * soft-fp/fixsfti.c: Likewise.
46814         * soft-fp/fixtfti.c: Likewise.
46815         * soft-fp/fixunsdfti.c: Likewise.
46816         * soft-fp/fixunssfti.c: Likewise.
46817         * soft-fp/fixunstfti.c: Likewise.
46818         * soft-fp/floattidf.c: Likewise.
46819         * soft-fp/floattisf.c: Likewise.
46820         * soft-fp/floattitf.c: Likewise.
46821         * soft-fp/floatuntidf.c: Likewise.
46822         * soft-fp/floatuntisf.c: Likewise.
46823         * soft-fp/floatuntitf.c: Likewise.
46824         * soft-fp/trunctfxf2.c: Likewise.
46826 2013-10-10  David S. Miller  <davem@davemloft.net>
46828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46830 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46832         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46833         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46834         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46835         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46836         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46837         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46838         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46840         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46841         for NaNs before doing comparisons on argument.
46842         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46843         Likewise.
46845 2013-10-10  Will Newton  <will.newton@linaro.org>
46847         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46848         passed to _int_memalign does not overflow.
46850 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46852         * scripts/bench.pl: Add include-sources directive.
46853         * benchtests/README: Update documentation.
46855 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46857         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46858         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46859         instead of FP_INIT_ROUNDMODE.
46860         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46861         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46863         [BZ #16034]
46864         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46865         copy class of input value.
46866         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46867         not handle exceptions.
46868         * soft-fp/negsf2.c (__negsf2): Likewise.
46869         * soft-fp/negtf2.c (__negtf2): Likewise.
46870         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46872 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46874         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46875         semicolon.  From Linux kernel.
46877 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46879         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46881 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46883         [BZ #156]
46884         * manual/socket.texi: Added statement about buffer
46885         for gethostbyname2_r.
46887 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46889         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46890         Use .p2align directive instead, throughout.
46891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46892         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46893         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46894         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46895         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46896         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46897         * sysdeps/x86_64/strchr.S: Likewise.
46898         * sysdeps/x86_64/strrchr.S: Likewise.
46900 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46902         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46904         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46906         * sysdeps/generic/math_private.h (__mpsin1): Remove
46907         declaration.
46908         (__mpcos1): Likewise.
46909         (__mpsin): New argument __range_reduce.
46910         (__mpcos): Likewise.
46911         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46912         (slow): Use __mpsin and __mpcos.
46913         (slow1): Likewise.
46914         (slow2): Likewise.
46915         (sloww): Likewise.
46916         (sloww1): Likewise.
46917         (sloww2): Likewise.
46918         (bsloww): Likewise.
46919         (bsloww1): Likewise.
46920         (bsloww2): Likewise.
46921         (cslow2): Likewise.
46922         (csloww): Likewise.
46923         (csloww1): Likewise.
46924         (csloww2): Likewise.
46925         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46926         range_reduce.  Merge in __mpsin1.
46927         (__mpcos): Likewise.
46928         (__mpsin1): Remove.
46929         (__mpcos1): Likewise.
46931 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46933         * locale/loadlocale.c (_nl_intern_locale_data): Use
46934         LOCFILE_ALIGNED_P.
46935         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46936         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46937         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46938         obstack data is appropriately aligned.
46939         (obstack_int32_grow_fast): Likewise.
46940         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46941         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46942         (add_locale_uint32_array): Likewise.
46944 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46946         * benchtests/Makefile: Remove ARGLIST and RET variables.
46947         ($(objpfx)bench-%.c): Pass only function name to the script.
46948         * benchtests/README: Update documentation.
46949         * benchtests/acos-inputs: Add new directives.
46950         * benchtests/acosh-inputs: Likewise.
46951         * benchtests/asin-inputs: Likewise.
46952         * benchtests/asinh-inputs: Likewise.
46953         * benchtests/atan-inputs: Likewise.
46954         * benchtests/atanh-inputs: Likewise.
46955         * benchtests/cos-inputs: Likewise.
46956         * benchtests/cosh-inputs: Likewise.
46957         * benchtests/exp-inputs: Likewise.
46958         * benchtests/log-inputs: Likewise.
46959         * benchtests/pow-inputs: Likewise.
46960         * benchtests/rint-inputs: Likewise.
46961         * benchtests/sin-inputs: Likewise.
46962         * benchtests/sinh-inputs: Likewise.
46963         * benchtests/tan-inputs: Likewise.
46964         * benchtests/tanh-inputs: Likewise.
46965         * scripts/bench.pl: Add support for new directives.
46967 2013-10-07  Alan Modra  <amodra@gmail.com>
46969         * README: Fix careless merge.
46971 2013-10-05  Alan Modra  <amodra@gmail.com>
46973         * NEWS: Mention powerpc64le support and bugs fixed.
46974         * README: Both big-endian and little-endian powerpc64 supported.
46976 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46978         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46979         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46980         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46981         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46983 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46985         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46986         match prototype.
46988 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46990         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46991         Move -mhard-float appending from
46992         ports/sysdeps/powerpc/powerpc32/Makefile.
46993         [$(with-fp) = yes] (ASFLAGS): Likewise.
46994         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46995         * sysdeps/powerpc/nofpu: Move directory from
46996         ports/sysdeps/powerpc/nofpu.
46997         * sysdeps/powerpc/soft-fp: Move directory from
46998         ports/sysdeps/powerpc/soft-fp.
46999         * sysdeps/powerpc/powerpc32/405: Move directory from
47000         ports/sysdeps/powerpc/powerpc32/405.
47001         * sysdeps/powerpc/powerpc32/440: Move directory from
47002         ports/sysdeps/powerpc/powerpc32/440.
47003         * sysdeps/powerpc/powerpc32/464: Move directory from
47004         ports/sysdeps/powerpc/powerpc32/464.
47005         * sysdeps/powerpc/powerpc32/476: Move directory from
47006         ports/sysdeps/powerpc/powerpc32/476.
47007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47008         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47010         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47012         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47014         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47016         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47017         * README: Update for powerpc-*-linux-gnu software floating point
47018         support in libc.
47020         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47021         case to powerpc/powerpc32*.
47022         * sysdeps/unix/sysv/linux/configure: Regenerated.
47024         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47025         (_FPU_MASK_OM): Define as 0x04.
47026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47028         0x00c10080.
47029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47030         0x0000003c.
47031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47034         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47035         getcontext_e500.
47036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47037         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47038         setcontext_e500.
47039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47040         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47041         and setcontext_e500.
47043 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47045         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47047 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47049         * manual/threads.texi (Default Thread Attributes): Fix typo.
47051 2013-10-04  Will Newton  <will.newton@linaro.org>
47053         * malloc/Makefile: Add tst-memalign.
47054         * malloc/tst-memalign.c: New file.
47056         * malloc/tst-posix_memalign.c: Add comments.
47057         (do_test): Add comments and call free on all potentially
47058         allocated pointers. Add space after cast.
47060         * malloc/tst-pvalloc.c: Add comments.
47061         (do_test): Add comments and call free on all potentially
47062         allocated pointers. Remove duplicate check for NULL pointer.
47063         Add space after cast.
47065         * malloc/tst-valloc.c: Add comments.
47066         (do_test): Add comments and call free on all potentially
47067         allocated pointers. Remove duplicate check for NULL pointer.
47068         Add space after cast.
47070 2013-10-04  Alan Modra  <amodra@gmail.com>
47072         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47073         Use stdint types in rather than __attribute__((mode())).
47074         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47076 2013-10-04  Alan Modra  <amodra@gmail.com>
47078         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47079         Correct handling of unaligned relocs for little-endian.
47080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47082 2013-10-04  Alan Modra  <amodra@gmail.com>
47084         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47085         * configure: Regenerate.
47086         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47087         * shlib-versions: Likewise.
47089 2013-10-04  Alan Modra  <amodra@gmail.com>
47091         * string/tester.c (test_memrchr): Increment reported test cycle.
47093 2013-10-04  Alan Modra  <amodra@gmail.com>
47095         * string/test-memcpy.c (do_one_test): When reporting errors, print
47096         string address and don't overrun end of string.
47098 2013-10-04  Alan Modra  <amodra@gmail.com>
47100         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47101         insrdi.  Make better use of reg selection to speed exit slightly.
47102         Schedule entry path a little better.  Remove useless "are we done"
47103         checks on entry to main loop.  Handle wrapping around zero address.
47104         Correct main loop count.  Handle single left-over word from main
47105         loop inline rather than by using loop_small.  Remove extra word
47106         case in loop_small caused by wrong loop count.  Add little-endian
47107         support.
47108         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47109         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47110         cache hint.
47111         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47112         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47113         support.  Avoid rlwimi.
47114         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47116 2013-10-04  Alan Modra  <amodra@gmail.com>
47118         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47119         insrdi.  Formatting.
47120         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47121         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47122         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47123         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47124         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47125         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47127 2013-10-04  Alan Modra  <amodra@gmail.com>
47129         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47130         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47132         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47133         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47134         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47135         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47136         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47137         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47138         use of regs.  Use power7 mtocrf.  Tidy function tails.
47140 2013-10-04  Alan Modra  <amodra@gmail.com>
47142         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47143         Formatting.  Consistently use rXXX register defines or rN defines.
47144         Use early exit labels that avoid restoring unused non-volatile regs.
47145         Make cr field use more consistent with rWORDn compares.  Rename
47146         regs used as shift registers for unaligned loop, using rN defines
47147         for short lifetime/multiple use regs.
47148         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47150         addi 1,1,64 to pop stack frame.  Simplify return value code.
47151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47153 2013-10-04  Alan Modra  <amodra@gmail.com>
47155         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47156         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47157         rather than rlwimi.
47158         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47159         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47160         little-endian support.  Correct typos.
47161         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47162         rather than rlwimi.
47163         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47164         in loop and entry code to keep "and." results.
47165         (strchr): Add little-endian support.  Comment.  Move cntlzd
47166         earlier in tail.
47167         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47169 2013-10-04  Alan Modra  <amodra@gmail.com>
47171         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47172         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47173         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47174         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47176 2013-10-04  Alan Modra  <amodra@gmail.com>
47178         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47179         (rTMP): Define as r11.
47180         (strcmp): Add little-endian support.  Optimise tail.
47181         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47182         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47183         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47184         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47185         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47186         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47187         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47189 2013-10-04  Alan Modra  <amodra@gmail.com>
47191         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47192         little-endian support.  Remove unnecessary "are we done" tests.
47193         Handle "s" wrapping around zero and extremely large "size".
47194         Correct main loop count.  Handle single left-over word from main
47195         loop inline rather than by using small_loop.  Correct comments.
47196         Delete "zero" tail, use "end_max" instead.
47197         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47199 2013-10-04  Alan Modra  <amodra@gmail.com>
47201         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47202         support.  Don't branch over align.
47203         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47204         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47205         support.  Rearrange tmp reg use to suit.  Comment.
47206         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47208 2013-10-04  Alan Modra  <amodra@gmail.com>
47210         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47212 2013-10-04  Alan Modra  <amodra@gmail.com>
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47215         conditional form of branch and link when obtaining pc.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47218 2013-10-04  Alan Modra  <amodra@gmail.com>
47220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47221         HIWORD/LOWORD.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47225 2013-10-04  Alan Modra  <amodra@gmail.com>
47227         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47228         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47229         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47230         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47231         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47232         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47233         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47234         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47235         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47236         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47238 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47239             Alistair Popple <alistair@ozlabs.au.ibm.com>
47240             Alan Modra <amodra@gmail.com>
47242         [BZ #15723]
47243         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47244         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47245         _dl_hwcap access for little-endian.
47246         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47247         destroy vmx regs when saving unaligned.
47248         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47249         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47250         destroy vmx regs when saving unaligned.
47252 2013-10-04  Alan Modra  <amodra@gmail.com>
47254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47255         Don't use a union to pack hi/low value.
47257 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47259         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47260         for little-endian.
47261         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47262         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47263         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47264         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47265         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47267 2013-10-04  Alan Modra  <amodra@gmail.com>
47269         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47270         constants to usual value for .cst8 section, and remove redundant
47271         high address load.
47272         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47273         constant for 0x1p52.  Load little-endian words of double from
47274         correct stack offsets.
47276 2013-10-04  Alan Modra  <amodra@gmail.com>
47278         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47279         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47280         words of double from correct stack offsets.
47281         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47282         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47283         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47285         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47286         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47287         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47288         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47289         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47291         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47292         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47293         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47294         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47295         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47296         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47297         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47299 2013-10-04  Alan Modra  <amodra@gmail.com>
47301         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47302         64-bit int/double union.
47303         (_FPU_SETCW): Likewise.
47304         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47305         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47307 2013-10-04  Alan Modra  <amodra@gmail.com>
47309         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47310         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47312 2013-10-04  Alan Modra  <amodra@gmail.com>
47314         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47315         use vector int constants.
47316         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47320         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47321         array with long long.
47322         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47323         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47324         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47325         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47326         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47327         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47328         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47329         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47330         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47331         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47332         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47333         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47334         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47336 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47338         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47339         (__signbit): Likewise.  Correct for little-endian.
47340         (__signbitl): Call __signbit.
47341         (lrint): Correct for little-endian.
47342         (lrintf): Call lrint.
47344 2013-10-04  Alan Modra  <amodra@gmail.com>
47346         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47347         union 32-bit int array member with 64-bit int array.
47348         (t515, tm256): Double rather than long double.
47349         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47351 2013-10-04  Alan Modra  <amodra@gmail.com>
47353         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47354         Delete.
47355         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47357         version of math_ldbl.h.
47359 2013-10-04  Alan Modra  <amodra@gmail.com>
47361         [BZ #15734], [BZ #15735]
47362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47363         all uses of ieee875 long double macros and unions.  Simplify test
47364         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47365         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47366         normalize after ldbl_extract_mantissa, and don't add hidden bit
47367         already handled.  Don't treat low word of ieee854 mantissa like
47368         low word of IBM long double and mask off bit when testing for
47369         zero.
47370         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47371         all uses of ieee875 long double macros and unions.  Simplify tests
47372         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47373         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47374         two1022, instead use their values.  Recognise that tests for large
47375         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47376         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47377         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47378         test for 0.0L and nan.  Correct negation.
47379         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47380         ieee875 long double macros and unions.  Correct output for large
47381         magnitude x.  Correct absolute value calculation.
47382         (__erfcl): Likewise.
47383         * math/libm-test.inc: Add tests for errors discovered in IBM long
47384         double versions of fmodl, remainderl, erfl and erfcl.
47386 2013-10-04  Alan Modra  <amodra@gmail.com>
47388         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47389         all uses of ieee854 long double macros and unions.  Simplify tests
47390         for long doubles that are fully specified by the high double.
47391         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47392         Likewise.
47393         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47394         Remove dead code too.
47395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47396         (__ieee754_ynl): Likewise.
47397         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47400         Remove dead code too.
47401         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47402         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47403         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47404         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47405         Simplify.
47406         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47407         Simplify.
47408         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47410         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47411         Comment on variable precision.
47412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47414         Likewise.
47415         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47418         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47419         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47421 2013-10-04  Alan Modra  <amodra@gmail.com>
47423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47424         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47425         all uses of ieee854 long double macros and unions.
47426         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47427         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47428         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47430         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47432         Likewise.
47433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47434         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47437         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47438         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47439         Simplify sign and nan test too.
47440         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47441         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47442         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47443         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47444         Likewise.
47445         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47446         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47447         Likewise.
47448         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47449         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47450         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47451         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47452         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47455 2013-10-04  Alan Modra  <amodra@gmail.com>
47457         * stdio-common/printf_size.c (__printf_size): Don't use
47458         union ieee854_long_double in fpnum union.
47459         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47460         signbit macro to retrieve sign from long double.
47461         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47462         retrieve sign from long double.
47463         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47464         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47465         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47466         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47467         * math/test-misc.c (main): Don't use union ieee854_long_double.
47469 2013-10-04  Alan Modra  <amodra@gmail.com>
47471         [BZ #15680]
47472         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47473         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47474         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47475         calculation.  Remove unnecessary test for denormal exponent.
47476         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47477         Correct handling of denormals.  Avoid undefined shift behaviour.
47478         Correct normalisation of low mantissa when low double is denormal.
47479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47480         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47481         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47482         Correct normalisation of low mantissa.  Test for overflow of high
47483         mantissa and normalise.
47484         (ldbl_nearbyint): Use more readable constant for two52.
47485         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47486         (__mpn_construct_long_double): Fix test for overflow of high
47487         mantissa and correct normalisation.  Avoid undefined shift.
47489 2013-10-04  Alan Modra  <amodra@gmail.com>
47491         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47492         (union ibm_extended_long_double): Define as an array of ieee754_double.
47493         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47494         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47495         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47496         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47497         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47498         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47500         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47501         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47502         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47503         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47505 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47507         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47508         page size instead of calling getpagesize.
47510         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47511         (LOCFILE_ALIGN_MASK): Likewise.
47512         (LOCFILE_ALIGN_UP): Likewise.
47513         (LOCFILE_ALIGNED_P): Likewise.
47514         * locale/programs/ld-collate.c (collate_output): Use the new
47515         macros instead of __alignof__ (int32_t).
47516         * locale/weight.h (findidx): Likewise.
47518 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47520         [BZ #431]
47521         * manual/string.texi: Fix strncat and wcsncat.
47523 2013-10-03  Brooks Moses  <bmoses@google.com>
47525         [BZ #15915]
47526         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47527         * Makerules: ...here, and adjust associated comments.
47529 2013-10-02  Will Newton  <will.newton@linaro.org>
47531         * malloc/Makefile: Add tst-pvalloc.
47532         * malloc/tst-pvalloc.c: New file.
47534 2013-10-02  Will Newton  <will.newton@linaro.org>
47536         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47537         improve test coverage.
47539 2013-10-02  Will Newton  <will.newton@linaro.org>
47541         * malloc/Makefile: Add tst-posix_memalign.
47542         * malloc/tst-posix_memalign.c: New file.
47544 2013-10-01  Eric Blake  <eblake@redhat.com>
47546         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47547         Use __THROWNL rather than __THROW on static functions.
47549 2013-09-30  Petr Machata  <pmachata@redhat.com>
47551         * elf/elf.h (R_AARCH64_ABS16): New macro.
47552         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47553         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47554         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47555         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47556         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47557         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47558         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47559         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47560         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47561         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47562         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47563         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47564         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47565         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47566         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47567         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47568         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47569         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47570         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47571         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47572         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47573         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47574         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47575         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47576         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47577         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47578         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47579         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47580         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47581         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47582         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47583         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47584         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47585         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47586         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47587         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47588         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47589         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47590         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47591         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47592         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47593         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47594         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47595         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47596         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47597         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47598         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47599         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47600         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47601         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47602         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47603         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47604         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47605         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47606         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47607         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47608         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47609         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47610         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47611         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47612         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47613         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47614         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47615         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47616         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47617         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47618         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47619         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47620         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47621         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47622         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47623         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47624         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47625         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47626         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47627         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47628         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47629         (R_AARCH64_TLSDESC_LDR): Likewise.
47630         (R_AARCH64_TLSDESC_ADD): Likewise.
47631         (R_AARCH64_TLSDESC_CALL): Likewise.
47633 2013-09-30  Andreas Schwab  <schwab@suse.de>
47635         [BZ #15048]
47636         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47637         the nss database lookup.
47638         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47641 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47643         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47645 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47648         ${Bash-specific parameter/pattern/string} parameter expansion.
47649         * sysdeps/unix/make-syscalls.sh: Likewise.
47651 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47653         * sysdeps/sh/stackguard-macros.h: New file.
47655 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47659         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47660         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47662         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47664 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47666         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47667         Fix thread ID register.
47669 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47671         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47672         [POSIX || UNIX98]: Require rather than permitting all symbols from
47673         <time.h>.
47674         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47675         element of struct sched_param.
47676         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47677         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47678         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47679         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47680         constant.
47682 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47684         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47685         argument calculation.
47687 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47689         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47690         Expect macro.
47691         [POSIX] (pthread_attr_t): Do not require type.
47692         [POSIX] (pthread_cond_t): Likewise.
47693         [POSIX] (pthread_condattr_t): Likewise.
47694         [POSIX] (pthread_key_t): Likewise.
47695         [POSIX] (pthread_mutex_t): Likewise.
47696         [POSIX] (pthread_mutexattr_t): Likewise.
47697         [POSIX] (pthread_once_t): Likewise.
47698         [POSIX] (pthread_t): Likewise.
47699         [POSIX-based standards] (pthread_atfork): Expect function.
47701 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47702             Richard Sandiford  <richard@codesourcery.com>
47704         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47705         (swap_endianness_p): New extern variable.
47706         (set_big_endian): New inline function.
47707         (maybe_swap_uint32): Likewise.
47708         (maybe_swap_uint32_array): Likewise.
47709         (maybe_swap_uint32_obstack): Likewise.
47710         * locale/programs/locfile.c: Include <stdbool.h>.
47711         (swap_endianness_p): New variable.
47712         (add_locale_uint32): Call maybe_swap_uint32.
47713         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47714         (write_locale_data): Call maybe_swap_uint32_array.
47715         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47716         maybe_swap_uint32.
47717         (obstack_int32_grow_fast): Likewise.
47718         (output_weightwc): Call maybe_swap_uint32_obstack.
47719         (collate_output): Likewise.
47720         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47721         (OPT_LITTLE_ENDIAN): Likewise.
47722         (options): Add --little-endian and --big-endian options.
47723         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47724         * locale/programs/locarchive.c: Include "locfile.h".
47725         (GET): New macro.
47726         (SET): Likewise.
47727         (INC): Likewise.
47728         (create_archive): Use the new macros to access fields of
47729         structures directly mapped from or written to locale archives.
47730         (oldlocrecentcmp): Likewise.
47731         (enlarge_archive): Likewise.
47732         (insert_name): Likewise.
47733         (add_alias): Likewise.
47734         (add_locale): Likewise.
47735         (delete_locales_from_archive): Likewise.
47736         (show_archive_content): Likewise.
47737         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47738         locale data.
47740 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47742         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47743         http://www.gnu.org/doc/freemanuals.texi.
47744         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47746 2013-09-24  Will Newton  <will.newton@linaro.org>
47748         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47749         macro.
47751 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47753         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47754         unsigned char.
47756 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47758         * manual/threads.texi (POSIX Threads): Fix a typo.
47760 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47762         [BZ #14547]
47763         * string/tst-strcoll-overflow.c: New test case.
47764         * string/Makefile (xtests): Add tst-strcoll-overflow.
47765         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47766         cache if string sizes may cause integer overflow.
47768         [BZ #14547]
47769         * string/strcoll_l.c (coll_seq): New members rule, idx,
47770         save_idx and back_us.
47771         (get_next_seq_nocache): New function.
47772         (do_compare_nocache): New function.
47773         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47774         when malloc fails.
47776 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47778         [BZ #15754]
47779         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47780         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47781         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47783         [BZ #15754]
47784         * elf/Makefile (tests): Add tst-ptrguard1.
47785         (tests-static): Add tst-ptrguard1-static.
47786         (tst-ptrguard1-ARGS): Define.
47787         (tst-ptrguard1-static-ARGS): Define.
47788         * elf/tst-ptrguard1.c: New file.
47789         * elf/tst-ptrguard1-static.c: New file.
47790         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47791         * sysdeps/i386/stackguard-macros.h: Likewise.
47792         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47793         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47794         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47795         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47796         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47797         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47799 2013-09-23  Hector Marco  <hecmargi@upv.es>
47800             Ismael Ripoll  <iripoll@disca.upv.es>
47801             Carlos O'Donell  <carlos@redhat.com>
47803         [BZ #15754]
47804         * sysdeps/generic/stackguard-macros.h: Define
47805         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47806         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47807         Define __pointer_chk_guard_local.
47808         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47809         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47811 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47813         [BZ #15859]
47814         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47816 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47818         * include/string.h (__ffs): Declare as hidden.
47819         * string/ffs.c (__ffs): Define as hidden.
47820         * sysdeps/i386/ffs.c (__ffs): Likewise.
47821         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47822         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47823         * sysdeps/s390/ffs.c (__ffs): Likewise.
47824         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47826 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47828         * NEWS: Mention malloc probes.
47830         * malloc/arena.c (new_heap): New memory_heap_new probe.
47831         (grow_heap): New memory_heap_more probe.
47832         (shrink_heap): New memory_heap_less probe.
47833         (heap_trim): New memory_heap_free probe.
47834         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47835         (systrim): New memory_sbrk_less probe.
47836         * manual/probes.texi: Document them.
47838         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47839         * manual/probes.texi: Document it.
47841         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47842         (__libc_realloc): Add memory_realloc_retry probe.
47843         (__libc_memalign): Add memory_memalign_retry probe.
47844         (__libc_valloc): Add memory_valloc_retry probe.
47845         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47846         (__libc_calloc): Add memory_calloc_retry probe.
47847         * manual/probes.texi: Document them.
47849         * malloc/arena.c (get_free_list): Add probe
47850         memory_arena_reuse_free_list.
47851         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47852         and memory_arena_reuse.
47853         (arena_get2) [!PER_THREAD]: Likewise.
47854         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47855         memory_arena_reuse_realloc.
47856         * manual/probes.texi: Document them.
47858         * malloc/malloc.c (__libc_free): Add
47859         memory_mallopt_free_dyn_thresholds probe.
47860         (__libc_mallopt): Add multiple memory_mallopt probes.
47861         * manual/probes.texi: Document them.
47863         * malloc/malloc.c: Include stap-probe.h.
47864         (__libc_mallopt): Add memory_mallopt probe.
47865         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47866         * manual/probes.texi: New.
47867         * manual/Makefile (chapters): Add probes.
47868         * manual/threads.texi: Set next node.
47870 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47872         [BZ #15963, #13985]
47873         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47874         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47875         Add `Chinese' to `nan' entry name.
47877 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47879         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47880         (POLYNOMIAL): Likewise.
47881         (TAYLOR_SINCOS): Likewise.
47882         (TAYLOR_SLOW): Likewise.
47883         (__sin): Use TAYLOR_SINCOS.
47884         (__cos): Likewise.
47885         (slow): Use TAYLOR_SLOW.
47886         (sloww): Likewise.
47887         (bsloww): Likewise.
47888         (csloww): Likewise.
47890 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47892         * stdlib/strtod_l.c: Fix buffer overrun.
47894 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47896         * benchtests/Makefile (bench): Add sincos.
47897         * benchtests/bench-sincos.c: New file.
47899         * math/libm-test.inc (cos_test_data): New test inputs.
47900         (sin_test_data): Likewise.
47902         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47903         macro.
47904         (__sin): Use it.
47905         (__cos): Likewise.
47906         (slow1): Likewise.
47907         (slow2): Likewise.
47908         (sloww1): Likewise.
47909         (sloww2): Likewise.
47910         (bsloww1): Likewise.
47911         (bsloww2): Likewise.
47912         (cslow2): Likewise.
47913         (csloww1): Likewise.
47914         (csloww2): Likewise.
47916         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47917         function.
47918         (__sin): Use it.
47919         (__cos): Likewise.
47921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47922         gotos.
47923         (__cos): Likewise.
47925 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47927         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47928         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47929         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47930         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47931         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47932         * elf/cache.c (print_entry): Handle the new cache flags.
47934 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47935             Aldy Hernandez  <aldyh@redhat.com>
47937         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47938         Change condition to [_SOFT_FLOAT].
47939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47947         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47948         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47950         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47951         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47952         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47954         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47955         declaration.
47957 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47959         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47960         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47961         (__longjmp): Use LOAD_GP to load saved GPRs.
47962         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47963         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47964         (__sigsetjmp): Use SAVE_GP to save GPRs.
47966         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47967         Do not append -msoft-float.
47968         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47970 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47972         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47974 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47976         [BZ #15966]
47977         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47978         (_FPU_GETCW): Use initial "__" on variable and field names but not
47979         on macro parameter name.
47980         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47981         parentheses around reference to macro parameter.
47983 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47985         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47986         prototype.
47987         (ctype_startup): Use uint32_t in cast and sizeof for
47988         ctype->charnames.
47990 2013-09-11  Jia Liu  <proljc@gmail.com>
47992         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47993         __daddr_t_defined.
47994         [__FreeBSD__]: Likewise.
47996 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47999         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48000         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48001         (strchr): Remove __strchr_sse42 ifunc selection.
48002         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48003         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48005 2013-09-11  Will Newton  <will.newton@linaro.org>
48007         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48008         parameter to RES. Remove hardcoded 1000 value.
48009         * benchtests/bench-skeleton.c (main): Pass RES parameter
48010         to TIMING_INIT and multiply result by 1000.
48012 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48016 2013-09-11  Andreas Schwab  <schwab@suse.de>
48018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48019         if not defined.
48020         (O_TMPFILE) [__USE_GNU]: Define.
48021         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48022         Define.
48024 2013-09-11  Will Newton  <will.newton@linaro.org>
48026         [BZ #15857]
48027         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48028         does not overflow.
48030 2013-09-11  Will Newton  <will.newton@linaro.org>
48032         [BZ #15856]
48033         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48034         does not overflow.
48036 2013-09-11  Will Newton  <will.newton@linaro.org>
48038         [BZ #15855]
48039         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48040         does not overflow.
48042 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48044         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48045         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48046         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48047         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48048         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48050 2013-09-10  Allan McRae  <allan@archlinux.org>
48052         [BZ #15748]
48053         * manual/arith.texi (Parsing of Floats): Clarify
48054         cross-reference.
48056         [BZ #15849]
48057         * manual/install.texi (Running make install): Mention
48058         --enable-pt-chown.
48059         * INSTALL: Regenerated.
48061 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48063         * csu/init-first.c (_init): Remove the !SHARED condition around
48064         FPU control word initialization.
48065         * elf/dl-support.c (_dl_fpu_control): New variable.
48066         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48067         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48068         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48069         * math/test-fpucw-static.c: New file.
48070         * math/test-fpucw-ieee.c: New file.
48071         * math/test-fpucw-ieee-static.c: New file.
48072         * math/Makefile (tests): Add `test-fpucw-ieee' and
48073         `$(tests-static)'.
48074         (tests-static): New variable.
48075         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48076         dependency to...
48077         [($(build-shared),yes)]
48078         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48079         ... this.
48080         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48081         New dependency.
48083 2013-09-09  Allan McRae  <allan@archlinux.org>
48085         [BZ #15939]
48086         * manual/string.texi (Collation Functions): Fix typo in
48087         strcoll example.
48088         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48090         [BZ #15893]
48091         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48093         [BZ #15892]
48094         * libio/memstream.c (open_memstream): Fix memory leak.
48095         * libio/wmemstream.c (open_wmemstream): Likewise.
48097         [BZ #15895]
48098         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48100 2013-09-09  Will Newton  <will.newton@linaro.org>
48102         * malloc/Makefile: Add tst-realloc to tests.
48103         * malloc/tst-realloc.c: New file.
48105 2013-09-09  Allan McRae  <allan@archlinux.org>
48107         [BZ #15844]
48108         * COPYING: Update from GNU website to fix FSF address.
48109         * COPYING.LIB: Likewise.
48111 2013-09-06  David S. Miller  <davem@davemloft.net>
48113         * po/zh_TW.po: Update Chinese (traditional) translation from
48114         translation project.
48116 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48117             Joseph Myers  <joseph@codesourcery.com>
48119         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48120         "localeinfo.h".
48121         (obstack_chunk_alloc): New macro.
48122         (obstack_chunk_free): Likewise.
48123         (record_offset): New function.
48124         (init_locale_data): Likewise.
48125         (align_locale_data): Likewise.
48126         (add_locale_empty): Likewise.
48127         (add_locale_raw_data): Likewise.
48128         (add_locale_raw_obstack): Likewise.
48129         (add_locale_string): Likewise.
48130         (add_locale_wstring): Likewise.
48131         (add_locale_uint32): Likewise.
48132         (add_locale_uint32_array): Likewise.
48133         (add_locale_char): Likewise.
48134         (start_locale_structure): Likewise.
48135         (end_locale_structure): Likewise.
48136         (start_locale_prelude): Likewise.
48137         (end_locale_prelude): Likewise.
48138         (write_locale_data): Take locale_file structure rather than an
48139         iovec.
48140         * locale/programs/locfile.h: Include "obstack.h".
48141         (struct locale_file): Change to store locale file contents instead
48142         of header.
48143         (init_locale_data): New prototype.
48144         (align_locale_data): Likewise.
48145         (add_locale_empty): Likewise.
48146         (add_locale_raw_data): Likewise.
48147         (add_locale_raw_obstack): Likewise.
48148         (add_locale_string): Likewise.
48149         (add_locale_wstring): Likewise.
48150         (add_locale_uint32): Likewise.
48151         (add_locale_uint32_array): Likewise.
48152         (add_locale_char): Likewise.
48153         (start_locale_structure): Likewise.
48154         (end_locale_structure): Likewise.
48155         (start_locale_prelude): Likewise.
48156         (end_locale_prelude): Likewise.
48157         (write_locale_data): Update prototype.
48158         * locale/programs/3level.h (struct TABLE): Remove result field.
48159         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48160         Use new locale_file interface.
48161         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48162         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48163         * locale/programs/ld-address.c (address_output): Use new
48164         locale_file interface.
48165         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48166         NO_ADD_LOCALE.
48167         (collate_finish): Don't call collseq_table_finalize.
48168         (collate_output): Use new locale_file interface.
48169         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48170         in file.
48171         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48172         (TABLE): Move defines earlier in file.
48173         (ELEMENT): Likewise.
48174         (DEFAULT): Likewise.
48175         (wctrans_table_add): Move macro and inline function earlier in
48176         file.
48177         (struct wctype_table): Move type earlier in file.
48178         (add_locale_wctype_table): New static prototype.
48179         (struct locale_ctype_t): Use logical types instead of struct iovec
48180         pointers for members.
48181         (ctype_output): Use new locale_file interface.
48182         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48183         new locale_file interface.
48184         (allocate_arrays): Update for use of new locale_file interface.
48185         * locale/programs/ld-identification.c (identification_output): Use
48186         new locale_file interface.
48187         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48188         * locale/programs/ld-messages.c (messages_output): Likewise.
48189         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48190         * locale/programs/ld-name.c (name_output): Likewise.
48191         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48192         * locale/programs/ld-paper.c (paper_output): Likewise.
48193         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48194         * locale/programs/ld-time.c (time_output): Likewise.
48196 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48198         * benchtests/Makefile: Add memrchr benchmark.
48199         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48200         benchmark as memrchr.
48201         * benchtests/bench-memrchr-ifunc.c: New file.
48202         * benchtests/bench-memrchr.c: New file.
48204 2013-09-06   Will Newton  <will.newton@linaro.org>
48206         * benchtests/Makefile (string-bench): Add memcpy.
48208 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48209             Cong Wang  <amwang@redhat.com>
48211         [BZ #15850]
48212         * sysdeps/unix/sysv/linux/bits/in.h
48213         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48214         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48215         before __USE_KERNEL_IPV6_DEFS uses.
48216         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48217         IPPROTO_BEETPH.
48218         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48219         sockaddr_in6, or ipv6_mreq.
48221 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48223         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48224         memory access for final bytes in some large inputs.
48225         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48227 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48229         * string/test-memrchr.c: New file.
48230         * string/test-memrchr-ifunc.c: New file.
48231         * string/Makefile: Add new memrchr testcase.
48233 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48235         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48236         fanotify_init returns EPERM.
48238 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48240         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48241         errors.
48242         (top level): Treat second token from macro or constant entries for
48243         allowed headers as allowed.
48244         * include/complex.h: Condition internal declarations on
48245         [!_ISOMAC].
48246         * include/fenv.h: Condition include of <stdbool.h> and internal
48247         declarations on [!_ISOMAC].
48249 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48251         [BZ #15923]
48252         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48254 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48256         * configure.in (--enable-versioning): Remove configure option.
48257         (libc_cv_asm_symver_directive): Remove configure test.
48258         (libc_cv_ld_version_script_option): Likewise.
48259         (VERSIONING): Remove variable and AC_SUBST.
48260         (DO_VERSIONING): Remove AC_DEFINE.
48261         * configure: Regenerated.
48262         * config.h.in (DO_VERSIONING): Remove macro.
48263         * Makerules [$(versioning) = yes]: Change conditionals to
48264         [$(build-shared) = yes].
48265         * config.make.in (versioning): Remove variable.
48266         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48267         [$(build-shared) = yes].
48268         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48269         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48270         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48271         [$(build-shared) = yes].
48272         * extra-lib.mk [$(versioning) = yes]: Likewise.
48273         * hurd/Makefile [$(versioning) = yes]: Likewise.
48274         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48275         [SHARED].
48276         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48277         [SHARED].
48278         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48279         [SHARED && !NO_HIDDEN].
48280         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48281         [SHARED].
48282         [SHARED && DO_VERSIONING]: Likewise..
48283         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48284         [$(build-shared) = yes].
48285         * manual/install.texi (--disable-versioning): Remove
48286         documentation.
48287         * INSTALL: Regenerated.
48288         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48289         to [SHARED].
48290         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48291         [$(build-shared) = yes].
48292         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48293         * sysdeps/i386/i686/multiarch/strstr-c.c
48294         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48295         [SHARED && !NO_HIDDEN].
48296         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48297         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48298         * sysdeps/powerpc/powerpc32/dl-machine.c
48299         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48300         * sysdeps/powerpc/powerpc32/sysdep.h
48301         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48302         to [SHARED && PIC && !NO_HIDDEN].
48303         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48304         conditional to [SHARED].
48306 2013-09-04   Will Newton  <will.newton@linaro.org>
48308         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48309         * benchtests/bench-string.h: Include bench-timing.h instead
48310         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48311         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48312         call to HP_TIMING_DIFF_INIT.
48313         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48314         instead of hp-timing.h macros.
48315         * benchtests/bench-memchr.c: Likewise.
48316         * benchtests/bench-memcmp.c: Likewise.
48317         * benchtests/bench-memcpy.c: Likewise.
48318         * benchtests/bench-memmem.c: Likewise.
48319         * benchtests/bench-memmove.c: Likewise.
48320         * benchtests/bench-memset.c: Likewise.
48321         * benchtests/bench-rawmemchr.c: Likewise.
48322         * benchtests/bench-strcasecmp.c: Likewise.
48323         * benchtests/bench-strcasestr.c: Likewise.
48324         * benchtests/bench-strcat.c: Likewise.
48325         * benchtests/bench-strchr.c: Likewise.
48326         * benchtests/bench-strcmp.c: Likewise.
48327         * benchtests/bench-strcpy.c: Likewise.
48328         * benchtests/bench-strcpy_chk.c: Likewise.
48329         * benchtests/bench-strlen.c: Likewise.
48330         * benchtests/bench-strncasecmp.c: Likewise.
48331         * benchtests/bench-strncat.c: Likewise.
48332         * benchtests/bench-strncmp.c: Likewise.
48333         * benchtests/bench-strncpy.c: Likewise.
48334         * benchtests/bench-strnlen.c: Likewise.
48335         * benchtests/bench-strpbrk.c: Likewise.
48336         * benchtests/bench-strrchr.c: Likewise.
48337         * benchtests/bench-strspn.c: Likewise.
48338         * benchtests/bench-strstr.c: Likewise.
48340 2013-09-04  Will Newton  <will.newton@linaro.org>
48342         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48344 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48346         [BZ #15427]
48347         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48348         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48349         * math/libm-test.inc (lgamma_test_data): Add more tests.
48350         * sysdeps/i386/fpu/libm-test-ulps: Update.
48351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48353 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48355         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48357         Add ifunc.
48358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48359         Add strcmp-sse2-unaligned
48360         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48362 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48364         * Versions.def (libc): Add GLIBC_2.19.
48366 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48368         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48369         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48371 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48373         [BZ #14155]
48374         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48375         intermediate calculations in recurrence.
48376         (__ieee754_ynf): Likewise.
48377         * math/libm-test.inc (jn_test_data): Do not allow spurious
48378         underflow exception.  Add more tests.
48379         (yn_test_data): Add more tests.
48380         * sysdeps/i386/fpu/libm-test-ulps: Update.
48381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48383 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48387 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48389         * csu/init-first.c: Fix then/than typos.
48390         * locale/programs/ld-collate.c: Likewise.
48391         * locale/programs/linereader.h: Likewise.
48392         * manual/charset.texi: Likewise.
48393         * manual/filesys.texi: Likewise.
48394         * manual/stdio.texi: Likewise.
48395         * manual/string.texi: Likewise.
48396         * stdlib/fmtmsg.c: Likewise.
48397         * sysdeps/i386/stpncpy.S: Likewise.
48398         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48399         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48400         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48401         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48403 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48405         * elf/dl-open.c: Fix typos.
48406         * iconvdata/gbbig5.c: Likewise.
48407         * iconvdata/iso-2022-jp.c: Likewise.
48408         * iconv/gconv_int.h: Likewise.
48409         * iconv/loop.c: Likewise.
48410         * nis/rpcsvc/nis.h: Likewise.
48411         * resolv/ns_name.c: Likewise.
48412         * stdio-common/vfscanf.c: Likewise.
48413         * streams/stropts.h: Likewise.
48414         * sunrpc/rpc_thread.c: Likewise.
48415         * sysdeps/i386/strpbrk.S: Likewise.
48416         * sysdeps/ieee754/k_standard.c: Likewise.
48417         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48418         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48419         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48420         * sysdeps/mach/hurd/profil.c: Likewise.
48421         * sysdeps/s390/dl-procinfo.h: Likewise.
48422         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48423         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48424         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48425         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48426         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48428 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48430         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48433 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48435         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48436         aix specific files.
48437         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48438         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48439         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48440         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48441         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48442         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48443         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48444         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48446 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48447             Roland McGrath  <roland@hack.frob.com>
48449         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48450         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48452 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48454         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48455         __executable_start symbol instead of _start.
48457 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48459         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48460         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48461         Move macros to...
48462         * sysdeps/gnu/ldsodefs.h: ... this new file.
48464         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48465         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48466         instead of ELFOSABI_LINUX.
48468         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48469         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48470         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48471         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48472         Likewise.
48473         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48474         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48475         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48476         Likewise.
48477         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48478         (ibm_extended_long_double): Add ieee_nan member.
48479         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48480         (do_test): New function.
48482         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48483         TEST_TRUNC.
48484         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48485         functions, renamed from truncdfsf_test, trunctfsf_test,
48486         trunctfdf_test.
48487         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48488         functions.
48489         (do_test): Run all these.
48491 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48493         * argp/argp-help.c: Fix typos.
48494         * argp/argp-parse.c: Likewise.
48495         * debug/backtracesyms.c: Likewise.
48496         * elf/elf.h: Likewise.
48497         * malloc/malloc.c: Likewise.
48498         * nis/nis_print.c: Likewise.
48499         * resolv/res_comp.c: Likewise.
48500         * stdlib/stdlib.h: Likewise.
48501         * sunrpc/clnt_tcp.c: Likewise.
48502         * sunrpc/clnt_udp.c: Likewise.
48503         * sunrpc/clnt_unix.c: Likewise.
48504         * sysdeps/unix/bsd/ptsname.c: Likewise.
48505         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48506         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48508         Likewise.
48509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48510         Likewise.
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48512         Likewise.
48513         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48515 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48517         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48520 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48522         [BZ #15897]
48523         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48524         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48525         ($(objpfx)bug-dl-leaf): New rule.
48526         ($(objpfx)bug-dl-leaf.so): Likewise.
48527         ($(objpfx)bug-dl-leaf.out): Likewise.
48528         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48529         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48530         * dlfcn/bug-dl-leaf.c: New test.
48531         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48532         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48533         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48534         (dlclose): Likewise.
48535         (dlmopen): Likewise.
48537 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48539         * include/netdb.h [!_ISOMAC]:
48540         Don't include <tls.h>.
48541         (h_errno, __libc_h_errno): Move declaration and macros out of
48542         [_LIBC_REENTRANT].
48544         * include/resolv.h [_RESOLV_H_]:
48545         Don't include <tls.h>.
48546         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48547         * resolv/res_libc.c: Don't include <tls.h>.
48548         (_res): Use __attribute__ ((nocommon)) in place of
48549         __attribute__ ((section (".bss"))).
48551         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48552         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48554         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48556         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48557         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48559         * resolv/res_mkquery.c: Include <sys/time.h>.
48561         * inet/ifreq.c: Moved to ...
48562         * sysdeps/unix/ifreq.c: ... here.
48563         * inet/ifreq.c: New file, true stub version.
48565         * socket/sa_len.c: New file.
48566         * socket/Makefile (aux): Add it.
48567         * sysdeps/unix/sysv/linux/Makefile
48568         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48569         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48570         and #include <socket/sa_len.c>.
48571         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48572         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48574         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48575         * bits/socket.h: ... here.
48577         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48578         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48579         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48581 2013-08-27  Andreas Schwab  <schwab@suse.de>
48583         [BZ #15736]
48584         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48585         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48586         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48587         * string/test-strcasecmp.c (test_main): Run tests in several
48588         locales.
48589         * string/test-strncasecmp.c (test_main): Likewise.
48591         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48592         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48593         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48595         (__strncasecmp_ssse3) [PIC]: Likewise.
48597 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48599         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48601         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48602         instead of explicitly declaring xdecrypt.
48603         * nis/nss_nis/nis-publickey.c: Likewise.
48605 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48607         [BZ #15890]
48608         * nscd/aicache.c: Include res_hconf.h.
48609         (addhstaiX): Initialize res_hconf.
48611 2013-08-26  Andreas Schwab  <schwab@suse.de>
48613         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48614         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48616 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48618         * nscd/aicache.c (addhstaiX): Fix indentation.
48620 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48622         * configure.ac: Quote $build_pt_chown test.
48623         * configure: Regenerated.
48625 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48627         [BZ #15532]
48628         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48629         * math/s_cexpf.c (__cexpf): Likewise.
48630         * math/s_cexpl.c (__cexpl): Likewise.
48631         * math/libm-test.inc (cexp_test_data): Correct expected return
48632         value for NaN + i0.  Add another test.
48634 2013-08-22  David S. Miller  <davem@davemloft.net>
48636         * po/ca.po: Update Catalan translation from translation project.
48637         * po/uk.po: Add Ukrainian translations from translation project.
48639 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48641         [BZ #15797]
48642         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48643         is infinite, not alongside NaN test.
48644         * math/s_fdimf.c (__fdimf): Likewise.
48645         * math/s_fdiml.c (__fdiml): Likewise.
48646         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48647         errno is unchanged.
48649 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48651         * argp/argp-help.c: Fix typos.
48652         * crypt/speeds.c: Likewise.
48653         * csu/check_fds.c: Likewise.
48654         * elf/dl-load.c: Likewise.
48655         * elf/dl-open.c: Likewise.
48656         * elf/reldep3.c: Likewise.
48657         * elf/reldep.c: Likewise.
48658         * elf/sprof.c: Likewise.
48659         * iconv/iconv_charmap.c: Likewise.
48660         * iconv/skeleton.c: Likewise.
48661         * iconv/strtab.c: Likewise.
48662         * io/lockf64.c: Likewise.
48663         * libio/libioP.h: Likewise.
48664         * resolv/gai_notify.c: Likewise.
48665         * resolv/ns_name.c: Likewise.
48666         * resolv/ns_samedomain.c: Likewise.
48667         * resolv/res_send.c: Likewise.
48668         * stdlib/random.c: Likewise.
48669         * sunrpc/rpc/xdr.h: Likewise.
48670         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48671         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48672         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48673         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48674         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48675         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48677         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48678         * sysdeps/mach/hurd/check_fds.c: Likewise.
48679         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48680         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48681         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48683         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48684         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48685         * sysdeps/pthread/aio_notify.c: Likewise.
48686         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48687         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48688         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48689         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48690         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48692 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48694         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48695         version if bit_Slow_SSE4_2 is set.
48696         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48697         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48699 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48701         [BZ #15867]
48702         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48703         trampoline stack frame information.
48704         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48705         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48706         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48707         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48708         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48709         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48710         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48711         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48712         sa_flags value.
48713         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48714         interrupting a syscall and set with option SA_SIGINFO.
48716 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48718         [BZ #15531]
48719         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48720         argument is infinite.
48721         * math/s_cprojf.c (__cprojf): Likewise.
48722         * math/s_cprojl.c (__cprojl): Likewise.
48723         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48724         * math/libm-test.inc (cproj_test_data): Add more tests.
48726         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48728         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48729         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48730         size.  Use __ffs to determine corresponding shift.
48732 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48733             Roland McGrath  <roland@hack.frob.com>
48735         * Makefile (INSTALL): Remove trailing blank lines from output of
48736         makeinfo.
48738 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48740         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48741         Align 32 bit compat elf_greg to 8 bytes.
48743 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48745         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48747 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48749         * string/strcoll_l.c (coll_seq): New structure.
48750         (get_next_seq_cached): New function.
48751         (get_next_seq): New function.
48752         (do_compare): New function.
48753         (STRCOLL): Use GNU style definition.  Simplify implementation
48754         by using get_next_seq, get_next_seq_cached and do_compare.
48756 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48758         [BZ #14699]
48759         CVE-2013-4237
48760         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48761         member.
48762         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48763         member.
48764         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48765         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48766         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48767         conditional.
48768         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48769         GETDENTS_64BIT_ALIGNED.
48770         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48771         * manual/filesys.texi (Reading/Closing Directory): Document
48772         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48773         strongly.
48774         * manual/conf.texi (Limits for Files): Add portability note to
48775         NAME_MAX, PATH_MAX.
48776         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48778 2013-08-13  Andreas Schwab  <schwab@suse.de>
48780         [BZ #15749]
48781         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48782         of fabs.
48783         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48784         LDBL_MAX_EXP >= 16384]: Add tests for it.
48786 2013-08-12  David S. Miller  <davem@davemloft.net>
48788         * version.h (RELEASE): Set to "development".
48789         (VERSION): Set to "2.18.90".
48790         * NEWS: Add 2.19 section.
48792 2013-08-03  David S. Miller  <davem@davemloft.net>
48794         * po/ko.po: Update Korean translation from translation project.
48796 2013-08-01  David S. Miller  <davem@davemloft.net>
48798         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48799         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48800         Bilka.
48802 2013-07-30  David S. Miller  <davem@davemloft.net>
48804         * po/fr.po: Update French translation from translation project.
48806 2013-07-28  David S. Miller  <davem@davemloft.net>
48808         * po/cs.po: Update Czech translation from translation project.
48810         * po/sv.po: Update Swedish translation from translation project.
48812 2013-07-27  David S. Miller  <davem@davemloft.net>
48814         * po/eo.po: Update Esperanto translation from translation project.
48816         * po/vi.po: Update Vietnamese translation from translation project.
48818         * po/de.po: Update German translation from translation project.
48820 2013-07-26  David S. Miller  <davem@davemloft.net>
48822         * po/bg.po: Update Bulgarian translation from translation project.
48824         * po/nl.po: Update Dutch translation from translation project.
48825         * po/pl.po: Update Polish translation from translation project.
48826         * po/ru.po: Update Russian translation from translation project.
48828 2013-07-24  David S. Miller  <davem@davemloft.net>
48830         * po/libc.pot: Update.
48832 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48834         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48835         variable page size.
48836         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48837         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48838         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48840 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48842         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48844 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48845             Andreas Schwab  <schwab@suse.de>
48846             Roland McGrath  <roland@hack.frob.com>
48847             Joseph Myers  <joseph@codesourcery.com>
48848             Carlos O'Donell  <carlos@redhat.com>
48850         [BZ #15755]
48851         * config.h.in: Define HAVE_PT_CHOWN.
48852         * config.make.in (build-pt-chown): New variable.
48853         * configure.in (--enable-pt_chown): New configure option.
48854         * configure: Regenerate.
48855         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48856         build-pt-chown is enabled.
48857         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48858         pt_chown to fix pty ownership.
48859         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48860         CLOSE_ALL_FDS.
48861         * manual/install.texi (Configuring and compiling): Mention
48862         --enable-pt_chown. Add @findex for grantpt.
48863         * INSTALL: Regenerate.
48865 2013-07-20  David S. Miller  <davem@davemloft.net>
48867         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48868         difference between 32-bit and 64-bit.
48870 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48872         [BZ #15711]
48873         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48874         Avoid system header dependency with -ffreestanding.
48875         ($(objpfx)bits/syscall%d): Likewise.
48877 2013-07-13  David S. Miller  <davem@davemloft.net>
48879         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48880         underflows from atanl/atan2l due to bug 15319.
48881         (casinh_test_data): Likewise.
48883 2013-07-07  David S. Miller  <davem@davemloft.net>
48885         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48887 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48889         * sysdeps/i386/fpu/libm-test-ulps: Update.
48890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48892 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48894         * configure.in (--enable-lock-elision): Fix message text.
48895         * INSTALL: Regenerate.
48896         * configure: Regenerate.
48898 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48902 2013-07-03  Andreas Jaeger  <aj@suse.de>
48904         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48905         define.
48906         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48907         (ptrace_peeksiginfo_args): Add.
48908         (__ptrace_peeksiginfo_flags): Add.
48909         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48911         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48913 2013-07-03  Allan McRae  <allan@archlinux.org>
48915         * sysdeps/i386/fpu/libm-test-ulps: Update.
48917 2013-07-02  David S. Miller  <davem@davemloft.net>
48919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48921 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48925 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48927         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48930 2013-07-02  Andi Kleen <ak@linux.intel.com>
48932         * config.h.in (ENABLE_LOCK_ELISION): Add.
48933         * configure.in (--enable-lock-elision): Add option.
48934         * manual/install.texi: Document --enable lock elision.
48935         * configure: Regenerate
48936         * INSTALL: Regenerate.
48938 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48940         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48941         SSE4.2 strcasecmp for libc.a.
48942         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48944 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48946         [BZ #13304]
48947         * soft-fp/op-common.h (_FP_FMA): New macro.
48948         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48949         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48950         (_FP_MUL_MEAT_1_imm): ... here.
48951         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48952         (_FP_MUL_MEAT_1_wide): ... here.
48953         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48954         (_FP_MUL_MEAT_1_hard): ... here.
48955         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48956         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48957         (_FP_MUL_MEAT_2_wide): ... here.
48958         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48959         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48960         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48961         (_FP_MUL_MEAT_2_gmp): ... here.
48962         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48963         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48964         (_FP_MUL_MEAT_4_wide): ... here.
48965         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48966         (_FP_MUL_MEAT_4_gmp): ... here.
48967         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48968         (_FP_WFRACBITS_DW_S): Likewise.
48969         (_FP_WFRACXBITS_DW_S): Likewise.
48970         (_FP_HIGHBIT_DW_S): Likewise.
48971         (FP_FMA_S): Likewise.
48972         (_FP_FRAC_HIGH_DW_S): Likewise.
48973         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48974         (_FP_WFRACBITS_DW_D): Likewise.
48975         (_FP_WFRACXBITS_DW_D): Likewise.
48976         (_FP_HIGHBIT_DW_D): Likewise.
48977         (FP_FMA_D): Likewise.
48978         (_FP_FRAC_HIGH_DW_D): Likewise.
48979         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48980         (_FP_WFRACBITS_DW_E): Likewise.
48981         (_FP_WFRACXBITS_DW_E): Likewise.
48982         (_FP_HIGHBIT_DW_E): Likewise.
48983         (FP_FMA_E): Likewise.
48984         (_FP_FRAC_HIGH_DW_E): Likewise.
48985         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48986         (_FP_WFRACBITS_DW_Q): Likewise.
48987         (_FP_WFRACXBITS_DW_Q): Likewise.
48988         (_FP_HIGHBIT_DW_Q): Likewise.
48989         (FP_FMA_Q): Likewise.
48990         (_FP_FRAC_HIGH_DW_Q): Likewise.
48991         * soft-fp/fmasf4.c: New file.
48992         * soft-fp/fmadf4.c: Likewise.
48993         * soft-fp/fmatf4.c: Likewise.
48995 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48998         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48999         Silvermont.
49000         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49001         macro.
49002         (index_Slow_SSE4_2): Likewise.
49003         (index_Prefer_PMINUB_for_stringop): Likewise.
49004         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49005         bit_Slow_SSE4_2 is set.
49006         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49009 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49011         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49012         rtld_global._dl_hwcap2.
49013         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49014         POWER8.
49015         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49016         POWER8 feature descriptions defined in _dl_hwcap2.
49017         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49018         string handling for POWER8 feature bits.
49019         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49020         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49021         _dl_powerpc_cap_flags.
49022         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49023         * sysdeps/powerpc/rtld-global-offsets.sym
49024         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49025         _dl_hwcap2 in the rtld_global_ro structure.
49027 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49029         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49030         hardware capabilities in support of AT_HWCAP2.
49031         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49032         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49033         GLRO(dl_hwcap2).
49034         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49035         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49036         explicitly the unknown a_type display mechanism is used.
49037         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49038         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49039         struct member.
49040         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49041         to macro prototype for AT_HWCAP2 support.
49042         * sysdeps/i386/dl-procinfo.h: Likewise.
49043         * sysdeps/s390/dl-procinfo.h: Likewise.
49044         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49045         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49046         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49047         return -1 for unknown a_type display fallback.
49048         * sysdeps/sparc/dl-procinfo.h: Likewise.
49049         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49050         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49052 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49054         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49055         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49057 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49059         [BZ #12492]
49060         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49061         mprotect making __stack_prot writable.
49063 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49064             Joseph Myers  <joseph@codesourcery.com>
49066         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49067         as being properly aligned.
49069 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49071         * dlfcn/modstatic5.c: New file.
49072         * dlfcn/tststatic5.c: New file.
49073         * dlfcn/Makefile (tests): Add tststatic5.
49074         (tests-static): Likewise.
49075         (modules-names): Add modstatic5.
49076         (tststatic5-ENV): New variable.
49077         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49079         [BZ #15022]
49080         * elf/dl-support.c (_dl_main_map): New variable.
49081         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49082         (_dl_nns, _dl_load_adds): Set to 1.
49083         (_dl_initial_searchlist): Refer to _dl_main_map.
49084         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49085         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49086         call to _dl_get_origin.
49087         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49088         around call_map.
49089         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49090         * dlfcn/modstatic3.c: New file.
49091         * dlfcn/tststatic3.c: New file.
49092         * dlfcn/tststatic4.c: New file.
49093         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49094         (tests-static): Likewise.
49095         (modules-names): Add modstatic3.
49096         (tststatic3-ENV, tststatic4-ENV): New variables.
49097         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49098         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49100 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49102         * configure.in (CC): Require GCC version 4.4 or later.
49103         * configure: Regenerated.
49104         * manual/install.texi (Tools for Compilation): Update GCC version
49105         requirement.
49106         * INSTALL: Regenerated.
49108 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49110         [BZ #15674]
49111         * string/test-memcmp.c (check2): New.
49112         (main): Call check2.
49114         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49116 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49118         [BZ #15022]
49119         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49120         over to...
49121         (dl_open_worker) [!SHARED]: ... here.
49123 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49125         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49127 2013-06-25  Richard Henderson  <rth@redhat.com>
49129         * locale/programs/locarchive.c: Include <libc-internal.h>
49131 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49133         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49134         trailing whitespace removed.
49136 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49138         [BZ #10283]
49139         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49140         * locale/programs/locarchive.c: Include libc-mmap.h.
49141         (prepare_address_space): Take two new outputs (the mmap base and len).
49142         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49143         values.
49144         (create_archive): Declare new mmap base and len values for
49145         prepare_address_space, and store the result in ah.
49146         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49147         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49148         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49149         Declare new mmap base and len values for
49150         prepare_address_space, and store the result in new_ah.
49151         (open_archive): Declare new mmap base and len values for
49152         prepare_address_space, and store the result in ah.
49153         (close_archive): If ah->mmap_base is not NULL, use that and
49154         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49155         * sysdeps/generic/libc-mmap.h: New file.
49157 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49159         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49160         (ALIGN_UP): Likewise.
49161         (PTR_ALIGN_DOWN): Likewise.
49162         (PTR_ALIGN_UP): Likewise.
49164 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49166         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49167         entry mapped to PPC_PLATFORM_POWER8.
49168         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49169         POWER8.
49170         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49171         (_dl_string_platform): Add case for exporting platform position for
49172         POWER8.
49173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49174         search path to sysdeps/powerpc/powerpc32/power8 directory.
49175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49176         search path to sysdeps/powerpc/powerpc64/power8 directory.
49177         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49178         power7 directories.
49179         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49180         power7 directories.
49182 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49184         * INSTALL: Regenerate.
49186         * nscd/connections.c (nscd_init): Fix comment.
49188 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49190         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49192         [BZ #15667]
49193         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49194         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49196 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49198         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49199         DL_DST_REQ_STATIC.
49200         (DL_DST_REQ_STATIC): Remove macro.
49202 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49204         [BZ #7006]
49205         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49206         with a shift of 0 bits.
49208 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49210         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49211         $(tststatic-ENV).
49213 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49215         [BZ #15655]
49216         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49218 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49220         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49221         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49222         accepts -fno-tree-loop-distribute-patterns.
49223         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49224         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49225         recursive call.
49226         * string/memset.c (memset): Likewise.
49227         * string/test-memmove.c (simple_memmove): Disable loop transformation
49228         to library calls.
49229         * string/test-memset.c (simple_memset): Likewise.
49230         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49231         * benchtests/bench-memset.c (simple_memset): Likewise.
49232         * configure: Regenerated.
49234 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49236         * math/test-misc.c (main): Ignore fesetround failure when failures
49237         of subsequent rounding tests would be ignored.
49239         [BZ #15654]
49240         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49241         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49242         * math/fegetenv.c (__fegetenv): Return 0.
49243         * math/fegetexcept.c (fegetexcept): Return 0.
49244         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49245         FE_TONEAREST.
49246         * math/feholdexcpt.c (feholdexcept): Return 0.
49247         * math/fesetenv.c (__fesetenv): Return 0.
49248         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49249         argument FE_TONEAREST.
49250         * math/feupdateenv.c (__feupdateenv): Return 0.
49251         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49253 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49255         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49256         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49257         ($(objpfx)rtld-%.os rules): Use them.
49259 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49261         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49262         fields.
49264 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49266         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49267         length of target pattern, then descending length of dependency pattern.
49268         * configure.in (AWK): Require gawk 3.1.2 or newer.
49269         * manual/install.texi (Tools for Compilation): Say that we do.
49270         * configure: Regenerated.
49272         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49273         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49274         * scripts/sysd-rules.awk: ... this new script.
49275         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49276         than a glob-style pattern.
49278 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49280         * math/test-misc.c (main): Do not treat incorrectly rounded
49281         conversions as failure unless ROUNDING_TESTS passes.
49283 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49285         [BZ #15631]
49286         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49287         restore exception state around main square root computation, then
49288         check for inexactness explicitly.
49290         * math/libm-test.inc (fma_test_data): Add another test.
49292 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49294         * manual/threads.texi (Non-POSIX Extensions): New document
49295         node.  Document pthread_getattr_default_np and
49296         pthread_setattr_default_np.
49298         * Versions.def (libpthread): Add GLIBC_2.18.
49299         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49301         Likewise.
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49303         Likewise.
49304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49305         Likewise.
49306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49307         Likewise.
49308         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49309         Likewise.
49310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49311         Likewise.
49312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49313         Likewise.
49314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49315         Likewise.
49316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49317         Likewise.
49319 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49322         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49324 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49325             H.J. Lu  <hjl.tools@gmail.com>
49327         [BZ #15627]
49328         * sysdeps/x86_64/rtld-memset.c: Remove file.
49329         * sysdeps/x86_64/rtld-memset.S: New file.
49331 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49333         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49334         (test_in_one_mode): Take arguments for whether the rounding mode
49335         is supported for each floating-point type.
49336         (do_test): Pass new arguments to test_in_one_mode using
49337         ROUNDING_TESTS.
49339 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49341         * posix/tst-waitid.c (do_test): Distinguish different instances of
49342         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49343         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49344         before entering the kernel for waitpid.
49346 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49348         * NEWS: Fix note on clock function precision.  Text by Roland
49349         McGrath.
49351 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49353         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49354         it into place only when and if the sanity check passes.
49356 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49358         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49359         output for whether conversion result is exact.  Take argument
49360         indicating whether type is IBM long double.
49361         (round_for_all): Change need_exact field to ibm_ld.
49362         * stdlib/tst-strtod-round.c (struct exactness): New type.
49363         (struct test): Change bool ld_ok field to struct exactness exact.
49364         (TEST): Update all definitions for change to field.
49365         (tests): Regenerate array contents.
49366         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49367         field value.  Check for IBM long double here.
49368         (do_test): Update calls to test_in_one_mode.
49370 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49372         [BZ #12515]
49373         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49374         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49376 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49378         [BZ #15605]
49379         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49380         generated by the compiler on loop optimizations.
49381         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49382         general definitions.
49384 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49386         * math/bug-nextafter.c: Include <math-tests.h>.
49387         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49388         the relevant type.
49389         * math/bug-nexttoward.c: Include <math-tests.h>.
49390         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49391         the relevant type.
49392         * math/test-misc.c: Include <math-tests.h>.
49393         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49394         the relevant type.
49396 2013-06-12  Andreas Jaeger  <aj@suse.de>
49398         * po/ia.po: Update Interlingua translation from translation
49399         project.
49401 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49403         * include/fenv.h: Include stdbool.h.
49404         (struct rm_ctx): New structure.
49405         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49406         Define macro.
49407         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49408         (SET_RESTORE_ROUNDF): Likewise.
49409         (SET_RESTORE_ROUNDL): Likewise.
49410         (SET_RESTORE_ROUND_NOEX): Likewise.
49411         (SET_RESTORE_ROUND_NOEXF): Likewise.
49412         (SET_RESTORE_ROUND_NOEXL): Likewise.
49413         (SET_RESTORE_ROUND_53BIT): Likewise.
49414         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49415         (libc_feresetround_noexf_ctx): Likewise.
49416         (libc_feresetround_noexl_ctx): Likewise.
49417         (libc_feholdsetround_53bit_ctx): Likewise.
49418         (libc_feresetround_53bit_ctx): Likewise.
49419         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49420         (libc_feholdexcept_setround_sse_ctx): New function.
49421         (libc_fesetenv_sse_ctx): Likewise.
49422         (libc_feupdateenv_sse_ctx): Likewise.
49423         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49424         (libc_feholdexcept_setround_387_ctx): Likewise.
49425         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49426         (libc_feholdsetround_387_prec_ctx): Likewise.
49427         (libc_feholdsetround_387_ctx): Likewise.
49428         (libc_feholdsetround_387_53bit_ctx): Likewise.
49429         (libc_feholdsetround_sse_ctx): Likewise.
49430         (libc_feresetround_sse_ctx): Likewise.
49431         (libc_feresetround_387_ctx): Likewise.
49432         (libc_feupdateenv_387_ctx): Likewise.
49433         (libc_feholdexcept_setroundf_ctx): Define macro.
49434         (libc_fesetenvf_ctx): Likewise.
49435         (libc_feupdateenvf_ctx): Likewise.
49436         (libc_feholdsetroundf_ctx): Likewise.
49437         (libc_feresetroundf_ctx): Likewise.
49438         (libc_feholdexcept_setround_ctx): Likewise.
49439         (libc_fesetenv_ctx): Likewise.
49440         (libc_feupdateenv_ctx): Likewise.
49441         (libc_feholdsetround_ctx): Likewise.
49442         (libc_feresetround_ctx): Likewise.
49443         (libc_feholdexcept_setroundl_ctx): Likewise.
49444         (libc_feupdateenvl_ctx): Likewise.
49445         (libc_feholdsetroundl_ctx): Likewise.
49446         (libc_feresetroundl_ctx): Likewise.
49447         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49448         (libc_feresetround_53bit_ctx): Likewise.
49450 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * locale/iso-639.def: Convert to UTF-8.
49454 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49456         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49457         (EXCEPTION_TESTS_double): Likewise.
49458         (EXCEPTION_TESTS_long_double): Likewise.
49459         (EXCEPTION_TESTS): Likewise.
49460         * math/libm-test.inc (test_exceptions): Only test exceptions if
49461         EXCEPTION_TESTS (FLOAT).
49463 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49465         * benchtests/Makefile (string-bench): Add strcpy_chk and
49466         stpcpy_chk.
49467         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49468         * benchtests/bench-stpcpy_chk.c: New file.
49469         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49470         * benchtests/bench-strcpy_chk.c: New file.
49471         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49472         code.
49473         (do_test): Likewise.
49475 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49477         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49478         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49479         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49480         with tabs where appropriate.
49481         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49482         dl-procinfo.h.
49483         [PPC_PLATFORM_PPC440]: Likewise.
49484         [PPC_PLATFORM_PPC464]: Likewise.
49485         [PPC_PLATFORM_PPC476]: Likewise.
49486         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49487         ppc464, and ppc476 platform strings merging from ports/
49488         dl-procinfo.h.
49490 2013-06-11  Andreas Schwab  <schwab@suse.de>
49492         [BZ #14991]
49493         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49494         (from_ucs4_idx): Regenerate.
49495         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49496         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49497         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49498         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49499         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49500         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49501         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49502         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49503         from FROM_LOOP and TO_LOOP specific macros.
49504         (BODY): Handle combining characters.
49505         * iconvdata/BIG5HKSCS.irreversible: Update.
49506         * iconvdata/BIG5HKSCS.precomposed: New file.
49507         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49508         characters.
49509         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49513         * include/sys/time.h: Fix indentation and add copyright header.
49515         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49516         (do_test): Likewise.
49517         * string/test-memchr.c (do_one_test): Likewise.
49518         (do_test): Likewise.
49519         * string/test-memcmp.c (do_one_test): Likewise.
49520         (do_test): Likewise.
49521         * string/test-memcpy.c (do_one_test): Likewise.
49522         (do_test): Likewise.
49523         * string/test-memmem.c (do_one_test): Likewise.
49524         (do_test): Likewise.
49525         (do_random_tests): Likewise.
49526         * string/test-memmove.c (do_one_test): Likewise.
49527         (do_test): Likewise.
49528         * string/test-memset.c (do_one_test): Likewise.
49529         (do_test): Likewise.
49530         * string/test-rawmemchr.c (do_one_test): Likewise.
49531         (do_test): Likewise.
49532         * string/test-strcasecmp.c (do_one_test): Likewise.
49533         (do_test): Likewise.
49534         * string/test-strcasestr.c (do_one_test): Likewise.
49535         (do_test): Likewise.
49536         * string/test-strcat.c (do_one_test): Likewise.
49537         (do_test): Likewise.
49538         * string/test-strchr.c (do_one_test): Likewise.
49539         (do_test): Likewise.
49540         * string/test-strcmp.c (do_one_test): Likewise.
49541         (do_test): Likewise.
49542         * string/test-strcpy.c (do_one_test): Likewise.
49543         (do_test): Likewise.
49544         * string/test-string.h: Likewise.
49545         (test_init): Likewise.
49546         * string/test-strlen.c (do_one_test): Likewise.
49547         (do_test): Likewise.
49548         * string/test-strncasecmp.c (do_one_test): Likewise.
49549         (do_test): Likewise.
49550         * string/test-strncat.c (do_one_test): Likewise.
49551         (do_test): Likewise.
49552         * string/test-strncmp.c (do_one_test): Likewise.
49553         (do_test_limit): Likewise.
49554         (do_test): Likewise.
49555         * string/test-strncpy.c (do_one_test): Likewise.
49556         (do_test): Likewise.
49557         * string/test-strnlen.c (do_one_test): Likewise.
49558         (do_test): Likewise.
49559         * string/test-strpbrk.c (do_one_test): Likewise.
49560         (do_test): Likewise.
49561         * string/test-strrchr.c (do_one_test): Likewise.
49562         (do_test): Likewise.
49563         * string/test-strspn.c (do_one_test): Likewise.
49564         (do_test): Likewise.
49565         * string/test-strstr.c (do_one_test): Likewise.
49566         (do_test): Likewise.
49568         * benchtests/Makefile (string-bench): Add string benchmarks.
49569         * benchtests/bench-bcopy-ifunc.c: New file.
49570         * benchtests/bench-bcopy.c: New file.
49571         * benchtests/bench-bzero-ifunc.c: New file.
49572         * benchtests/bench-bzero.c: New file.
49573         * benchtests/bench-memccpy-ifunc.c: New file.
49574         * benchtests/bench-memccpy.c: New file.
49575         * benchtests/bench-memchr-ifunc.c: New file.
49576         * benchtests/bench-memchr.c: New file.
49577         * benchtests/bench-memcmp-ifunc.c: New file.
49578         * benchtests/bench-memcmp.c: New file.
49579         * benchtests/bench-memmem-ifunc.c: New file.
49580         * benchtests/bench-memmem.c: New file.
49581         * benchtests/bench-memmove-ifunc.c: New file.
49582         * benchtests/bench-memmove.c: New file.
49583         * benchtests/bench-mempcpy-ifunc.c: New file.
49584         * benchtests/bench-mempcpy.c: New file.
49585         * benchtests/bench-memset-ifunc.c: New file.
49586         * benchtests/bench-memset.c: New file.
49587         * benchtests/bench-rawmemchr-ifunc.c: New file.
49588         * benchtests/bench-rawmemchr.c: New file.
49589         * benchtests/bench-stpcpy-ifunc.c: New file.
49590         * benchtests/bench-stpcpy.c: New file.
49591         * benchtests/bench-stpncpy-ifunc.c: New file.
49592         * benchtests/bench-stpncpy.c: New file.
49593         * benchtests/bench-strcasecmp-ifunc.c: New file.
49594         * benchtests/bench-strcasecmp.c: New file.
49595         * benchtests/bench-strcasestr-ifunc.c: New file.
49596         * benchtests/bench-strcasestr.c: New file.
49597         * benchtests/bench-strcat-ifunc.c: New file.
49598         * benchtests/bench-strcat.c: New file.
49599         * benchtests/bench-strchr-ifunc.c: New file.
49600         * benchtests/bench-strchr.c: New file.
49601         * benchtests/bench-strchrnul-ifunc.c: New file.
49602         * benchtests/bench-strchrnul.c: New file.
49603         * benchtests/bench-strcmp-ifunc.c: New file.
49604         * benchtests/bench-strcmp.c: New file.
49605         * benchtests/bench-strcpy-ifunc.c: New file.
49606         * benchtests/bench-strcpy.c: New file.
49607         * benchtests/bench-strcspn-ifunc.c: New file.
49608         * benchtests/bench-strcspn.c: New file.
49609         * benchtests/bench-strlen-ifunc.c: New file.
49610         * benchtests/bench-strlen.c: New file.
49611         * benchtests/bench-strncasecmp-ifunc.c: New file.
49612         * benchtests/bench-strncasecmp.c: New file.
49613         * benchtests/bench-strncat-ifunc.c: New file.
49614         * benchtests/bench-strncat.c: New file.
49615         * benchtests/bench-strncmp-ifunc.c: New file.
49616         * benchtests/bench-strncmp.c: New file.
49617         * benchtests/bench-strncpy-ifunc.c: New file.
49618         * benchtests/bench-strncpy.c: New file.
49619         * benchtests/bench-strnlen-ifunc.c: New file.
49620         * benchtests/bench-strnlen.c: New file.
49621         * benchtests/bench-strpbrk-ifunc.c: New file.
49622         * benchtests/bench-strpbrk.c: New file.
49623         * benchtests/bench-strrchr-ifunc.c: New file.
49624         * benchtests/bench-strrchr.c: New file.
49625         * benchtests/bench-strspn-ifunc.c: New file.
49626         * benchtests/bench-strspn.c: New file.
49627         * benchtests/bench-strstr-ifunc.c: New file.
49628         * benchtests/bench-strstr.c: New file.
49630         * benchtests/Makefile: Disable parallel execution of targets.
49631         (string-bench): Add memcpy.
49632         (benchset): New variable to store a list of benchmark sets.
49633         (bench-func): Renamed from bench.
49634         (bench-set): New target.
49635         (bench): Depend on bench-func and bench-set.
49636         * benchtests/README: Add section on benchmark sets.
49637         * benchtests/bench-memcpy-ifunc.c: New file.
49638         * benchtests/bench-memcpy.c: New file.
49639         * benchtests/bench-string.h: New file.
49641 2013-06-11  Andreas Schwab  <schwab@suse.de>
49643         [BZ #15577]
49644         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49645         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49646         values in the triple.
49647         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49648         terminator in the group key.
49650 2013-06-11  Andreas Jaeger  <aj@suse.de>
49652         * po/zh_TW.po: Update Chinese (traditional) translation from
49653         translation project.
49655 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49657         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49658         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49659         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49660         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49661         (clock_getcpuclockid): Likewise.
49662         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49663         Add weak_alias and libc_hidden_def.
49664         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49665         * rt/clock_gettime.c (clock_gettime): Rename to
49666         __clock_gettime.  Add weak_alias and libc_hidden_def.
49667         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49668         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49669         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49670         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49671         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49672         Likewise.
49673         * rt/clock_settime.c (clock_settime): Rename to
49674         __clock_settime.  Add weak_alias and libc_hidden_def.
49675         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49677 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49679         * mach/err_boot.sub: Remove trailing whitespace.
49680         * mach/err_ipc.sub: Likewise.
49681         * mach/err_mach.sub: Likewise.
49683         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49684         (ROUNDING_TESTS_double): Likewise.
49685         (ROUNDING_TESTS_long_double): Likewise.
49686         (ROUNDING_TESTS): Likewise.
49687         * math/libm-test.inc: Include <math-tests.h>.
49688         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49689         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49690         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49691         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49693 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49695         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49696         of assigning.
49698 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49700         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49701         otherwise empty TRANS lines.
49702         * sysdeps/gnu/errlist.c: Regenerated.
49704         * catgets/gencat.c (error_print): Use (void) in function
49705         definition.
49706         * crypt/crypt_util.c (__init_des): Likewise.
49707         * crypt/speeds.c (Stop): Likewise.
49708         (main): Likewise.
49709         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49710         * inet/ruserpass.c (token): Likewise.
49711         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49712         * intl/localealias.c (extend_alias_table): Likewise.
49713         * intl/plural-exp.c (init_germanic_plural): Likewise.
49714         * libio/fcloseall.c (__fcloseall): Likewise.
49715         * libio/genops.c (_IO_flush_all): Likewise.
49716         (_IO_flush_all_linebuffered): Likewise.
49717         (_IO_cleanup): Likewise.
49718         (_IO_iter_begin): Likewise.
49719         (_IO_iter_end): Likewise.
49720         (_IO_list_lock): Likewise.
49721         (_IO_list_unlock): Likewise.
49722         (_IO_list_resetlock): Likewise.
49723         * libio/getchar.c (getchar): Likewise.
49724         * libio/getchar_u.c (getchar_unlocked): Likewise.
49725         * libio/getwchar.c (getwchar): Likewise.
49726         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49727         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49728         * login/getpt.c (__getpt): Likewise.
49729         * login/tst-utmp.c (main): Likewise.
49730         * malloc/hooks.c (__malloc_check_init): Likewise.
49731         * malloc/malloc.c (__malloc_stats): Likewise.
49732         * malloc/mtrace.c (tr_break): Likewise.
49733         (mtrace): Likewise.
49734         (muntrace): Likewise.
49735         * misc/fstab.c (endfsent): Likewise.
49736         * misc/getclktck.c (__getclktck): Likewise.
49737         * misc/getdtsz.c (__getdtablesize): Likewise.
49738         * misc/gethostid.c (gethostid): Likewise.
49739         * misc/getpagesize.c (__getpagesize): Likewise.
49740         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49741         (__get_nprocs): Likewise.
49742         (__get_phys_pages): Likewise.
49743         (__get_avphys_pages): Likewise.
49744         * misc/getttyent.c (getttyent): Likewise.
49745         (setttyent): Likewise.
49746         (endttyent): Likewise.
49747         * misc/getusershell.c (getusershell): Likewise.
49748         (endusershell): Likewise.
49749         (setusershell): Likewise.
49750         (initshells): Likewise.
49751         * misc/hsearch.c (__hdestroy): Likewise.
49752         * misc/sync.c (sync): Likewise.
49753         * misc/syslog.c (closelog_internal): Likewise.
49754         (closelog): Likewise.
49755         * misc/ttyslot.c (ttyslot): Likewise.
49756         * misc/vhangup.c (vhangup): Likewise.
49757         * posix/fork.c (__fork): Likewise.
49758         * posix/getegid.c (__getegid): Likewise.
49759         * posix/geteuid.c (__geteuid): Likewise.
49760         * posix/getgid.c (__getgid): Likewise.
49761         * posix/getpid.c (__getpid): Likewise.
49762         * posix/getppid.c (__getppid): Likewise.
49763         * posix/getuid.c (__getuid): Likewise.
49764         * posix/pause.c (pause): Likewise.
49765         * posix/setpgrp.c (setpgrp): Likewise.
49766         * posix/setsid.c (__setsid): Likewise.
49767         * posix/test-vfork.c (noop): Likewise.
49768         * resolv/gethnamaddr.c (_endhtent): Likewise.
49769         (_gethtent): Likewise.
49770         (ht_endhostent): Likewise.
49771         (gethostent): Likewise.
49772         (dns_service): Likewise.
49773         * stdlib/drand48.c (drand48): Likewise.
49774         * stdlib/lrand48.c (lrand48): Likewise.
49775         * stdlib/mrand48.c (mrand48): Likewise.
49776         * stdlib/rand.c (rand): Likewise.
49777         * stdlib/random.c (__random): Likewise.
49778         * stdlib/setenv.c (clearenv): Likewise.
49779         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49780         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49781         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49782         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49783         (__get_nprocs): Likewise.
49784         (__get_phys_pages): Likewise.
49785         (__get_avphys_pages): Likewise.
49786         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49787         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49788         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49789         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49790         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49791         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49792         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49793         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49794         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49795         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49796         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49797         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49798         * sysdeps/posix/clock.c (clock): Likewise.
49799         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49800         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49801         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49802         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49803         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49804         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49805         (__get_nprocs_conf): Likewise.
49806         (__get_phys_pages): Likewise.
49807         (__get_avphys_pages): Likewise.
49808         * time/clock.c (clock): Likewise.
49809         * time/tzset.c (__tzname_max): Likewise.
49811 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49813         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49814         (__bswap_32): Do not use "register".
49815         * crypt/crypt.c (_ufc_doit_r): Likewise.
49816         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49817         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49818         * gmon/gmon.c (__monstartup): Likewise.
49819         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49820         * hurd/hurdmalloc.c (more_memory): Likewise.
49821         (malloc): Likewise.
49822         (free): Likewise.
49823         (realloc): Likewise.
49824         (malloc_fork_prepare): Likewise.
49825         (malloc_fork_parent): Likewise.
49826         (malloc_fork_child): Likewise.
49827         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49828         (_svcauth_des): Likewise.
49829         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49830         * inet/inet_net.c (inet_network): Likewise.
49831         * inet/inet_netof.c (inet_netof): Likewise.
49832         * inet/rcmd.c (__validuser2_sa): Likewise.
49833         * io/fts.c (fts_open): Likewise.
49834         (fts_load): Likewise.
49835         (fts_close): Likewise.
49836         (fts_read): Likewise.
49837         (fts_children): Likewise.
49838         (fts_build): Likewise.
49839         (fts_stat): Likewise.
49840         (fts_sort): Likewise.
49841         (fts_alloc): Likewise.
49842         (fts_lfree): Likewise.
49843         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49844         (_IO_file_xsgetn): Likewise.
49845         (_IO_file_xsgetn_mmap): Likewise.
49846         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49847         (_IO_cookie_write): Likewise.
49848         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49849         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49850         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49851         * malloc/obstack.c (_obstack_begin): Likewise.
49852         (_obstack_begin_1): Likewise.
49853         (_obstack_newchunk): Likewise.
49854         (_obstack_allocated_p): Likewise.
49855         (obstack_free): Likewise.
49856         (_obstack_memory_used): Likewise.
49857         * misc/getttyent.c (getttynam): Likewise.
49858         (getttyent): Likewise.
49859         (skip): Likewise.
49860         (value): Likewise.
49861         * misc/getusershell.c (initshells): Likewise.
49862         * misc/syslog.c (__vsyslog_chk): Likewise.
49863         * misc/ttyslot.c (ttyslot): Likewise.
49864         * nis/nis_hash.c (__nis_hash): Likewise.
49865         * posix/fnmatch_loop.c (FCT): Likewise.
49866         * posix/getconf.c (print_all): Likewise.
49867         (main): Likewise.
49868         * posix/getopt.c (exchange): Likewise.
49869         * posix/glob.c (globfree): Likewise.
49870         (prefix_array): Likewise.
49871         (__glob_pattern_type): Likewise.
49872         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49873         (NS_GET32): Likewise.
49874         (NS_PUT16): Likewise.
49875         (NS_PUT32): Likewise.
49876         * resolv/gethnamaddr.c (getanswer): Likewise.
49877         (gethostbyname2): Likewise.
49878         (gethostbyaddr): Likewise.
49879         (_gethtent): Likewise.
49880         (_gethtbyname2): Likewise.
49881         (_gethtbyaddr): Likewise.
49882         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49883         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49884         * resolv/res_init.c (__res_vinit): Likewise.
49885         (net_mask): Likewise.
49886         * resolv/res_mkquery.c (outchar): Likewise.
49887         (PRINT): Likewise.
49888         * stdio-common/printf_fp.c (outchar): Likewise.
49889         (PRINT): Likewise.
49890         * stdio-common/printf_fphex.c (outchar): Likewise.
49891         (PRINT): Likewise.
49892         * stdio-common/printf_size.c (outchar): Likewise.
49893         (PRINT): Likewise.
49894         * stdio-common/test_rdwr.c (main): Likewise.
49895         * stdio-common/tfformat.c (matches): Likewise.
49896         * stdio-common/vfprintf.c (outchar): Likewise.
49897         (printf_unknown): Likewise.
49898         (buffered_vfprintf): Likewise.
49899         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49900         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49901         (ReadFile): Likewise.
49902         * stdlib/qsort.c (SWAP): Likewise.
49903         (_quicksort): Likewise.
49904         * stdlib/setenv.c (__add_to_environ): Likewise.
49905         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49906         * stdlib/strtol_l.c (__strtol_l): Likewise.
49907         * stdlib/tst-strtod.c (main): Likewise.
49908         * stdlib/tst-strtol.c (main): Likewise.
49909         * stdlib/tst-strtoll.c (main): Likewise.
49910         * string/bits/string2.h (__strcmp_cc): Likewise.
49911         (__strcmp_cg): Likewise.
49912         (__strcspn_c1): Likewise.
49913         (__strcspn_c2): Likewise.
49914         (__strcspn_c3): Likewise.
49915         (__strspn_c1): Likewise.
49916         (__strspn_c2): Likewise.
49917         (__strspn_c3): Likewise.
49918         (__strsep_1c): Likewise.
49919         (__strsep_2c): Likewise.
49920         (__strsep_3c): Likewise.
49921         * string/memccpy.c (__memccpy): Likewise.
49922         * string/stpcpy.c (__stpcpy): Likewise.
49923         * string/strcmp.c (strcmp): Likewise.
49924         * string/strrchr.c (strrchr): Likewise.
49925         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49926         Likewise.
49927         * sysdeps/mach/hurd/getcwd.c
49928         (_hurd_canonicalize_directory_name_internal): Likewise.
49929         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49930         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49931         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49932         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49933         Likewise, in both definitions.
49934         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49935         definitions.
49936         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49937         64] (__bswap_64): Likewise.
49938         * time/test_time.c (main): Likewise.
49939         * time/tzfile.c (__tzfile_read): Likewise.
49940         (__tzfile_compute): Likewise.
49941         * time/tzset.c (__tzset_parse_tz): Likewise.
49942         (tzset_internal): Likewise.
49943         (compute_change): Likewise.
49944         * wcsmbs/wcscat.c (__wcscat): Likewise.
49945         * wcsmbs/wcschr.c (wcschr): Likewise.
49946         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49947         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49948         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49949         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49950         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49951         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49952         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49953         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49954         * wcsmbs/wmemset.c (wmemset): Likewise.
49956 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49958         * scripts/config.guess: Update to version 2013-05-16.
49959         * scripts/config.sub: Update to version 2013-04-24.
49960         * scripts/install-sh: Update to version 2011-11-20.07.
49961         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49962         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49964 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49966         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49967         * elf/sln.c: Likewise.
49968         * hurd/hurd/ioctl.h: Likewise.
49969         * hurd/hurdmalloc.c: Likewise.
49970         * hurd/xattr.c: Likewise.
49971         * include/shlib-compat.h: Likewise.
49972         * inet/ruserpass.c: Likewise.
49973         * libio/iofgets_u.c: Likewise.
49974         * libio/iofgetws_u.c: Likewise.
49975         * locale/programs/ld-identification.c: Likewise.
49976         * locale/programs/ld-time.c: Likewise.
49977         * mach/msg-destroy.c: Likewise.
49978         * nss/nss_files/files-netgrp.c: Likewise.
49979         * resolv/res_data.c: 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-common.h: Likewise.
49984         * stdio-common/printf_fphex.c: Likewise.
49985         * stdlib/strtod_l.c: Likewise.
49986         * sunrpc/rpc/clnt.h: Likewise.
49987         * sysdeps/generic/framestate.c: Likewise.
49988         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49989         * sysdeps/i386/bsd-setjmp.S: Likewise.
49990         * sysdeps/i386/__longjmp.S: Likewise.
49991         * sysdeps/i386/setjmp.S: Likewise.
49992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49993         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49994         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49995         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49997         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50001         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50002         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50003         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50004         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50005         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50006         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50008         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50009         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50010         * sysdeps/ieee754/support.c: Likewise.
50011         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50012         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50013         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50014         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50015         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50016         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50017         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50018         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50019         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50020         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50021         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50022         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50023         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50024         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50025         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50026         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50027         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50030 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50032         * posix/transbug.c: Remove executable mode.
50034 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50036         * crypt/speeds.c: Remove trailing whitespace.
50037         * dlfcn/default.c: Likewise.
50038         * elf/ifuncdep2.c: Likewise.
50039         * elf/ifuncmain1.c: Likewise.
50040         * elf/ifuncmain1vis.c: Likewise.
50041         * elf/testobj.h: Likewise.
50042         * elf/tst-stackguard1.c: Likewise.
50043         * gmon/sys/gmon.h: Likewise.
50044         * hurd/hurdmsg.c: Likewise.
50045         * hurd/new-fd.c: Likewise.
50046         * hurd/ports-get.c: Likewise.
50047         * iconvdata/ibm1008_420.c: Likewise.
50048         * inet/tst-getni1.c: Likewise.
50049         * inet/tst-getni2.c: Likewise.
50050         * libio/ioungetc.c: Likewise.
50051         * libio/wfiledoalloc.c: Likewise.
50052         * manual/libm-err-tab.pl: Likewise.
50053         * math/w_dremf.c: Likewise.
50054         * misc/ftruncate.c: Likewise.
50055         * posix/bug-glob2.c: Likewise.
50056         * posix/tst-pcre.c: Likewise.
50057         * posix/wait4.c: Likewise.
50058         * resolv/README: Likewise.
50059         * resolv/res_debug.h: Likewise.
50060         * resolv/tst-inet_ntop.c: Likewise.
50061         * setjmp/bug269-setjmp.c: Likewise.
50062         * soft-fp/extended.h: Likewise.
50063         * soft-fp/op-1.h: Likewise.
50064         * soft-fp/op-2.h: Likewise.
50065         * soft-fp/op-4.h: Likewise.
50066         * soft-fp/op-8.h: Likewise.
50067         * soft-fp/testit.c: Likewise.
50068         * stdio-common/bug16.c: Likewise.
50069         * stdlib/random.c: Likewise.
50070         * sunrpc/rpcsvc/rquota.x: Likewise.
50071         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50072         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50074         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50075         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50076         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50077         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50078         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50079         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50080         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50081         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50082         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50083         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50084         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50085         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50086         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50087         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50089         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50092         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50093         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50094         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50095         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50098         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50099         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50100         * sysdeps/ieee754/s_lib_version.c: Likewise.
50101         * sysdeps/mach/hurd/check_fds.c: Likewise.
50102         * sysdeps/mach/hurd/getsockname.c: Likewise.
50103         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50104         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50105         * sysdeps/powerpc/bits/link.h: Likewise.
50106         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50107         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50108         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50109         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50110         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50111         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50112         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50113         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50114         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50115         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50116         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50117         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50118         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50119         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50120         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50121         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50124         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50125         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50126         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50127         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50128         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50129         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50130         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50131         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50132         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50133         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50134         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50135         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50136         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50137         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50138         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50139         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50140         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50141         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50142         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50143         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50144         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50145         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50146         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50147         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50148         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50149         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50150         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50151         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50152         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50153         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50154         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50155         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50158         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50159         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50160         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50161         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50162         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50163         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50164         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50165         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50166         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50167         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50168         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50169         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50170         * sysdeps/powerpc/sysdep.h: Likewise.
50171         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50172         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50173         * sysdeps/sh/dl-trampoline.S: Likewise.
50174         * sysdeps/sh/memset.S: Likewise.
50175         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50176         * sysdeps/sh/strlen.S: Likewise.
50177         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50178         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50179         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50180         * sysdeps/sparc/sparc32/rem.S: Likewise.
50181         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50182         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50183         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50184         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50185         * sysdeps/sparc/sparc32/urem.S: Likewise.
50186         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50187         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50188         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50189         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50190         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50191         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50192         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50193         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50194         * sysdeps/unix/bsd/times.c: Likewise.
50195         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50196         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50200         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50201         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50202         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50203         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50204         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50205         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50207         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50208         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50209         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50210         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50211         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50212         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50213         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50214         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50215         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50216         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50217         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50218         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50219         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50220         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50221         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50222         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50223         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50224         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50225         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50226         * sysdeps/x86_64/strcspn.S: Likewise.
50228 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50230         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50231         generated file.  Regenerate properly from gen-translit.pl.
50232         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50233         locale/C-translit.h.
50235 2013-06-05  Andreas Schwab  <schwab@suse.de>
50237         [BZ #15100]
50238         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50239         week as 6 instead of -1.
50240         * time/tst-strptime.c (day_tests): Add test case.
50242 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50244         * sysdeps/generic/math_private.h
50245         (libc_feholdexcept_setround_53bit): Replace with
50246         libc_feholdsetround_53bit.
50247         (libc_feupdateenv_53bit): Replace with
50248         libc_feresetround_53bit.
50249         (SET_RESTORE_ROUND_53BIT): Adjust.
50251 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50253         * string/test-strchrnul.c: Add copyright header.
50255         * posix/tst-getaddrinfo4.c: Increase test timeout.
50257 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50259         [BZ #15536]
50260         * math/libm-test.inc (MAX_EXP): Remove
50261         (MIN_EXP): Define.
50262         (ulp): Use MIN_EXP - MANT_DIG.
50263         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50265 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50267         * po/be.po: Revert last change.
50268         * po/zh_CN.po: Likewise.
50269         * po/header.pot: Likewise.
50271 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50273         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50274         link-libc-deps to empty as target-specific variable.
50275         * Makerules (link-libc-args): New variable.
50276         (libc-for-link): Likewise.
50277         (link-libc-deps): Likewise.
50278         (lib%.so): Depend on $(link-libc-deps).  Link with
50279         $(link-libc-args).
50280         (build-module): Link with $(link-libc-args).
50281         (build-module-asneeded): Likewise.
50282         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50283         list of objects.
50284         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50285         target-specific variable.
50286         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50287         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50288         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50289         libc.
50290         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50291         libc and ld.so.
50292         ($(objpfx)libpcprofile.so): Likewise.
50293         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50294         libc_nonshared.a.
50295         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50296         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50297         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50298         $(link-libc-deps).
50299         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50300         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50301         * login/Makefile ($(objpfx)libutil.so): Likewise.
50302         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50303         * math/Makefile ($(objpfx)libm.so): Likewise.
50304         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50305         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50306         variable instead of depending directly on libc.
50307         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50308         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50309         $(link-libc-deps).
50310         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50311         libc.
50312         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50313         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50314         ($(objpfx)libanl.so): Likewise.
50315         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50316         ld.so.
50317         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50318         $(link-libc-deps).
50319         * sysdeps/i386/fpu/Makefile: Remove file.
50320         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50321         ($(objpfx)libm.so): Remove dependency on ld.so.
50323 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50325         [BZ # 15553]
50326         * nis/yp_xdr.c (XDRMAXNAME): Define.
50327         (XDRMAXRECORD): Define.
50328         (xdr_domainname): Use XDRMAXNAME.
50329         (xdr_mapname): Likewise.
50330         (xdr_peername): Likewise.
50331         (xdr_keydat): Use XDRMAXRECORD.
50332         (xdr_valdat): Likewise.
50334 2013-05-30  Jeff Law  <law@redhat.com>
50336         [BZ #14256]
50337         * manual/errno.texi (ESTALE): Update to account for more than
50338         just NFS file systems.
50339         * sysdeps/gnu/errlist.c: Regenerated.
50341 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50343         [BZ #15465]
50344         * elf/Makefile (tests): Add tst-null-argv.
50345         (modules-names):  Add tst-null-argv-lib.
50346         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50347         (tst-null-argv-ENV): Set environment for tst-null-argv.
50348         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50349         (RTLD_PROGNAME): New macro.
50350         * elf/tst-null-argv.c: New test case.
50351         * elf/tst-null-argv-lib.c: Library for test case.
50352         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50353         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50354         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50355         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50356         * elf/dl-init.c (call_init): Likewise.
50357         (_dl_init): Likewise.
50358         * elf/dl-load.c (print_search_path): Likewise.
50359         (_dl_map_object): Likewise.
50360         * elf/dl-lookup.c (do_lookup_x): Likewise.
50361         (add_dependency): Likewise.
50362         (_dl_lookup_symbol_x): Likewise.
50363         (_dl_debug_bindings): Likewise.
50364         * elf/dl-open.c (_dl_show_scope): Likewise.
50365         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50366         * elf/dl-version.c (match_symbol): Likewise.
50367         (_dl_check_map_versions): Likewise.
50368         * elf/rtld.c (dl_main): Likewise.
50369         (print_unresolved): Use RTLD_PROGNAME.
50370         (print_missing_version): Likewise.
50371         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50372         (elf_machine_rela): Likewise.
50373         * sysdeps/powerpc/powerpc32/dl-machine.c
50374         (__process_machine_rela): Likewise.
50375         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50376         Likewise.
50377         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50378         Likewise.
50379         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50380         Likewise.
50381         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50382         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50383         Likewise.
50384         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50385         Likewise.
50386         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50388 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50390         * po/be.po: Add descriptive title.
50391         * po/zh_CN.po: Likewise.
50392         * po/header.pot: Likewise.
50394 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50396         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50397         error message.
50398         (enlarge_archive): Likewise.
50400 2013-05-28  Ben North  <ben@redfrontdoor.org>
50402         * manual/arith.texi (frexp): It is the magnitude of the return
50403         value which lies in [0.5, 1), not the return value itself.
50405 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50409 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50411         * stdio-common/bug26.c (main): Correct fscanf template.
50413         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50414         declare _dl_skip_args.
50416         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50417         Don't declare.
50419         * manual/platform.texi: Add missing @end deftypefun.
50421 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50423         [BZ #15529]
50424         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50425         bit of mantissa of 2^16382.
50426         * math/libm-test.inc (hypot_test_data): Add more tests.
50428         * math/libm-test.inc: Add drem and pow10 to list of tested
50429         functions.
50430         (pow10_test): New function.
50431         (drem_test): Likewise.
50432         (drem_test_tonearest): Likewise.
50433         (drem_test_towardzero): Likewise.
50434         (drem_test_downward): Likewise.
50435         (drem_test_upward): Likewise.
50436         (main): Call the new functions.
50438         * math/libm-test.inc (finite_test_data): Remove.
50439         (finite_test): Run tests from isfinite_test_data.
50440         (gamma_test_data): Remove.
50441         (gamma_test): Run tests from lgamma_test_data.
50442         * sysdeps/i386/fpu/libm-test-ulps: Update.
50443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50445 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50447         * manual/platform.texi: Add PowerPC PPR function set documentation.
50448         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50449         implementation.
50451 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50453         * math/libm-test.inc (MAX_EXP): Define.
50454         (ULPDIFF): Define.
50455         (ulp): New function.
50456         (check_float_internal): Use ULPDIFF.
50457         (cpow_test): Disable failing test.
50458         (check_ulp): Test ulp() implemetnation.
50459         (main): Call check_ulp before starting tests.
50461 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50463         * math/gen-libm-test.pl (generate_testfile): Do not handle
50464         START_DATA and END_DATA.
50465         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50466         END_DATA.
50467         (acos_tonearest_test_data): Likewise.
50468         (acos_towardzero_test_data): Likewise.
50469         (acos_downward_test_data): Likewise.
50470         (acos_upward_test_data): Likewise.
50471         (acosh_test_data): Likewise.
50472         (asin_test_data): Likewise.
50473         (asin_tonearest_test_data): Likewise.
50474         (asin_towardzero_test_data): Likewise.
50475         (asin_downward_test_data): Likewise.
50476         (asin_upward_test_data): Likewise.
50477         (asinh_test_data): Likewise.
50478         (atan_test_data): Likewise.
50479         (atanh_test_data): Likewise.
50480         (atan2_test_data): Likewise.
50481         (cabs_test_data): Likewise.
50482         (cacos_test_data): Likewise.
50483         (cacosh_test_data): Likewise.
50484         (carg_test_data): Likewise.
50485         (casin_test_data): Likewise.
50486         (casinh_test_data): Likewise.
50487         (catan_test_data): Likewise.
50488         (catanh_test_data): Likewise.
50489         (cbrt_test_data): Likewise.
50490         (ccos_test_data): Likewise.
50491         (ccosh_test_data): Likewise.
50492         (ceil_test_data): Likewise.
50493         (cexp_test_data): Likewise.
50494         (cimag_test_data): Likewise.
50495         (clog_test_data): Likewise.
50496         (clog10_test_data): Likewise.
50497         (conj_test_data): Likewise.
50498         (copysign_test_data): Likewise.
50499         (cos_test_data): Likewise.
50500         (cos_tonearest_test_data): Likewise.
50501         (cos_towardzero_test_data): Likewise.
50502         (cos_downward_test_data): Likewise.
50503         (cos_upward_test_data): Likewise.
50504         (cosh_test_data): Likewise.
50505         (cosh_tonearest_test_data): Likewise.
50506         (cosh_towardzero_test_data): Likewise.
50507         (cosh_downward_test_data): Likewise.
50508         (cosh_upward_test_data): Likewise.
50509         (cpow_test_data): Likewise.
50510         (cproj_test_data): Likewise.
50511         (creal_test_data): Likewise.
50512         (csin_test_data): Likewise.
50513         (csinh_test_data): Likewise.
50514         (csqrt_test_data): Likewise.
50515         (ctan_test_data): Likewise.
50516         (ctan_tonearest_test_data): Likewise.
50517         (ctan_towardzero_test_data): Likewise.
50518         (ctan_downward_test_data): Likewise.
50519         (ctan_upward_test_data): Likewise.
50520         (ctanh_test_data): Likewise.
50521         (ctanh_tonearest_test_data): Likewise.
50522         (ctanh_towardzero_test_data): Likewise.
50523         (ctanh_downward_test_data): Likewise.
50524         (ctanh_upward_test_data): Likewise.
50525         (erf_test_data): Likewise.
50526         (erfc_test_data): Likewise.
50527         (exp_test_data): Likewise.
50528         (exp_tonearest_test_data): Likewise.
50529         (exp_towardzero_test_data): Likewise.
50530         (exp_downward_test_data): Likewise.
50531         (exp_upward_test_data): Likewise.
50532         (exp10_test_data): Likewise.
50533         (exp2_test_data): Likewise.
50534         (expm1_test_data): Likewise.
50535         (fabs_test_data): Likewise.
50536         (fdim_test_data): Likewise.
50537         (finite_test_data): Likewise.
50538         (floor_test_data): Likewise.
50539         (fma_test_data): Likewise.
50540         (fma_towardzero_test_data): Likewise.
50541         (fma_downward_test_data): Likewise.
50542         (fma_upward_test_data): Likewise.
50543         (fmax_test_data): Likewise.
50544         (fmin_test_data): Likewise.
50545         (fmod_test_data): Likewise.
50546         (fpclassify_test_data): Likewise.
50547         (frexp_test_data): Likewise.
50548         (gamma_test_data): Likewise.
50549         (hypot_test_data): Likewise.
50550         (ilogb_test_data): Likewise.
50551         (isfinite_test_data): Likewise.
50552         (isgreater_test_data): Likewise.
50553         (isgreaterequal_test_data): Likewise.
50554         (isinf_test_data): Likewise.
50555         (isless_test_data): Likewise.
50556         (islessequal_test_data): Likewise.
50557         (islessgreater_test_data): Likewise.
50558         (isnan_test_data): Likewise.
50559         (isnormal_test_data): Likewise.
50560         (issignaling_test_data): Likewise.
50561         (isunordered_test_data): Likewise.
50562         (j0_test_data): Likewise.
50563         (j1_test_data): Likewise.
50564         (jn_test_data): Likewise.
50565         (ldexp_test_data): Likewise.
50566         (lgamma_test_data): Likewise.
50567         (lrint_test_data): Likewise.
50568         (lrint_tonearest_test_data): Likewise.
50569         (lrint_towardzero_test_data): Likewise.
50570         (lrint_downward_test_data): Likewise.
50571         (lrint_upward_test_data): Likewise.
50572         (llrint_test_data): Likewise.
50573         (llrint_tonearest_test_data): Likewise.
50574         (llrint_towardzero_test_data): Likewise.
50575         (llrint_downward_test_data): Likewise.
50576         (llrint_upward_test_data): Likewise.
50577         (log_test_data): Likewise.
50578         (log10_test_data): Likewise.
50579         (log1p_test_data): Likewise.
50580         (log2_test_data): Likewise.
50581         (logb_test_data): Likewise.
50582         (logb_downward_test_data): Likewise.
50583         (lround_test_data): Likewise.
50584         (llround_test_data): Likewise.
50585         (modf_test_data): Likewise.
50586         (nearbyint_test_data): Likewise.
50587         (nextafter_test_data): Likewise.
50588         (nexttoward_test_data): Likewise.
50589         (pow_test_data): Likewise.
50590         (pow_tonearest_test_data): Likewise.
50591         (pow_towardzero_test_data): Likewise.
50592         (pow_downward_test_data): Likewise.
50593         (pow_upward_test_data): Likewise.
50594         (remainder_test_data): Likewise.
50595         (remainder_tonearest_test_data): Likewise.
50596         (remainder_towardzero_test_data): Likewise.
50597         (remainder_downward_test_data): Likewise.
50598         (remainder_upward_test_data): Likewise.
50599         (remquo_test_data): Likewise.
50600         (rint_test_data): Likewise.
50601         (rint_tonearest_test_data): Likewise.
50602         (rint_towardzero_test_data): Likewise.
50603         (rint_downward_test_data): Likewise.
50604         (rint_upward_test_data): Likewise.
50605         (round_test_data): Likewise.
50606         (scalb_test_data): Likewise.
50607         (scalbn_test_data): Likewise.
50608         (scalbln_test_data): Likewise.
50609         (signbit_test_data): Likewise.
50610         (sin_test_data): Likewise.
50611         (sin_tonearest_test_data): Likewise.
50612         (sin_towardzero_test_data): Likewise.
50613         (sin_downward_test_data): Likewise.
50614         (sin_upward_test_data): Likewise.
50615         (sincos_test_data): Likewise.
50616         (sinh_test_data): Likewise.
50617         (sinh_tonearest_test_data): Likewise.
50618         (sinh_towardzero_test_data): Likewise.
50619         (sinh_downward_test_data): Likewise.
50620         (sinh_upward_test_data): Likewise.
50621         (sqrt_test_data): Likewise.
50622         (tan_test_data): Likewise.
50623         (tan_tonearest_test_data): Likewise.
50624         (tan_towardzero_test_data): Likewise.
50625         (tan_downward_test_data): Likewise.
50626         (tan_upward_test_data): Likewise.
50627         (tanh_test_data): Likewise.
50628         (tgamma_test_data): Likewise.
50629         (trunc_test_data): Likewise.
50630         (y0_test_data): Likewise.
50631         (y1_test_data): Likewise.
50632         (yn_test_data): Likewise.
50633         (significand_test_data): Likewise.
50635         * math/gen-libm-test.pl (@functions): Remove variable.
50636         (generate_testfile): Don't handle START and END lines.
50637         * math/libm-test.inc (START): New macro.
50638         (END): Likewise.
50639         (END_COMPLEX): Likewise.
50640         (acos_test): Use END macro without arguments.
50641         (acos_test_tonearest): Likewise.
50642         (acos_test_towardzero): Likewise.
50643         (acos_test_downward): Likewise.
50644         (acos_test_upward): Likewise.
50645         (acosh_test): Likewise.
50646         (asin_test): Likewise.
50647         (asin_test_tonearest): Likewise.
50648         (asin_test_towardzero): Likewise.
50649         (asin_test_downward): Likewise.
50650         (asin_test_upward): Likewise.
50651         (asinh_test): Likewise.
50652         (atan_test): Likewise.
50653         (atanh_test): Likewise.
50654         (atan2_test): Likewise.
50655         (cabs_test): Likewise.
50656         (cacos_test): Use END_COMPLEX macro without arguments.
50657         (cacosh_test): Likewise.
50658         (carg_test): Use END macro without arguments.
50659         (casin_test): Use END_COMPLEX macro without arguments.
50660         (casinh_test): Likewise.
50661         (catan_test): Likewise.
50662         (catanh_test): Likewise.
50663         (cbrt_test): Use END macro without arguments.
50664         (ccos_test): Use END_COMPLEX macro without arguments.
50665         (ccosh_test): Likewise.
50666         (ceil_test): Use END macro without arguments.
50667         (cexp_test): Use END_COMPLEX macro without arguments.
50668         (cimag_test): Use END macro without arguments.
50669         (clog_test): Use END_COMPLEX macro without arguments.
50670         (clog10_test): Likewise.
50671         (conj_test): Likewise.
50672         (copysign_test): Use END macro without arguments.
50673         (cos_test): Likewise.
50674         (cos_test_tonearest): Likewise.
50675         (cos_test_towardzero): Likewise.
50676         (cos_test_downward): Likewise.
50677         (cos_test_upward): Likewise.
50678         (cosh_test): Likewise.
50679         (cosh_test_tonearest): Likewise.
50680         (cosh_test_towardzero): Likewise.
50681         (cosh_test_downward): Likewise.
50682         (cosh_test_upward): Likewise.
50683         (cpow_test): Use END_COMPLEX macro without arguments.
50684         (cproj_test): Likewise.
50685         (creal_test): Use END macro without arguments.
50686         (csin_test): Use END_COMPLEX macro without arguments.
50687         (csinh_test): Likewise.
50688         (csqrt_test): Likewise.
50689         (ctan_test): Likewise.
50690         (ctan_test_tonearest): Likewise.
50691         (ctan_test_towardzero): Likewise.
50692         (ctan_test_downward): Likewise.
50693         (ctan_test_upward): Likewise.
50694         (ctanh_test): Likewise.
50695         (ctanh_test_tonearest): Likewise.
50696         (ctanh_test_towardzero): Likewise.
50697         (ctanh_test_downward): Likewise.
50698         (ctanh_test_upward): Likewise.
50699         (erf_test): Use END macro without arguments.
50700         (erfc_test): Likewise.
50701         (exp_test): Likewise.
50702         (exp_test_tonearest): Likewise.
50703         (exp_test_towardzero): Likewise.
50704         (exp_test_downward): Likewise.
50705         (exp_test_upward): Likewise.
50706         (exp10_test): Likewise.
50707         (exp2_test): Likewise.
50708         (expm1_test): Likewise.
50709         (fabs_test): Likewise.
50710         (fdim_test): Likewise.
50711         (finite_test): Likewise.
50712         (floor_test): Likewise.
50713         (fma_test): Likewise.
50714         (fma_test_towardzero): Likewise.
50715         (fma_test_downward): Likewise.
50716         (fma_test_upward): Likewise.
50717         (fmax_test): Likewise.
50718         (fmin_test): Likewise.
50719         (fmod_test): Likewise.
50720         (fpclassify_test): Likewise.
50721         (frexp_test): Likewise.
50722         (gamma_test): Likewise.
50723         (hypot_test): Likewise.
50724         (ilogb_test): Likewise.
50725         (isfinite_test): Likewise.
50726         (isgreater_test): Likewise.
50727         (isgreaterequal_test): Likewise.
50728         (isinf_test): Likewise.
50729         (isless_test): Likewise.
50730         (islessequal_test): Likewise.
50731         (islessgreater_test): Likewise.
50732         (isnan_test): Likewise.
50733         (isnormal_test): Likewise.
50734         (issignaling_test): Likewise.
50735         (isunordered_test): Likewise.
50736         (j0_test): Likewise.
50737         (j1_test): Likewise.
50738         (jn_test): Likewise.
50739         (ldexp_test): Likewise.
50740         (lgamma_test): Likewise.
50741         (lrint_test): Likewise.
50742         (lrint_test_tonearest): Likewise.
50743         (lrint_test_towardzero): Likewise.
50744         (lrint_test_downward): Likewise.
50745         (lrint_test_upward): Likewise.
50746         (llrint_test): Likewise.
50747         (llrint_test_tonearest): Likewise.
50748         (llrint_test_towardzero): Likewise.
50749         (llrint_test_downward): Likewise.
50750         (llrint_test_upward): Likewise.
50751         (log_test): Likewise.
50752         (log10_test): Likewise.
50753         (log1p_test): Likewise.
50754         (log2_test): Likewise.
50755         (logb_test): Likewise.
50756         (logb_test_downward): Likewise.
50757         (lround_test): Likewise.
50758         (llround_test): Likewise.
50759         (modf_test): Likewise.
50760         (nearbyint_test): Likewise.
50761         (nextafter_test): Likewise.
50762         (nexttoward_test): Likewise.
50763         (pow_test): Likewise.
50764         (pow_test_tonearest): Likewise.
50765         (pow_test_towardzero): Likewise.
50766         (pow_test_downward): Likewise.
50767         (pow_test_upward): Likewise.
50768         (remainder_test): Likewise.
50769         (remainder_test_tonearest): Likewise.
50770         (remainder_test_towardzero): Likewise.
50771         (remainder_test_downward): Likewise.
50772         (remainder_test_upward): Likewise.
50773         (remquo_test): Likewise.
50774         (rint_test): Likewise.
50775         (rint_test_tonearest): Likewise.
50776         (rint_test_towardzero): Likewise.
50777         (rint_test_downward): Likewise.
50778         (rint_test_upward): Likewise.
50779         (round_test): Likewise.
50780         (scalb_test): Likewise.
50781         (scalbn_test): Likewise.
50782         (scalbln_test): Likewise.
50783         (signbit_test): Likewise.
50784         (sin_test): Likewise.
50785         (sin_test_tonearest): Likewise.
50786         (sin_test_towardzero): Likewise.
50787         (sin_test_downward): Likewise.
50788         (sin_test_upward): Likewise.
50789         (sincos_test): Likewise.
50790         (sinh_test): Likewise.
50791         (sinh_test_tonearest): Likewise.
50792         (sinh_test_towardzero): Likewise.
50793         (sinh_test_downward): Likewise.
50794         (sinh_test_upward): Likewise.
50795         (sqrt_test): Likewise.
50796         (tan_test): Likewise.
50797         (tan_test_tonearest): Likewise.
50798         (tan_test_towardzero): Likewise.
50799         (tan_test_downward): Likewise.
50800         (tan_test_upward): Likewise.
50801         (tanh_test): Likewise.
50802         (tgamma_test): Likewise.
50803         (trunc_test): Likewise.
50804         (y0_test): Likewise.
50805         (y1_test): Likewise.
50806         (yn_test): Likewise.
50807         (significand_test): Likewise.
50809 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50811         [BZ #15381]
50812         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50814 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50816         [BZ #14894]
50817         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50818         __ppc_mdoio and __ppc_mdoom.
50819         * manual/platform.texi: Document new functions __ppc_yield,
50820         __ppc_mdoio and __ppc_mdoom.
50822 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50824         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50825         (main): Mention "tls" pseudo-hwcap is legacy.
50826         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50828 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50830         * math/gen-libm-test.pl (parse_args): Output only string of
50831         arguments as text for test name, not full call or descriptions of
50832         tests for extra outputs.
50833         (generate_testfile): Do not pass function name to parse_args.
50834         Generate this_func variable from START.
50835         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50836         field to arg_str.
50837         (struct test_ff_f_data): Likewise.
50838         (test_ff_f_data_nexttoward): Likewise.
50839         (struct test_fi_f_data): Likewise.
50840         (struct test_fl_f_data): Likewise.
50841         (struct test_if_f_data): Likewise.
50842         (struct test_fff_f_data): Likewise.
50843         (struct test_c_f_data): Likewise.
50844         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50845         (struct test_fF_f1_data): Likewise.
50846         (struct test_ffI_f1_data): Likewise.
50847         (struct test_c_c_data): Rename test_name field to arg_str.
50848         (struct test_cc_c_data): Likewise.
50849         (struct test_f_i_data): Likewise.
50850         (struct test_ff_i_data): Likewise.
50851         (struct test_f_l_data): Likewise.
50852         (struct test_f_L_data): Likewise.
50853         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50854         and extra2_name.
50855         (COMMON_TEST_SETUP): New macro.
50856         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50857         (COMMON_TEST_CLEANUP): Likewise.
50858         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50859         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50860         macros.
50861         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50862         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50863         macros.
50864         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50865         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50866         cleanup macros.
50867         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50868         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50869         macros.
50870         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50871         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50872         macros.
50873         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50874         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50875         cleanup macros.
50876         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50877         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50878         cleanup macros.
50879         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50880         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50881         cleanup macros.
50882         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50883         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50884         macros.
50885         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50886         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50887         macros.
50888         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50889         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50890         macros.
50891         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50892         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50893         cleanup macros.
50894         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50895         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50896         cleanup macros.
50897         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50898         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50899         macros.
50900         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50901         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50902         cleanup macros.
50903         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50904         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50905         macros.
50906         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50907         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50908         macros.
50909         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50910         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50911         cleanup macros.
50912         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50914 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50916         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50917         to _sifields.sigfault.
50918         (si_addr_lsb): Define new macro.
50919         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50920         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50921         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50923 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50925         [BZ #15441]
50926         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50927         returns -1.
50928         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50929         null return -1.
50930         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50931         loading the domain.
50933 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50935         * math/gen-libm-test.pl (parse_args): Do not include expected
50936         result in test name.
50937         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50938         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50939         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50940         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50941         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50944 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50946         * benchtests/Makefile: Sort function entries.
50948         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50949         tanh, asinh, acosh, atanh.
50950         * benchtests/acos-inputs: New file.
50951         * benchtests/acosh-inputs: New file.
50952         * benchtests/asin-inputs: New file.
50953         * benchtests/asinh-inputs: New file.
50954         * benchtests/atanh-inputs: New file.
50955         * benchtests/cosh-inputs: New file.
50956         * benchtests/log-inputs: New file.
50957         * benchtests/sinh-inputs: New file.
50958         * benchtests/tanh-inputs: New file.
50960 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50962         [BZ #15339]
50963         * posix/tst-getaddrinfo4.c: New test.
50964         * posix/Makefile (tests): Add it.
50966 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50968         [BZ #15339]
50969         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50970         when no services were used.
50971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50972         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50974 2013-05-21  Andreas Schwab  <schwab@suse.de>
50976         [BZ #15014]
50977         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50978         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50979         successful.
50980         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50981         redundant variable declarations and reallocation of buffer when
50982         parsing as IPv6 address.  Always set NSS status when called from
50983         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50984         buffer too small.  Correct computation of needed size.
50985         * nss/Makefile (tests): Add test-digits-dots.
50986         * nss/test-digits-dots.c: New test.
50988 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50990         * benchtests/Makefile: Remove instructions for adding
50991         benchmark tests.
50992         * benchtests/README: New file to explain how to execute and
50993         enhance the benchmark tests.
50995 2013-05-21  Andreas Schwab  <schwab@suse.de>
50997         [BZ #15493]
50998         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50999         * setjmp/tst-sigsetjmp.c: New test.
51001 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51003         * sysdeps/x86_64/memset.S (memset): New implementation.
51004         (__bzero): Likewise.
51005         (__memset_tail): New function.
51007 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51009         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51010         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51011         __memcpy_sse2_unaligned ifunc selection.
51012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51013         Add memcpy-sse2-unaligned.S.
51014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51015         Add: __memcpy_sse2_unaligned.
51017 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51019         [BZ #15490]
51020         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51021         math_force_eval before restoring floating-point envrionment.
51022         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51023         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51024         Likewise.
51025         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51026         <math_private.h>.
51027         (__nearbyintl): Use math_force_eval before restoring
51028         floating-point environment.
51029         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51031         * math/gen-libm-test.pl (special_functions): Remove.
51032         (parse_args): Don't handle TEST_extra.  Handle functions with no
51033         return value.
51034         * math/libm-test.inc (struct test_sincos_data): Replace with
51035         struct test_fFF_11_data.
51036         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51037         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51038         (sincos_test_data): Change element type to struct
51039         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51040         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51041         RUN_TEST_LOOP_sincos.
51042         * math/README.libm-test: Don't mention special handling of
51043         individual functions.
51044         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51045         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51046         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51047         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51048         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51051         * math/gen-libm-test.pl (get_variable): Remove function.
51052         (parse_args): Don't show pointer parameters to call in test
51053         names.  Use "extra output N" in test names for extra outputs
51054         rather than naming variables.
51056 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51058         [BZ #15488]
51059         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51060         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51061         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51062         double tests.
51063         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51064         disable.
51065         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51066         check_long_double.
51068         * math/gen-libm-test.pl (@tests): Remove variable.
51069         ($count): Likewise.
51070         (new_test): Remove function.
51071         (show_exceptions): New function.
51072         (special_functions): Use show_exceptions instead of new_test.
51073         (parse_args): Likewise.
51074         (generate_testfile): Pass only function name in generated call to
51075         print_max_error or print_complex_max_error.
51076         (get_ulps): Do not handle complex tests specially.
51077         (output_test): Rename to ...
51078         (get_all_ulps_for_test): ... this.  Return a string rather than
51079         printing to a file.  Require ulps to be present.
51080         (output_ulps): Generate arrays rather than #defines.
51081         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51082         (struct ulp_data): New type.
51083         (BUILD_COMPLEX_ULP): Remove macro.
51084         (compare_ulp_data): New function.
51085         (find_ulps): Likewise.
51086         (find_test_ulps): Likewise.
51087         (find_function_ulps): Likewise.
51088         (find_complex_function_ulps): Likewise.
51089         (print_max_error): Determine allowed ulps using
51090         find_function_ulps.
51091         (print_complex_max_error): Determine allowed ulps using
51092         find_complex_function_ulps.
51093         (check_float_internal): Determine max ulps using find_test_ulps.
51094         (check_float): Do not take max_ulp parameter.  Update call to
51095         check_float_internal.
51096         (check_complex): Likewise.
51097         (check_int): Do not take max_ulp parameter.
51098         (check_long): Likewise.
51099         (check_bool): Likewise.
51100         (check_longlong): Likewise.
51101         (struct test_f_f_data): Remove max_ulp field.
51102         (struct test_ff_f_data): Likewise.
51103         (struct test_ff_f_data_nexttoward): Likewise.
51104         (struct test_fi_f_data): Likewise.
51105         (struct test_fl_f_data): Likewise.
51106         (struct test_if_f_data): Likewise.
51107         (struct test_fff_f_data): Likewise.
51108         (struct test_c_f_data): Likewise.
51109         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51110         (struct test_fF_f1_data): Likewise.
51111         (struct test_ffI_f1_data): Likewise.
51112         (struct test_c_c_data): Remove max_ulp field.
51113         (struct test_cc_c_data): Likewise.
51114         (struct test_f_i_data): Likewise.
51115         (struct test_ff_i_data): Likewise.
51116         (struct test_f_l_data): Likewise.
51117         (struct test_f_L_data): Likewise.
51118         (struct test_sincos_data): Likewise.
51119         (RUN_TEST_f_f): Do not handle ulps.
51120         (RUN_TEST_LOOP_f_f): Likewise.
51121         (RUN_TEST_2_f): Likewise.
51122         (RUN_TEST_LOOP_2_f): Likewise.
51123         (RUN_TEST_fff_f): Likewise.
51124         (RUN_TEST_LOOP_fff_f): Likewise.
51125         (RUN_TEST_c_f): Likewise.
51126         (RUN_TEST_LOOP_c_f): Likewise.
51127         (RUN_TEST_f_f1): Likewise.
51128         (RUN_TEST_LOOP_f_f1): Likewise.
51129         (RUN_TEST_fF_f1): Likewise.
51130         (RUN_TEST_LOOP_fF_f1): Likewise.
51131         (RUN_TEST_fI_f1): Likewise.
51132         (RUN_TEST_LOOP_fI_f1): Likewise.
51133         (RUN_TEST_ffI_f1): Likewise.
51134         (RUN_TEST_LOOP_ffI_f1): Likewise.
51135         (RUN_TEST_c_c): Likewise.
51136         (RUN_TEST_LOOP_c_c): Likewise.
51137         (RUN_TEST_cc_c): Likewise.
51138         (RUN_TEST_LOOP_cc_c): Likewise.
51139         (RUN_TEST_f_i): Likewise.
51140         (RUN_TEST_LOOP_f_i): Likewise.
51141         (RUN_TEST_f_i_tg): Likewise.
51142         (RUN_TEST_LOOP_f_i_tg): Likewise.
51143         (RUN_TEST_ff_i_tg): Likewise.
51144         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51145         (RUN_TEST_f_b): Likewise.
51146         (RUN_TEST_LOOP_f_b): Likewise.
51147         (RUN_TEST_f_b_tg): Likewise.
51148         (RUN_TEST_LOOP_f_b_tg): Likewise.
51149         (RUN_TEST_f_l): Likewise.
51150         (RUN_TEST_LOOP_f_l): Likewise.
51151         (RUN_TEST_f_L): Likewise.
51152         (RUN_TEST_LOOP_f_L): Likewise.
51153         (RUN_TEST_sincos): Likewise.
51154         (RUN_TEST_LOOP_sincos): Likewise.
51156 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51158         [BZ #15480]
51159         [BZ #15485]
51160         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51161         main case of finite arguments, set rounding mode to FE_TONEAREST
51162         and discard exceptions.
51163         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51164         exceptions.
51165         (remainder_tonearest_test_data): New variable.
51166         (remainder_test_tonearest): New function.
51167         (remainder_towardzero_test_data): New variable.
51168         (remainder_test_towardzero): New function.
51169         (remainder_downward_test_data): New variable.
51170         (remainder_test_downward): New function.
51171         (remainder_upward_test_data): New variable.
51172         (remainder_test_upward): New function.
51173         (main): Call the new test functions.
51175         * math/libm-test.inc (struct test_f_f1_data): Remove field
51176         extra_init.
51177         (struct test_fF_f1_data): Likewise.
51178         (struct test_ffI_f1_data): Likewise.
51179         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51180         based on value of EXTRA_EXPECTED.
51181         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51182         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51183         EXTRA_VAR based on value of EXTRA_EXPECTED.
51184         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51185         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51186         EXTRA_VAR based on value of EXTRA_EXPECTED.
51187         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51188         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51189         EXTRA_VAR based on value of EXTRA_EXPECTED.
51190         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51191         * math/gen-libm-test.pl (parse_args): Don't output initializers
51192         for extra output values.
51194         * math/libm-test.inc (check_int): Expect result to be exactly
51195         equal to expected value and do not handle ulps.
51196         (check_long): Likewise.
51197         (check_longlong): Likewise.
51199         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51200         exceptions.
51201         (cimag_test_data): Likewise.
51202         (conj_test_data): Likewise.
51203         (copysign_test_data): Likewise.
51204         (cproj_test_data): Likewise.
51205         (creal_test_data): Likewise.
51206         (fabs_test_data): Likewise.
51207         (fdim_test_data): Likewise.
51208         (finite_test_data): Likewise.
51209         (floor_test_data): Likewise.
51210         (fmax_test_data): Likewise.
51211         (fmin_test_data): Likewise.
51212         (fmod_test_data): Likewise.
51213         (fpclassify_test_data): Likewise.
51214         (frexp_test_data): Likewise.
51215         (ilogb_test_data): Likewise.
51216         (isfinite_test_data): Likewise.
51217         (isgreater_test_data): Likewise.
51218         (isgreaterequal_test_data): Likewise.
51219         (isinf_test_data): Likewise.
51220         (isless_test_data): Likewise.
51221         (islessequal_test_data): Likewise.
51222         (islessgreater_test_data): Likewise.
51223         (isnan_test_data): Likewise.
51224         (isnormal_test_data): Likewise.
51225         (issignaling_test_data): Likewise.
51226         (isunordered_test_data): Likewise.
51227         (ldexp_test_data): Likewise.
51228         (lrint_test_data): Likewise.
51229         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51230         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51231         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51232         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51233         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51234         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51235         test input.
51236         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51237         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51238         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51239         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51240         that test input.
51241         (lrint_downward_test_data): Test for "inexact" exceptions.
51242         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51243         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51244         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51245         test input.
51246         (lrint_upward_test_data): Test for "inexact" exceptions.
51247         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51248         test input.
51249         (llrint_test_data): Test for "inexact" exceptions.
51250         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51251         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51252         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51253         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51254         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51255         (llrint_downward_test_data): Test for "inexact" exceptions.
51256         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51257         (llrint_upward_test_data): Test for "inexact" exceptions.
51258         (logb_test_data): Likewise.
51259         (logb_downward_test_data): Likewise.
51260         (nextafter_test_data): Likewise.
51261         (nexttoward_test_data): Likewise.
51262         (remainder_test_data): Likewise.
51263         (remquo_test_data): Likewise.
51264         (scalbn_test_data): Likewise.
51265         (scalbln_test_data): Likewise.
51266         (signbit_test_data): Likewise.
51267         (sqrt_test_data): Likewise.
51268         (significand_test_data): Likewise.
51270 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51272         [BZ #15424]
51273         * benchtests/bench-modf.c (struct args): Mark arg0 as
51274         volatile.
51275         * scripts/bench.pl: Mark members of struct args as volatile.
51277 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51279         [BZ # 15497]
51280         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51281         negative infinity on POWER6 or lower.
51282         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51284 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51286         [BZ #15442]
51287         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51288         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51289         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51290         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51291         (_FP_SETQNAN): New macro.
51292         (_FP_SETQNAN_SEMIRAW): Likewise.
51293         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51294         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51295         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51296         (FP_EXTEND): Use _FP_FRAC_SNANP.
51297         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51298         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51299         into account.
51300         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51301         New macro.
51302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51303         Likewise.
51305 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51307         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51308         with DIVIDE_BY_ZERO_EXCEPTION.
51309         (gamma_test_data): Likewise.
51310         (lgamma_test_data): Likewise.
51311         (log_test_data): Likewise.
51312         (log10_test_data): Likewise.
51313         (log2_test_data): Likewise.
51314         (tgamma_test_data): Likewise.
51316         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51317         (acos_test_tonearest): Likewise.
51318         (acos_test_towardzero): Likewise.
51319         (acos_test_downward): Likewise.
51320         (acos_test_upward): Likewise.
51321         (acosh_test): Likewise.
51322         (asin_test): Likewise.
51323         (asin_test_tonearest): Likewise.
51324         (asin_test_towardzero): Likewise.
51325         (asin_test_downward): Likewise.
51326         (asin_test_upward): Likewise.
51327         (asinh_test): Likewise.
51328         (atan_test): Likewise.
51329         (atanh_test): Likewise.
51330         (atan2_test): Likewise.
51331         (cabs_test): Likewise.
51332         (cacos_test): Likewise.
51333         (cacosh_test): Likewise.
51334         (casin_test): Likewise.
51335         (casinh_test): Likewise.
51336         (catan_test): Likewise.
51337         (catanh_test): Likewise.
51338         (cbrt_test): Likewise.
51339         (ccos_test): Likewise.
51340         (ccosh_test): Likewise.
51341         (cexp_test): Likewise.
51342         (clog_test): Likewise.
51343         (clog10_test): Likewise.
51344         (cos_test): Likewise.
51345         (cos_test_tonearest): Likewise.
51346         (cos_test_towardzero): Likewise.
51347         (cos_test_downward): Likewise.
51348         (cos_test_upward): Likewise.
51349         (cosh_test): Likewise.
51350         (cosh_test_tonearest): Likewise.
51351         (cosh_test_towardzero): Likewise.
51352         (cosh_test_downward): Likewise.
51353         (cosh_test_upward): Likewise.
51354         (cpow_test): Likewise.
51355         (csin_test): Likewise.
51356         (csinh_test): Likewise.
51357         (csqrt_test): Likewise.
51358         (ctan_test): Likewise.
51359         (ctan_test_tonearest): Likewise.
51360         (ctan_test_towardzero): Likewise.
51361         (ctan_test_downward): Likewise.
51362         (ctan_test_upward): Likewise.
51363         (ctanh_test): Likewise.
51364         (ctanh_test_tonearest): Likewise.
51365         (ctanh_test_towardzero): Likewise.
51366         (ctanh_test_downward): Likewise.
51367         (ctanh_test_upward): Likewise.
51368         (erf_test): Likewise.
51369         (erfc_test): Likewise.
51370         (exp_test): Likewise.
51371         (exp_test_tonearest): Likewise.
51372         (exp_test_towardzero): Likewise.
51373         (exp_test_downward): Likewise.
51374         (exp_test_upward): Likewise.
51375         (exp10_test): Likewise.
51376         (exp2_test): Likewise.
51377         (expm1_test): Likewise.
51378         (fmod_test): Likewise.
51379         (gamma_test): Likewise.
51380         (hypot_test): Likewise.
51381         (j0_test): Likewise.
51382         (j1_test): Likewise.
51383         (jn_test): Likewise.
51384         (lgamma_test): Likewise.
51385         (log_test): Likewise.
51386         (log10_test): Likewise.
51387         (log1p_test): Likewise.
51388         (log2_test): Likewise.
51389         (logb_test_downward): Likewise.
51390         (pow_test): Likewise.
51391         (pow_test_tonearest): Likewise.
51392         (pow_test_towardzero): Likewise.
51393         (pow_test_downward): Likewise.
51394         (pow_test_upward): Likewise.
51395         (remainder_test): Likewise.
51396         (remquo_test): Likewise.
51397         (sin_test): Likewise.
51398         (sin_test_tonearest): Likewise.
51399         (sin_test_towardzero): Likewise.
51400         (sin_test_downward): Likewise.
51401         (sin_test_upward): Likewise.
51402         (sincos_test): Likewise.
51403         (sinh_test): Likewise.
51404         (sinh_test_tonearest): Likewise.
51405         (sinh_test_towardzero): Likewise.
51406         (sinh_test_downward): Likewise.
51407         (sinh_test_upward): Likewise.
51408         (sqrt_test): Likewise.
51409         (tan_test): Likewise.
51410         (tan_test_tonearest): Likewise.
51411         (tan_test_towardzero): Likewise.
51412         (tan_test_downward): Likewise.
51413         (tan_test_upward): Likewise.
51414         (tanh_test): Likewise.
51415         (tgamma_test): Likewise.
51416         (y0_test): Likewise.
51417         (y1_test): Likewise.
51418         (yn_test): Likewise.
51420         * math/gen-libm-test.pl (adjust_arg): Remove function.
51421         (special_function): Remove argument $in_func.  Only handle
51422         generating output for tables of tests, not inside functions.
51423         (parse_args): Likewise.
51424         (generate_testfile): Remove variable $in_func.  Update call to
51425         parse_args.
51426         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51427         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51428         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51429         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51430         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51431         (MAX_VALUE_INIT): Rename macro to max_value.
51432         (MIN_VALUE_INIT): Rename macro to min_value.
51433         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51434         (plus_zero): Remove variable.
51435         (minus_zero): Likewise.
51436         (plus_infty): Likewise.
51437         (minus_infty): Likewise.
51438         (qnan_value): Likewise.
51439         (max_value): Likewise.
51440         (min_value): Likewise.
51441         (min_subnorm_value): Likewise.
51443 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51445         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51446         uint64_t or uint32_t usage.
51447         * crypt/sha256-block.c: Likewise.
51448         * crypt/sha256-crypt.c: Likewise.
51449         * crypt/sha256.c: Likewise.
51450         * crypt/sha512-block.c: Likewise.
51451         * crypt/sha512-crypt.c: Likewise.
51452         * crypt/sha512.c: Likewise.
51453         * debug/backtrace-tst.c: Likewise.
51454         * debug/pcprofiledump.c: Likewise.
51455         * elf/cache.c: Likewise.
51456         * elf/dl-cache.c: Likewise.
51457         * elf/dl-misc.c: Likewise.
51458         * elf/dl-profile.c: Likewise.
51459         * elf/dl-support.c: Likewise.
51460         * elf/ldconfig.c: Likewise.
51461         * elf/sprof.c: Likewise.
51462         * iconv/dummy-repertoire.c: Likewise.
51463         * iconv/iconv_charmap.c: Likewise.
51464         * iconv/skeleton.c: Likewise.
51465         * iconvdata/8bit-generic.c: Likewise.
51466         * iconvdata/cp737.h: Likewise.
51467         * iconvdata/cp775.h: Likewise.
51468         * iconvdata/ibm1008.h: Likewise.
51469         * iconvdata/ibm1025.h: Likewise.
51470         * iconvdata/ibm1046.h: Likewise.
51471         * iconvdata/ibm1097.h: Likewise.
51472         * iconvdata/ibm1112.h: Likewise.
51473         * iconvdata/ibm1122.h: Likewise.
51474         * iconvdata/ibm1123.h: Likewise.
51475         * iconvdata/ibm1124.h: Likewise.
51476         * iconvdata/ibm1129.h: Likewise.
51477         * iconvdata/ibm1130.h: Likewise.
51478         * iconvdata/ibm1132.h: Likewise.
51479         * iconvdata/ibm1133.h: Likewise.
51480         * iconvdata/ibm1137.h: Likewise.
51481         * iconvdata/ibm1140.h: Likewise.
51482         * iconvdata/ibm1141.h: Likewise.
51483         * iconvdata/ibm1142.h: Likewise.
51484         * iconvdata/ibm1143.h: Likewise.
51485         * iconvdata/ibm1144.h: Likewise.
51486         * iconvdata/ibm1145.h: Likewise.
51487         * iconvdata/ibm1146.h: Likewise.
51488         * iconvdata/ibm1147.h: Likewise.
51489         * iconvdata/ibm1148.h: Likewise.
51490         * iconvdata/ibm1149.h: Likewise.
51491         * iconvdata/ibm1153.h: Likewise.
51492         * iconvdata/ibm1154.h: Likewise.
51493         * iconvdata/ibm1155.h: Likewise.
51494         * iconvdata/ibm1156.h: Likewise.
51495         * iconvdata/ibm1157.h: Likewise.
51496         * iconvdata/ibm1158.h: Likewise.
51497         * iconvdata/ibm1160.h: Likewise.
51498         * iconvdata/ibm1161.h: Likewise.
51499         * iconvdata/ibm1162.h: Likewise.
51500         * iconvdata/ibm1163.h: Likewise.
51501         * iconvdata/ibm1164.h: Likewise.
51502         * iconvdata/ibm1166.h: Likewise.
51503         * iconvdata/ibm1167.h: Likewise.
51504         * iconvdata/ibm12712.h: Likewise.
51505         * iconvdata/ibm1390.h: Likewise.
51506         * iconvdata/ibm1399.h: Likewise.
51507         * iconvdata/ibm16804.h: Likewise.
51508         * iconvdata/ibm4517.h: Likewise.
51509         * iconvdata/ibm4899.h: Likewise.
51510         * iconvdata/ibm4909.h: Likewise.
51511         * iconvdata/ibm4971.h: Likewise.
51512         * iconvdata/ibm5347.h: Likewise.
51513         * iconvdata/ibm803.h: Likewise.
51514         * iconvdata/ibm856.h: Likewise.
51515         * iconvdata/ibm901.h: Likewise.
51516         * iconvdata/ibm902.h: Likewise.
51517         * iconvdata/ibm9030.h: Likewise.
51518         * iconvdata/ibm9066.h: Likewise.
51519         * iconvdata/ibm921.h: Likewise.
51520         * iconvdata/ibm922.h: Likewise.
51521         * iconvdata/ibm9448.h: Likewise.
51522         * iconvdata/isiri-3342.h: Likewise.
51523         * iconvdata/jis0201.h: Likewise.
51524         * include/link.h: Likewise.
51525         * include/netdb.h: Likewise.
51526         * inet/check_native.c: Likewise.
51527         * inet/check_pf.c: Likewise.
51528         * inet/getipv4sourcefilter.c: Likewise.
51529         * inet/getnameinfo.c: Likewise.
51530         * inet/getsourcefilter.c: Likewise.
51531         * inet/htonl.c: Likewise.
51532         * inet/setipv4sourcefilter.c: Likewise.
51533         * inet/setsourcefilter.c: Likewise.
51534         * inet/test-inet6_opt.c: Likewise.
51535         * inet/tst-network.c: Likewise.
51536         * locale/C-collate.c: Likewise.
51537         * locale/C-ctype.c: Likewise.
51538         * locale/C-time.c: Likewise.
51539         * locale/C-translit.h: Likewise.
51540         * locale/loadarchive.c: Likewise.
51541         * locale/programs/3level.h: Likewise.
51542         * locale/programs/charmap.c: Likewise.
51543         * locale/programs/charmap.h: Likewise.
51544         * locale/programs/ld-address.c: Likewise.
51545         * locale/programs/ld-collate.c: Likewise.
51546         * locale/programs/ld-ctype.c: Likewise.
51547         * locale/programs/ld-identification.c: Likewise.
51548         * locale/programs/ld-measurement.c: Likewise.
51549         * locale/programs/ld-messages.c: Likewise.
51550         * locale/programs/ld-monetary.c: Likewise.
51551         * locale/programs/ld-name.c: Likewise.
51552         * locale/programs/ld-numeric.c: Likewise.
51553         * locale/programs/ld-paper.c: Likewise.
51554         * locale/programs/ld-telephone.c: Likewise.
51555         * locale/programs/ld-time.c: Likewise.
51556         * locale/programs/linereader.c: Likewise.
51557         * locale/programs/locale.c: Likewise.
51558         * locale/programs/locarchive.c: Likewise.
51559         * locale/programs/locfile.h: Likewise.
51560         * locale/programs/repertoire.c: Likewise.
51561         * locale/programs/simple-hash.c: Likewise.
51562         * locale/programs/simple-hash.h: Likewise.
51563         * malloc/memusage.c: Likewise.
51564         * malloc/memusagestat.c: Likewise.
51565         * nis/nis_defaults.c: Likewise.
51566         * nis/nis_hash.c: Likewise.
51567         * nis/nis_print.c: Likewise.
51568         * nis/nis_xdr.c: Likewise.
51569         * nscd/connections.c: Likewise.
51570         * nscd/hstcache.c: Likewise.
51571         * nscd/nscd_gethst_r.c: Likewise.
51572         * nscd/nscd_getserv_r.c: Likewise.
51573         * nscd/nscd_helper.c: Likewise.
51574         * nscd/servicescache.c: Likewise.
51575         * nss/makedb.c: Likewise.
51576         * nss/nss_db/db-XXX.c: Likewise.
51577         * nss/nss_db/db-initgroups.c: Likewise.
51578         * nss/nss_db/db-netgrp.c: Likewise.
51579         * nss/nss_files/files-network.c: Likewise.
51580         * nss/nss_files/files-parse.c: Likewise.
51581         * posix/bug-regex5.c: Likewise.
51582         * posix/fnmatch_loop.c: Likewise.
51583         * posix/regcomp.c: Likewise.
51584         * posix/regexec.c: Likewise.
51585         * posix/tst-rfc3484-2.c: Likewise.
51586         * posix/tst-rfc3484-3.c: Likewise.
51587         * posix/tst-rfc3484.c: Likewise.
51588         * resolv/nss_dns/dns-canon.c: Likewise.
51589         * resolv/nss_dns/dns-network.c: Likewise.
51590         * resolv/res_init.c: Likewise.
51591         * resolv/res_mkquery.c: Likewise.
51592         * resolv/tst-aton.c: Likewise.
51593         * stdlib/cxa_atexit.c: Likewise.
51594         * stdlib/cxa_finalize.c: Likewise.
51595         * stdlib/gen-fpioconst.c: Likewise.
51596         * stdlib/strtol_l.c: Likewise.
51597         * string/tst-endian.c: Likewise.
51598         * sunrpc/auth_des.c: Likewise.
51599         * sunrpc/clnt_udp.c: Likewise.
51600         * sunrpc/rtime.c: Likewise.
51601         * sunrpc/svcauth_des.c: Likewise.
51602         * sunrpc/xdr.c: Likewise.
51603         * sunrpc/xdr_intXX_t.c: Likewise.
51604         * sunrpc/xdr_rec.c: Likewise.
51605         * sysdeps/generic/ldconfig.h: Likewise.
51606         * sysdeps/generic/ldsodefs.h: Likewise.
51607         * sysdeps/generic/memusage.h: Likewise.
51608         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51609         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51610         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51611         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51612         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51614         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51618         * sysdeps/posix/getaddrinfo.c: Likewise.
51619         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51621         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51622         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51623         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51624         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51625         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51626         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51627         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51628         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51629         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51630         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51631         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51632         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51633         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51634         * sysdeps/x86_64/dl-tls.h: Likewise.
51635         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51636         * time/alt_digit.c: Likewise.
51637         * time/era.c: Likewise.
51638         * wcsmbs/tst-c16c32-1.c: Likewise.
51640 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51642         * math/libm-test.inc (struct test_sincos_data): New type.
51643         (RUN_TEST_LOOP_sincos): New macro.
51644         (sincos_test_data): New variable.
51645         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51647 2013-05-16  Richard Henderson  <rth@redhat.com>
51649         * math/atest-exp2.c (LIMB64): New macro.
51650         (CONSTSZ): New macro.
51651         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51652         (hexdig): Move ...
51653         (print_mpn_fp): ... to function scope.
51654         (read_mpn_hex): Remove.
51655         (get_log2): Remove.
51656         (exp2_mpn): Use mp_log2.
51657         (main): Use mp_exp1.
51659 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51661         * math/libm-test.inc: Remove comment about not testing "inexact"
51662         exceptions.
51663         (INEXACT_EXCEPTION): New macro.
51664         (NO_INEXACT_EXCEPTION): Likewise.
51665         (INVALID_EXCEPTION_OK): Update value.
51666         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51667         (OVERFLOW_EXCEPTION_OK): Likewise.
51668         (UNDERFLOW_EXCEPTION_OK): Likewise.
51669         (IGNORE_ZERO_INF_SIGN): Likewise.
51670         (ERRNO_UNCHANGED): Likewise.
51671         (ERRNO_EDOM): Likewise.
51672         (ERRNO_ERANGE): Likewise.
51673         (test_exceptions): Handle testing "inexact" exceptions.
51674         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51675         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51676         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51677         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51678         INEXACT_EXCEPTION.
51679         (rint_towardzero_test_data): Likewise.
51680         (rint_downward_test_data): Likewise.
51681         (rint_upward_test_data): Likewise.
51683         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51684         with OVERFLOW_EXCEPTION.
51685         (exp10_test_data): Likewise.
51686         (exp2_test_data): Likewise.
51687         (expm1_test_data): Likewise.
51688         (lgamma_test_data): Likewise.
51689         (pow_test_data): Likewise.
51690         (tgamma_test_data): Likewise.
51691         (yn_test_data): Remove duplicate test of overflow.
51693         * math/libm-test.inc (struct test_cc_c_data): New type.
51694         (RUN_TEST_LOOP_cc_c): New macro.
51695         (cpow_test_data): New variable.
51696         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51698         * math/libm-test.inc (struct test_f_L_data): New type.
51699         (RUN_TEST_LOOP_f_L): New macro.
51700         (llrint_test_data): New variable.
51701         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51702         (llrint_tonearest_test_data): New variable.
51703         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51704         (llrint_towardzero_test_data): New variable.
51705         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51706         (llrint_downward_test_data): New variable.
51707         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51708         (llrint_upward_test_data): New variable.
51709         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51710         (llround_test_data): New variable.
51711         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51713 2013-05-13  Peter Collingbourne  <pcc@google.com>
51715         * math/atest-exp2.c (get_log2): Remove const attribute.
51717 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51719         * math/libm-test.inc (struct test_f_l_data): New type.
51720         (RUN_TEST_LOOP_f_l): New macro.
51721         (lrint_test_data): New variable.
51722         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51723         (lrint_tonearest_test_data): New variable.
51724         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51725         (lrint_towardzero_test_data): New variable.
51726         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51727         (lrint_downward_test_data): New variable.
51728         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51729         (lrint_upward_test_data): New variable.
51730         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51731         (lround_test_data): New variable.
51732         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51734 2013-05-15  Peter Collingbourne  <pcc@google.com>
51736         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51737         (EXTRACT_WORDS64) Use where appropriate.
51738         (INSERT_WORDS64) Likewise.
51740         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51741         constraints with x constraints.
51742         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51744         * malloc/obstack.c (_obstack_compat): Add initializer.
51746 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51749         si_trapno and add si_addr_lsb to _sifields.sigfault.
51750         (si_trapno): Remove macro.
51751         (si_addr_lsb): Define new macro.
51752         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51754 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51756         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51757         instead of TEST_f_l.
51758         (llrint_test_tonearest): Likewise.
51759         (llrint_test_towardzero): Likewise.
51760         (llrint_test_downward): Likewise.
51761         (llrint_test_upward): Likewise.
51762         (llround_test): Likewise.
51764         * math/libm-test.inc (struct test_f_i_data): Add comment.
51765         (RUN_TEST_LOOP_f_b): New macro.
51766         (RUN_TEST_LOOP_f_b_tg): Likewise.
51767         (finite_test_data): New variable.
51768         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51769         (isfinite_test_data): New variable.
51770         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51771         (isinf_test_data): New variable.
51772         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51773         (isnan_test_data): New variable.
51774         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51775         (isnormal_test_data): New variable.
51776         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51777         (issignaling_test_data): New variable.
51778         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51779         (signbit_test_data): New variable.
51780         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51782         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51783         with INVALID_EXCEPTION.
51784         (acosh_test_data): Likewise.
51785         (asin_test_data): Likewise.
51786         (atanh_test_data): Likewise.
51787         (fmod_test_data): Likewise.
51788         (log_test_data): Likewise.
51789         (log10_test_data): Likewise.
51790         (log2_test_data): Likewise.
51791         (pow_test_data): Likewise.
51792         (sqrt_test_data): Likewise.
51793         (y0_test_data): Likewise.
51794         (y1_test_data): Likewise.
51795         (yn_test_data): Likewise.
51797         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51798         function contents.
51800         * math/libm-test.inc (struct test_ff_i_data): New type.
51801         (RUN_TEST_LOOP_ff_i_tg): New macro.
51802         (isgreater_test_data): New variable.
51803         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51804         (isgreaterequal_test_data): New variable.
51805         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51806         (isless_test_data): New variable.
51807         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51808         (islessequal_test_data): New variable.
51809         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51810         (islessgreater_test_data): New variable.
51811         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51812         (isunordered_test_data): New variable.
51813         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51815 2013-05-14  David S. Miller  <davem@davemloft.net>
51817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51819 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51821         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51823         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51824         extra_test to int.
51825         (struct test_f_i_data): Change type of max_ulp to int.
51827         * math/libm-test.inc (test_ffI_f1_data): New type.
51828         (RUN_TEST_LOOP_ffI_f1): New macro.
51829         (remquo_test_data): New variable.
51830         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51832         * setjmp/tst-setjmp-fp.c: New file.
51833         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51834         (link-libm): New variable.
51835         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51837         * math/libm-test.inc (struct test_f_i_data): New type.
51838         (RUN_TEST_LOOP_f_i): New macro.
51839         (RUN_TEST_LOOP_f_i_tg): Likewise.
51840         (fpclassify_test_data): New variable.
51841         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51842         (ilogb_test_data): New variable.
51843         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51845         * math/libm-test.inc (scalbln_test): Correct function name in END
51846         call.
51848         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51849         (RUN_TEST_LOOP_fI_f1): New macro.
51850         (frexp_test_data): New variable.
51851         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51853         * math/libm-test.inc (struct test_fF_f1_data): New type.
51854         (RUN_TEST_LOOP_fF_f1): New macro.
51855         (modf_test_data): New variable.
51856         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51858         * math/libm-test.inc (struct test_f_f1_data): New type.
51859         (RUN_TEST_LOOP_f_f1): New macro.
51860         (gamma_test_data): New variable.
51861         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51862         (lgamma_test_data): New variable.
51863         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51865 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51867         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51868         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51869         (main): Comment "tls" pseudo-hwcap.
51871 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51873         * math/libm-test.inc (struct test_fl_f_data): New type.
51874         (RUN_TEST_LOOP_fl_f): New variable.
51875         (scalbln_test_data): New variable.
51876         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51878         * math/libm-test.inc (struct test_fi_f_data): New type.
51879         (RUN_TEST_LOOP_fi_f): New macro.
51880         (ldexp_test_data): New variable.
51881         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51882         (scalbn_test_data): New variable.
51883         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51885         * math/libm-test.inc (struct test_c_f_data): New type.
51886         (RUN_TEST_LOOP_c_f): New macro.
51887         (cabs_test_data): New variable.
51888         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51889         (carg_test_data): New variable.
51890         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51891         (cimag_test_data): New variable.
51892         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51893         (creal_test_data): New variable.
51894         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51896         * math/libm-test.inc (struct test_if_f_data): New type.
51897         (RUN_TEST_LOOP_if_f): New macro.
51898         (jn_test_data): New variable.
51899         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51900         (yn_test_data): New variable.
51901         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51903         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51905 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51907         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51908         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51910 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51912         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51913         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51914         (bench-deps): Add bench-timing.h.
51915         * benchtests-bench-skeleton.c: Include bench-timing.h.
51916         (main): Use TIMING_* macros instead of clock_gettime.
51917         * benchtests/bench-timing.h: New file.
51919         [BZ #14582]
51920         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51921         Renamed from _LIB_VERSION.
51922         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51924 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51926         * math/libm-test.inc (struct test_fff_f_data): New type.
51927         (RUN_TEST_LOOP_fff_f): New macro.
51928         (fma_test_data): New variable.
51929         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51930         (fma_towardzero_test_data): New variable.
51931         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51932         (fma_downward_test_data): New variable.
51933         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51934         (fma_upward_test_data): New variable.
51935         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51937         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51938         (struct test_c_c_data): New type.
51939         (RUN_TEST_LOOP_c_c): New macro.
51940         (cacos_test_data): New variable.
51941         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51942         (cacosh_test_data): New variable.
51943         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51944         (casin_test_data): New variable.
51945         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51946         (casinh_test_data): New variable.
51947         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51948         (catan_test_data): New variable.
51949         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51950         (catanh_test_data): New variable.
51951         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51952         (ccos_test_data): New variable.
51953         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51954         (ccosh_test_data): New variable.
51955         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51956         (cexp_test_data): New variable.
51957         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51958         (clog_test_data): New variable.
51959         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51960         (clog10_test_data): New variable.
51961         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51962         (conj_test_data): New variable.
51963         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51964         (cproj_test_data): New variable.
51965         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51966         (csin_test_data): New variable.
51967         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51968         (csinh_test_data): New variable.
51969         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51970         (csqrt_test_data): New variable.
51971         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51972         (ctan_test_data): New variable.
51973         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51974         (ctan_tonearest_test_data): New variable.
51975         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51976         (ctan_towardzero_test_data): New variable.
51977         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51978         (ctan_downward_test_data): New variable.
51979         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51980         (ctan_upward_test_data): New variable.
51981         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51982         (ctanh_test_data): New variable.
51983         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51984         (ctanh_tonearest_test_data): New variable.
51985         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51986         (ctanh_towardzero_test_data): New variable.
51987         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51988         (ctanh_downward_test_data): New variable.
51989         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51990         (ctanh_upward_test_data): New variable.
51991         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51992         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51993         of BUILD_COMPLEX.
51995         * math/libm-test.inc (struct test_ff_f_data): New type.
51996         (struct test_ff_f_data_nexttoward): Likewise.
51997         (RUN_TEST_LOOP_2_f): New macro.
51998         (RUN_TEST_LOOP_ff_f): Likewise.
51999         (atan2_test_data): New variable.
52000         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52001         (copysign_test_data): New variable.
52002         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52003         (fdim_test_data): New variable.
52004         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52005         (fmax_test_data): New variable.
52006         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52007         (fmin_test_data): New variable.
52008         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52009         (fmod_test_data): New variable.
52010         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52011         (hypot_test_data): New variable.
52012         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52013         (nextafter_test_data): New variable.
52014         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52015         (nexttoward_test_data): New variable.
52016         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52017         (pow_test_data): New variable.
52018         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52019         (pow_tonearest_test_data): New variable.
52020         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52021         (pow_towardzero_test_data): New variable.
52022         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52023         (pow_downward_test_data): New variable.
52024         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52025         (pow_upward_test_data): New variable.
52026         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52027         (remainder_test_data): New variable.
52028         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52029         (scalb_test_data): New variable.
52030         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52031         * sysdeps/i386/fpu/libm-test-ulps: Update.
52033 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52035         * math/libm-test.inc (fma_test): Use max_value instead of local
52036         variable fltmax.
52037         (nextafter_test): Likewise.
52039         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52040         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52041         (acos_downward_test_data): New variable.
52042         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52043         (acos_upward_test_data): New variable.
52044         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52045         (acosh_test_data): New variable.
52046         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52047         (asin_test_data): New variable.
52048         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52049         (asin_tonearest_test_data): New variable.
52050         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52051         (asin_towardzero_test_data): New variable.
52052         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52053         (asin_downward_test_data): New variable.
52054         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52055         (asin_upward_test_data): New variable.
52056         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52057         (asinh_test_data): New variable.
52058         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52059         (atan_test_data): New variable.
52060         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52061         (atanh_test_data): New variable.
52062         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52063         (cbrt_test_data): New variable.
52064         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52065         (ceil_test_data): New variable.
52066         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52067         (cos_test_data): New variable.
52068         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52069         (cos_tonearest_test_data): New variable.
52070         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52071         (cos_towardzero_test_data): New variable.
52072         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52073         (cos_downward_test_data): New variable.
52074         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52075         (cos_upward_test_data): New variable.
52076         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52077         (cosh_test_data): New variable.
52078         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52079         (cosh_tonearest_test_data): New variable.
52080         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52081         (cosh_towardzero_test_data): New variable.
52082         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52083         (cosh_downward_test_data): New variable.
52084         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52085         (cosh_upward_test_data): New variable.
52086         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52087         (erf_test_data): New variable.
52088         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52089         (erfc_test_data): New variable.
52090         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52091         (exp_test_data): New variable.
52092         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52093         (exp_tonearest_test_data): New variable.
52094         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52095         (exp_towardzero_test_data): New variable.
52096         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52097         (exp_downward_test_data): New variable.
52098         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52099         (exp_upward_test_data): New variable.
52100         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52101         (exp10_test_data): New variable.
52102         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52103         (exp2_test_data): New variable.
52104         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52105         (expm1_test_data): New variable.
52106         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52107         (fabs_test_data): New variable.
52108         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52109         (floor_test_data): New variable.
52110         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52111         (j0_test_data): New variable.
52112         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52113         (j1_test_data): New variable.
52114         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52115         (log_test_data): New variable.
52116         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52117         (log10_test_data): New variable.
52118         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52119         (log1p_test_data): New variable.
52120         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52121         (log2_test_data): New variable.
52122         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52123         (logb_test_data): New variable.
52124         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52125         (logb_downward_test_data): New variable.
52126         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52127         (nearbyint_test_data): New variable.
52128         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52129         (rint_test_data): New variable.
52130         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52131         (rint_tonearest_test_data): New variable.
52132         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52133         (rint_towardzero_test_data): New variable.
52134         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52135         (rint_downward_test_data): New variable.
52136         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52137         (rint_upward_test_data): New variable.
52138         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52139         (round_test_data): New variable.
52140         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52141         (sin_test_data): New variable.
52142         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52143         (sin_tonearest_test_data): New variable.
52144         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52145         (sin_towardzero_test_data): New variable.
52146         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52147         (sin_downward_test_data): New variable.
52148         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52149         (sin_upward_test_data): New variable.
52150         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52151         (sinh_test_data): New variable.
52152         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52153         (sinh_tonearest_test_data): New variable.
52154         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52155         (sinh_towardzero_test_data): New variable.
52156         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52157         (sinh_downward_test_data): New variable.
52158         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52159         (sinh_upward_test_data): New variable.
52160         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52161         (sqrt_test_data): New variable.
52162         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52163         (tan_test_data): New variable.
52164         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52165         (tan_tonearest_test_data): New variable.
52166         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52167         (tan_towardzero_test_data): New variable.
52168         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52169         (tan_downward_test_data): New variable.
52170         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52171         (tan_upward_test_data): New variable.
52172         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52173         (tanh_test_data): New variable.
52174         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52175         (tgamma_test_data): New variable.
52176         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52177         (trunc_test_data): New variable.
52178         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52179         (y0_test_data): New variable.
52180         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52181         (y1_test_data): New variable.
52182         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52183         (significand_test_data): New variable.
52184         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52186 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52188         [BZ #12387]
52189         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52191 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52193         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52195 2013-05-10  Andreas Jaeger  <aj@suse.de>
52197         [BZ #15448]
52198         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52199         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52201 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52203         * math/gen-libm-test.pl (adjust_arg): New function.
52204         (special_functions): Handle generating output in both functions
52205         and arrays.
52206         (parse_args): Likewise.
52207         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52208         $in_func argument to parse_args.
52209         * math/libm-test.inc (struct test_f_f_data): New type.
52210         (IF_ROUND_INIT_): New macro.
52211         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52212         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52213         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52214         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52215         (ROUND_RESTORE_): Likewise.
52216         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52217         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52218         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52219         (ROUND_RESTORE_FE_UPWARD): Likewise.
52220         (RUN_TEST_LOOP_f_f): New macro.
52221         (acos_test_data): New variable.
52222         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52223         (acos_tonearest_test_data): New variable.
52224         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52226 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52228         * benchtests/bench-skeleton.c (startup): Fix coding style.
52230 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52232         [BZ #6809]
52233         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52234         negative infinity argument.
52235         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52236         negative infinity argument.
52237         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52238         negative infinity argument.
52239         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52240         domain errors.
52242 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52244         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52245         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52246         * iconv/iconv_prog.c (main): Likewise.
52247         * locale/programs/charmap-dir.c (charmap_readdir)
52248         (fopen_uncompressed): Likewise.
52249         * locale/programs/locfile.c (siblings_uncached)
52250         (write_locale_data): Use lstat64 instead of lstat.
52251         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52252         stat.
52254 2013-05-10  Andreas Jaeger  <aj@suse.de>
52256         [BZ #15395]
52257         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52258         localization.
52259         Include <locale.h>.
52261 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52263         * elf/dl-close.c (_dl_close_worker): Add comments.
52265 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52267         [BZ #15359]
52268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52269         high part of pi/2.
52270         (__ieee754_rem_pio2l): Update comments.
52272         [BZ #15429]
52273         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52274         high part of pi/2.
52275         (__ieee754_rem_pio2l): Update comments.
52277         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52278         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52280         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52281         M_PI_4l.
52283         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52284         (M_PI_34_LOG10El): Likewise.
52285         (M_PI2_LOG10El): Likewise.
52286         (M_PI4_LOG10El): Likewise.
52287         (M_PI_LOG10El): Likewise.
52289 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52293 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52295         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52296         (MINUS_ZERO_INIT): Likewise.
52297         (PLUS_INFTY_INIT): Likewise.
52298         (MINUS_INFTY_INIT): Likewise.
52299         (QNAN_VALUE_INIT): Likewise.
52300         (MAX_VALUE_INIT): Likewise.
52301         (MIN_VALUE_INIT): Likewise.
52302         (MIN_SUBNORM_VALUE_INIT): Likewise.
52303         (plus_zero): Initialize with PLUS_ZERO_INIT.
52304         (minus_zero): Initialize with MINUS_ZERO_INIT.
52305         (plus_infty): Initialize with PLUS_INFTY_INIT.
52306         (minus_infty): Initialize with MINUS_INFTY_INIT.
52307         (qnan_value): Initialize with QNAN_VALUE_INIT.
52308         (max_value): Initialize with MAX_VALUE_INIT.
52309         (min_value): Initialize with MIN_VALUE_INIT.
52310         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52312         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52313         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52314         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52315         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52317         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52318         (RUN_TEST_2_f): Likewise.
52319         (RUN_TEST_ff_f): Likewise.
52320         (RUN_TEST_fi_f): Likewise.
52321         (RUN_TEST_fl_f): Likewise.
52322         (RUN_TEST_fff_f): Likewise.
52323         (RUN_TEST_c_f): Likewise.
52324         (RUN_TEST_f_f1): Likewise.
52325         (RUN_TEST_fF_f1): Likewise.
52326         (RUN_TEST_fI_f1): Likewise.
52327         (RUN_TEST_ffI_f1): Likewise.
52328         (RUN_TEST_c_c): Likewise.
52329         (RUN_TEST_cc_c): Likewise.
52330         (RUN_TEST_f_i): Likewise.
52331         (RUN_TEST_f_i_tg): Likewise.
52332         (RUN_TEST_ff_i_tg): Likewise.
52333         (RUN_TEST_f_b): Likewise.
52334         (RUN_TEST_f_b_tg): Likewise.
52335         (RUN_TEST_f_l): Likewise.
52336         (RUN_TEST_f_L): Likewise.
52337         (RUN_TEST_sincos): Likewise.
52338         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52339         whether to show exceptions.  Do not include ");\n" in return
52340         value.
52341         (special_functions): Output call to RUN_TEST_sincos instead of
52342         check_float calls.  Update calls to new_test.
52343         (parse_args): Output call to single RUN_TEST_* macro instead of
52344         check_* calls and other assignments.  Update calls to new_test.
52346         [BZ #2546]
52347         [BZ #2560]
52348         [BZ #5159]
52349         [BZ #15426]
52350         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52351         input to result for tgamma overflow.
52352         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52353         (gamma_coeff): New variable.
52354         (NCOEFF): New macro.
52355         (gamma_positive): New function.
52356         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52357         underflow here.  Use gamma_positive instead of exp (lgamma) for
52358         other arguments.
52359         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52360         (gamma_coeff): New variable.
52361         (NCOEFF): New macro.
52362         (gammaf_positive): New function.
52363         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52364         underflow here.  Use gamma_positive instead of exp (lgamma) for
52365         other arguments.
52366         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52367         (gamma_coeff): New variable.
52368         (NCOEFF): New macro.
52369         (gammal_positive): New function.
52370         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52371         underflow here.  Use gamma_positive instead of exp (lgamma) for
52372         other arguments.
52373         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52374         (gamma_coeff): New variable.
52375         (NCOEFF): New macro.
52376         (gammal_positive): New function.
52377         (__ieee754_gammal_r): Handle positive infinity, overflow and
52378         underflow here.  Handle NaN the same as positive infinity.  Remove
52379         check x < 0xffffffff for negative integers.  Use gamma_positive
52380         instead of exp (lgamma) for other arguments.
52381         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52382         (gamma_coeff): New variable.
52383         (NCOEFF): New macro.
52384         (gammal_positive): New function.
52385         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52386         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52387         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52388         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52389         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52390         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52391         * sysdeps/generic/math_private.h (__gamma_productf): New
52392         prototype.
52393         (__gamma_product): Likewise.
52394         (__gamma_productl): Likewise.
52395         * math/Makefile (libm-calls): Add gamma_product.
52396         * math/libm-test.inc (tgamma_test): Add more tests.
52397         * sysdeps/i386/fpu/libm-test-ulps: Update.
52398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52400 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52402         * benchtests/bench-skeleton.c (main): Preheat CPU.
52404 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52406         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52408 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52410         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52411         and _dl_skip_args_internal.
52413 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52415         * manual/message.texi (Message Translation): Talk about users.
52416         Message to key mapping impacts design.
52418 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52420         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52422         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52424         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52425         * sysdeps/wordsize-64/glob64.c: ... here.
52427         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52428         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52429         New macros.
52431         * debug/getlogin_r_chk.c: Moved to ...
52432         * login/getlogin_r_chk.c: ... here.
52433         * debug/Makefile (routines): Move getlogin_r_chk to ...
52434         * login/Makefile (routines): ... here.
52435         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52436         * login/Versions (libc: GLIBC_2.4): ... here.
52438         * io/poll.c (__poll): Renamed from poll.
52439         Add libc_hidden_def.
52440         (poll): Define as weak alias.
52442         * debug/ptsname_r_chk.c: Moved to ...
52443         * login/ptsname_r_chk.c: ... here.
52444         * debug/Makefile (routines): Move ptsname_r_chk to ...
52445         * login/Makefile (routines): ... here.
52446         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52447         * login/Versions (libc: GLIBC_2.4): ... here.
52449         * posix/getlogin.c: Moved to ...
52450         * login/getlogin.c: ... here.
52451         * posix/getlogin_r.c: Moved to ...
52452         * login/getlogin_r.c: ... here.
52453         * posix/getlogin_r.c: Moved to ...
52454         * login/getlogin_r.c: ... here.
52455         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52456         * login/Makefile (routines): ... here.
52457         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52458         * login/Versions (libc: GLIBC_2.0): ... here.
52460         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52461         (setrlimit): Define as weak alias.
52463         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52464         Call __ names for open, ftruncate, and close.
52465         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52466         (truncate): Define as weak alias.
52468 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52470         * math/gen-libm-test.pl (parse_args): Initialize x before each
52471         test of frexp, modf and remquo.
52473         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52474         test signgam value.
52476 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52478         [BZ #15418]
52479         [BZ #15419]
52480         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52481         internal tests.
52482         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52484 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52486         * elf/dl-writev.h: New file.
52487         * elf/dl-misc.c: Include it.
52488         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52489         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52491 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52493         * math/libm-test.inc (noXFails): Remove variable.
52494         (noXPasses): Likewise.
52495         (BUILD_COMPLEX_INT): Remove macro.
52496         (print_screen): Remove xfail argument.
52497         (print_screen_max_error): Likewise.
52498         (update_stats): Likewise.
52499         (print_max_error): Likewise.  Update calls to other affected
52500         functions.
52501         (print_complex_max_error): Likewise.
52502         (test_single_exception): Update calls to print_screen.
52503         (test_single_errno): Likewise.
52504         (check_float_internal): Remove xfail argument.  Update calls to
52505         other affected functions.
52506         (check_float): Likewise.
52507         (check_complex): Likewise.
52508         (check_int): Likewise.
52509         (check_long): Likewise.
52510         (check_bool): Likewise.
52511         (check_longlong): Likewise.
52512         (main): Don't print noXFails and noXPasses.
52513         * math/gen-libm-test.pl (top level): Don't mention expected
52514         failure handling in comment.
52515         (new_test): Don't handle expected failures.
52516         (parse_args): Don't mention expected failure handling in comment.
52517         (generate_testfile): Don't handle expected failures.
52518         (parse_ulps): Likewise.
52519         (print_ulps_file): Likewise.
52520         (get_failure): Remove function.
52521         (output_test): Don't handle expected failures.
52522         * make/README.libm-test: Don't mention expected failure handling.
52524         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52525         (minus_zero): Likewise.
52526         (plus_infty): Likewise.
52527         (minus_infty): Likewise.
52528         (qnan_value): Likewise.
52529         (max_value): Likewise.
52530         (min_value): Likewise.
52531         (min_subnorm_value): Likewise.
52532         (initialize): Do not initialize those variables dynamically.
52534 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52536         * io/open.c (__open_2): Moved to ...
52537         * io/open_2.c: ... this new file.
52538         * io/open64.c (__open64_2): Moved to ...
52539         * io/open64_2.c: ... this new file.
52540         * io/openat.c (__openat_2): Moved to ...
52541         * io/openat_2.c: ... this new file.
52542         * io/openat64.c (__openat64_2): Moved to ...
52543         * io/openat64_2.c: ... this new file.
52544         * io/Makefile (routines): Add them.
52545         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52546         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52547         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52548         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52549         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52550         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52551         (__openat64): Add hidden_ver.
52552         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52553         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52555         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52556         Separately conditionalize setting of GLRO(dl_sysinfo) so
52557         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52558         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52560 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52563         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52564         definition.
52565         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52566         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52567         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52568         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52569         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52571 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52573         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52574         test signgam value.
52576         * math/libm-test.inc (hypot_test): Do not use
52577         IGNORE_ZERO_INF_SIGN.
52579 2013-05-03  Andreas Jaeger  <aj@suse.de>
52581         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52582         Linux 3.9.
52583         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52584         (PF_MAX): Adjust for VSOCK change.
52586 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52590 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52592         [BZ #15264]
52593         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52594         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52595         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52597 2013-05-02  David S. Miller  <davem@davemloft.net>
52599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52601 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52603         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52605 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52607         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52609 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52611         [BZ #14952]
52612         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52613         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52614         Use __attribute__ ((__gnu_inline__)).
52615         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52616         Don't use __attribute__ ((__gnu_inline__)).
52618 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52620         [BZ #15423]
52621         * math/s_catan.c (__catan): Handle small real or imaginary part of
52622         input specially to avoid spurious underflow.
52623         * math/s_catanf.c (__catanf): Likewise.
52624         * math/s_catanh.c (__catanh): Likewise.
52625         * math/s_catanhf.c (__catanhf): Likewise.
52626         * math/s_catanhl.c (__catanhl): Likewise.
52627         * math/s_catanl.c (__catanl): Likewise.
52628         * math/libm-test.inc (catan_test): Add more tests.
52629         (catanh_test): Likewise.
52630         * sysdeps/i386/fpu/libm-test-ulps: Update.
52631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52633 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52637 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52639         [BZ #15416]
52640         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52641         accurately for denominator in atan2.
52642         * math/s_catanf.c (__catanf): Likewise.
52643         * math/s_catanh.c (__catanh): Likewise.
52644         * math/s_catanhf.c (__catanhf): Likewise.
52645         * math/s_catanhl.c (__catanhl): Likewise.
52646         * math/s_catanl.c (__catanl): Likewise.
52647         * math/libm-test.inc (catan_test): Add more tests.
52648         (catanh_test): Likewise.
52649         * sysdeps/i386/fpu/libm-test-ulps: Update.
52650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52652 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52654         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52656         * benchtests/Makefile (bench): Remove slow benchmarks.
52657         * benchtests/atan-inputs: Add slow benchmark inputs.
52658         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52659         (BENCH_FUNC): Accept variant offset.
52660         (VARIANT): Define.
52661         * benchtests/bench-skeleton.c (main): Run benchmark for each
52662         variant.
52663         * benchtests/cos-inputs: Add slow benchmark inputs.
52664         * benchtests/exp-inputs: Likewise.
52665         * benchtests/pow-inputs: Likewise.
52666         * benchtests/sin-inputs: Likewise.
52667         * benchtests/slowatan-inputs: Remove.
52668         * benchtests/slowatan.c: Remove.
52669         * benchtests/slowcos-inputs: Remove.
52670         * benchtests/slowcos.c: Remove.
52671         * benchtests/slowexp-inputs: Remove.
52672         * benchtests/slowexp.c: Remove.
52673         * benchtests/slowpow-inputs: Remove.
52674         * benchtests/slowpow.c: Remove.
52675         * benchtests/slowsin-inputs: Remove.
52676         * benchtests/slowsin.c: Remove.
52677         * benchtests/slowtan-inputs: Remove.
52678         * benchtests/slowtan.c: Remove.
52679         * benchtests/tan-inputs: Add slow benchmark inputs.
52680         * scripts/bench.pl: Parse comments and directives.
52682         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52683         in CPPFLAGS.
52684         ($(objpfx)bench-%.c): Remove *-ITER.
52685         * benchtests/bench-modf.c: Remove definition of ITER.
52686         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52687         (main): Loop for DURATION seconds instead of fixed number of
52688         iterations.
52689         * scripts/bench.pl: Don't expect iterations in parameters.
52691 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52693         * io/fchdir.c (__fchdir): Renamed from fchdir.
52694         (fchdir): Define as weak alias.
52696 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52698         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52699         (ERRNO_EDOM): Likewise.
52700         (ERRNO_ERANGE): Likewise.
52701         (noErrnoTests): New variable.
52702         (init_max_error): Set errno to 0.
52703         (test_single_errno): New function.
52704         (test_errno): Likewise.
52705         (check_float_internal): Call test_errno.  Set errno to 0.
52706         (check_complex): Refer to errno tests in comment.
52707         (check_int): Call test_errno.  Set errno to 0.
52708         (check_long): Likewise.
52709         (check_bool): Likewise.
52710         (check_longlong): Likewise.
52711         (cos_test): Use ERRNO_* flags for errno tests instead of
52712         check_int.
52713         (expm1_test): Likewise.
52714         (fmod_test): Likewise.
52715         (ilogb_test): Likewise.
52716         (lgamma_test): Likewise.
52717         (pow_test): Likewise.
52718         (remainder_test): Likewise.
52719         (sin_test): Likewise.
52720         (tan_test): Likewise.
52721         (yn_test): Likewise.
52722         (initialize): Set errno to 0.
52723         (main): Print number of errno tests.
52724         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52726 2013-04-29  Andreas Jaeger  <aj@suse.de>
52728         [BZ #15084]
52729         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52730         and RES_USEVC.
52732         [BZ #15085]
52733         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52734         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52735         unimplemented.
52737         [BZ #15380]
52738         * stdlib/random.c (__initstate): Return NULL if
52739         __initstate fails.
52741         [BZ #15086]
52742         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52743         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52744         RES_SNGLKUPREOP.
52746 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52750 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52752         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52753         of individual tests.
52754         (casin_test): Likewise.
52755         (casinh_test): Likewise.
52757 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52759         [BZ #15409]
52760         * math/s_catan.c (__catan): Handle arguments with large real or
52761         imaginary part separately without squaring.
52762         * math/s_catanf.c (__catanf): Likewise.
52763         * math/s_catanh.c (__catanh): Likewise.
52764         * math/s_catanhf.c (__catanhf): Likewise.
52765         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52766         and redefine.
52767         (__catanhl): Handle arguments with large real or imaginary part
52768         separately without squaring.
52769         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52770         and redefine.
52771         (__catanl): Handle arguments with large real or imaginary part
52772         separately without squaring.
52773         * math/libm-test.inc (catan_test): Add more tests.
52774         (catanh_test): Likewise.
52775         * sysdeps/i386/fpu/libm-test-ulps: Update.
52776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52778 2013-04-27  Andreas Jaeger  <aj@suse.de>
52780         [BZ #15007]
52781         * stdlib/stdlib.h: Update guards for qecvt.
52782         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52783         <stdlib.h>.
52785 2013-04-27  Allan McRae  <allan@archlinux.org>
52787         * sysdeps/i386/fpu/libm-test-ulps: Update.
52789 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52791         [BZ #15406]
52792         * math/s_catan.c: Include <float.h>.
52793         (__catan): Ensure underflow exception occurs for underflowed
52794         result.
52795         * math/s_catanf.c: Include <float.h>.
52796         (__catanf): Ensure underflow exception occurs for underflowed
52797         result.
52798         * math/s_catanh.c: Include <float.h>.
52799         (__catanh): Ensure underflow exception occurs for underflowed
52800         result.
52801         * math/s_catanhf.c: Include <float.h>.
52802         (__catanhf): Ensure underflow exception occurs for underflowed
52803         result.
52804         * math/s_catanhl.c: Include <float.h>.
52805         (__catanhl): Ensure underflow exception occurs for underflowed
52806         result.
52807         * math/s_catanl.c: Include <float.h>.
52808         (__catanl): Ensure underflow exception occurs for underflowed
52809         result.
52810         * math/libm-test.inc (catan_test): Add more tests.
52811         (catanh_test): Likewise.
52813         [BZ #15405]
52814         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52815         underflowed result.
52816         * math/s_ccoshf.c (__ccoshf): Likewise.
52817         * math/s_ccoshl.c (__ccoshl): Likewise.
52818         * math/s_csin.c (__csin): Likewise.
52819         * math/s_csinf.c (__csinf): Likewise.
52820         * math/s_csinh.c (__csinh): Likewise.
52821         * math/s_csinhf.c (__csinhf): Likewise.
52822         * math/s_csinhl.c (__csinhl): Likewise.
52823         * math/s_csinl.c (__csinl): Likewise.
52824         * math/libm-test.inc (ccos_test): Add more tests.
52825         (ccosh_test): Likewise.
52826         (csin_test): Likewise.
52827         (csinh_test): Likewise.
52829 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52831         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52832         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52833         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52834         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52835         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52836         powerpc/power5+/fpu folders.
52837         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52840 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52844 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52846         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52847         additions to variable.
52848         [$(config-machine) = x86_64] (modules-names): Likewise.
52849         ($(objpfx)tst-audit3): Remove dependency.
52850         ($(objpfx)tst-audit3.out): Likewise.
52851         ($(objpfx)tst-audit4): Likewise.
52852         ($(objpfx)tst-audit4.out): Likewise.
52853         ($(objpfx)tst-audit5): Likewise.
52854         ($(objpfx)tst-audit5.out): Likewise.
52855         ($(objpfx)tst-audit6): Likewise.
52856         ($(objpfx)tst-audit6.out): Likewise.
52857         ($(objpfx)tst-audit7): Likewise.
52858         ($(objpfx)tst-audit7.out): Likewise.
52859         (tst-audit3-ENV): Remove variable.
52860         (tst-audit4-ENV): Likewise.
52861         (tst-audit5-ENV): Likewise.
52862         (tst-audit6-ENV): Likewise.
52863         (tst-audit7-ENV): Likewise.
52864         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52865         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52866         addition to variable.
52867         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52868         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52869         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52870         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52871         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52872         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52873         tst-audit3, tst-audit4 and tst-audit5.
52874         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52875         tst-audit6 and tst-audit7.
52876         [$(subdir) = elf] (modules-names): Add audit modules for those
52877         tests.
52878         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52879         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52880         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52881         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52882         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52883         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52884         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52885         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52886         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52887         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52888         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52889         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52890         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52891         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52892         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52893         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52894         Likewise.
52895         [$(subdir) = elf && $(config-cflags-avx) = yes]
52896         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52897         [$(subdir) = elf && $(config-cflags-avx) = yes]
52898         (CFLAGS-tst-auditmod4a.c): Likewise.
52899         [$(subdir) = elf && $(config-cflags-avx) = yes]
52900         (CFLAGS-tst-auditmod4b.c): Likewise.
52901         [$(subdir) = elf && $(config-cflags-avx) = yes]
52902         (CFLAGS-tst-auditmod6b.c): Likewise.
52903         [$(subdir) = elf && $(config-cflags-avx) = yes]
52904         (CFLAGS-tst-auditmod6c.c): Likewise.
52905         [$(subdir) = elf && $(config-cflags-avx) = yes]
52906         (CFLAGS-tst-auditmod7b.c): Likewise.
52907         * elf/tst-audit3.c: Move to ...
52908         * sysdeps/x86_64/tst-audit3.c: ... here.
52909         * elf/tst-audit4.c: Move to ...
52910         * sysdeps/x86_64/tst-audit4.c: ... here.
52911         * elf/tst-audit5.c: Move to ...
52912         * sysdeps/x86_64/tst-audit5.c: ... here.
52913         * elf/tst-audit6.c: Move to ...
52914         * sysdeps/x86_64/tst-audit6.c: ... here.
52915         * elf/tst-audit7.c: Move to ...
52916         * sysdeps/x86_64/tst-audit7.c: ... here.
52917         * elf/tst-auditmod3a.c: Move to ...
52918         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52919         * elf/tst-auditmod3b.c: Move to ...
52920         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52921         * elf/tst-auditmod4a.c: Move to ...
52922         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52923         * elf/tst-auditmod4b.c: Move to ...
52924         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52925         * elf/tst-auditmod5a.c: Move to ...
52926         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52927         * elf/tst-auditmod5b.c: Move to ...
52928         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52929         * elf/tst-auditmod6a.c: Move to ...
52930         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52931         * elf/tst-auditmod6b.c: Move to ...
52932         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52933         * elf/tst-auditmod6c.c: Move to ...
52934         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52935         * elf/tst-auditmod7a.c: Move to ...
52936         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52937         * elf/tst-auditmod7b.c: Move to ...
52938         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52940 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52942         [BZ #15366]
52943         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52944         define unconditionally.
52945         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52946         define unconditionally.
52947         (INT8_C, INT16_C, etc.): Likewise.
52949 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52951         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52952         __ehdr_start with hidden visibility.
52954         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52956 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52958         * math/libm-test.inc (cos_test): Use accurate hex constants.
52959         (sincost_test): Likewise.
52961 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52963         * math/libm-test.inc (catan_test): Add more tests.
52964         (catanh_test): Likewise.
52966         * math/s_catanf.c (__catanf): Use suffixed floating-point
52967         constants.
52968         * math/s_catanhf.c (__catanhf): Likewise.
52969         * math/s_catanhl.c (__catanhl): Likewise.
52970         * math/s_catanl.c (__catanl): Likewise.
52972         [BZ #15394]
52973         * math/s_catan.c (__catan): Calculate imaginary part of result
52974         with log1p not log unless computing log of number close to 0.
52975         * math/s_catanf.c (__catanf): Likewise.
52976         * math/s_catanl.c (__catanl): Likewise.
52977         * math/s_catanh.c (__catanh): Calculate real part of result with
52978         log1p not log unless computing log of number close to 0.
52979         * math/s_catanhf.c (__catanhf): Likewise.
52980         * math/s_catanhl.c (__catanhl): Likewise.
52981         * math/libm-test.inc (catan_test): Add more tests.
52982         (catanh_test): Likewise.
52983         * sysdeps/i386/fpu/libm-test-ulps: Update.
52984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52986 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52988         * benchtests/Makefile: Mention files in which fast and slow
52989         paths of math functions are implemented.
52991 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52993         * sysdeps/posix/timespec_get.c: New file.
52995 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52997         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52998         POWER.
52999         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53000         for POWER.
53001         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53002         powerpc/power5/fpu folders.
53003         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53004         * benchtests/Makefile: Add modf testcase.
53005         * benchtests/bench-modf.c: New file: Benchmark test for mo
53007 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53009         [BZ #14888]
53010         * time/Makefile (tests): Add tst-strptime-whitespace.
53011         * time/strptime_l.c (get_number): Use ISSPACE.
53012         (__strptime_internal): Likewise.
53013         * time/tst-strptime-whitespace.c: New test case.
53015 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53017         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53018         member.
53019         (_nss_files_init): Set it here.
53021 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53023         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53024         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53025         unsigned.
53027 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53029         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53031 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53034         size just once.
53036 2013-04-21  David S. Miller  <davem@davemloft.net>
53038         * po/ru.po: Update Russion translation from translation project.
53040 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53042         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53043         and setfsgid.
53045 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53047         * configure.in: Remove i386 configure warning. Remove i386 case.
53048         * configure: Regenerate.
53049         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53050         Add example to error message.
53051         * sysdeps/i386/configure: Regenerate.
53053 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53055         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53056         slowtan.
53057         * benchtests/cos-inputs: New file.
53058         * benchtests/slowcos-inputs: New file.
53059         * benchtests/slowcos.c: New file.
53060         * benchtests/slowtan-inputs: New file.
53061         * benchtests/slowtan.c: New file.
53062         * benchtests/tan-inputs: New file.
53064 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53066         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53067         considered kosher.
53069 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53071         * benchtests/Makefile: Include cppflags-iterator.mk to add
53072         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53074         * Makefile.in (bench-clean): New target.
53075         * benchtests/Makefile (bench-clean): Likewise.
53077 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53079         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53081 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53083         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53085 2013-04-15  Andreas Schwab  <schwab@suse.de>
53087         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53088         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53089         * nscd/pwdcache.c (cache_addpw): Likewise.
53090         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53091         more than recsize.
53093 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53095         * benchtests/Makefile (bench): Write all output to
53096         bench-out.tmp together.
53098 2013-04-15  Andreas Schwab  <schwab@suse.de>
53100         * nscd/nscd.c (main): Don't fork again after closing files.
53102 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53104         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53106         * benchtests/Rules (bench-deps): Collect dependencies into a
53107         single variable.  Add Makefile to dependencies.
53108         ($(objpfx)bench-%.c): Depend on bench-deps.
53110 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53111             Xavier Roche  <roche+kml2@exalead.com>
53113         [BZ #15361]
53114         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53115         just that it's a file descriptor.
53116         * manual/llio.texi (Synchronizing AIO Operations): Update description
53117         for EBADF error from aio_fsync.
53119 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53121         * Rules (bench): Move target definition...
53122         * benchtests/Makefile: ... here.
53124 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53126         * math/libm-test.inc (cos_test): Fix PI/2 test.
53127         (sincos_test): Likewise.
53128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53129         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53131 2013-04-11  Andreas Schwab  <schwab@suse.de>
53133         [BZ #13988]
53134         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53135         accept exponent character only when digits were seen.
53136         * stdio-common/Makefile (tests): Add bug26.
53137         * stdio-common/bug26.c: New file.
53139         [BZ #14293]
53140         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53141         non-freeable.
53143 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53145         * Makeconfig (rtld-prefix): Define built linker prefix.
53146         * Rules (run-bench): Use it.
53147         * math/Makefile (run-regen-ulps): Likewise.
53149         * Rules (bench): Remove eval.
53151 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53152             Roland McGrath  <roland@hack.frob.com>
53153             Ondrej Bilka  <neleai@seznam.cz>
53155         [BZ #15346]
53156         * time/getdate.c: Include ctype.h and alloca.h.
53157         (__getdate_r): Trim leading and trailing spaces of input.
53158         * time/tst-getdate.c (tests): Add tests with leading and
53159         trailing spaces.
53161 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53163         [BZ #14280]
53164         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53165         when computing value.
53167 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53169         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53170         Use testrun.sh to run libm tests.
53172         [BZ #15309]
53173         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53175 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53177         [BZ #15264]
53178         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53180 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53182         * Makefile.in (regen-ulps): New target.
53183         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53184         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53185         [ifneq (no,$(PERL)] (regen-ulps): New target.
53186         [ifeq (no,$(PERL)] (regen-ulps): New target.
53187         * math/libm-test.inc (ulps_file_name): Define.
53188         (output_dir): New variable.
53189         (options): Add "output-dir" option.
53190         (parse_opt): Handle 'o' case.
53191         (main): If output_dir is non-NULL use it as a prefix
53192         otherwise use "".
53193         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53195 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53197         [BZ #10060, #10062]
53198         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53199         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53200         fail configure if __sync_val_compare_and_swap is not inlined.
53201         * sysdeps/i386/configure: Regenerate.
53202         * configure.in: Build for i686 when configured for i386.
53203         * configure: Regenerate.
53204         * README: Remove i386 reference.
53206 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53208         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53209         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53211 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53213         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53214         (lmsnanval): New variables.
53215         (F): Add conversion tests.
53216         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53217         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53219         * stdio-common/tstdiomisc.c (F): Properly collect individual
53220         tests' results.
53222         [BZ #14686, #15336]
53223         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53224         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53225         Instead, use input NaN values or generate a qNaN by arithmetic
53226         operation.  Also fix bugs to comply with the standard.
53227         * math/libm-test.inc (remainder_test): Add more tests.
53229         [BZ #15335, #15342]
53230         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53232         input NaN values or generate a qNaN by arithmetic operation.
53234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53235         unreachable code.
53237         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53238         definitions.
53240 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53242         [BZ #14478]
53243         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53244         underflowed result.
53245         * math/s_cexpf.c (__cexpf): Likewise.
53246         * math/s_cexpl.c (__cexpl): Likewise.
53247         * math/libm-test.inc (cexp_test): Add more tests.
53249 2013-04-03  Andreas Schwab  <schwab@suse.de>
53251         [BZ #15330]
53252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53253         order arrays from heap if bigger than alloca cutoff.
53255 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53257         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53258         (SNAN_TESTS_double): Refer to GCC PR56831.
53259         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53260         GCC PR56828.
53262 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53264         * Rules (bench): Move bench.out after the run is complete.
53266         * Rules (bench): Echo currently running benchmark.
53268         * benchtests/Makefile (bench): Add atan and slowatan.
53269         * benchtests/atan-inputs: New file.
53270         * benchtests/slowatan-inputs: New file.
53271         * benchtests/slowatan.c: New file.
53273         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53275         its value.
53277         [BZ #15305]
53278         * sysdeps/unix/sysv/linux/kernel-features.h
53279         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53280         __ASSUME_XFS_RESTRICTED_CHOWN.
53281         * sysdeps/unix/sysv/linux/pathconf.c
53282         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53283         Save and restore errno.
53285 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53287         [BZ #15327]
53288         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53289         arguments using __kernel_casinh.
53290         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53291         arguments using __kernel_casinhf.
53292         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53293         arguments using __kernel_casinhl.
53294         * math/libm-test.inc (cacosh_test): Add more tests.
53295         * sysdeps/i386/fpu/libm-test-ulps: Update.
53296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53298 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53300         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53303         * bench/Makefile (bench): Add sin and slowsin.
53304         * benchtests/sin-inputs: New file.
53305         * benchtests/slowsin-inputs: New file.
53306         * benchtests/slowsin.c: New file.
53308         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53309         (bench): Add slowexp and slowpow.
53310         (exp-ITER): Increase iterations.
53311         (pow-ITER): Likewise.
53312         * benchtests/exp-inputs: Change input.
53313         * benchtests/pow-inputs: Likewise.
53314         * benchtests/slowexp-inputs: New file.
53315         * benchtests/slowexp.c: New file.
53316         * benchtests/slowpow-inputs: New file.
53317         * benchtests/slowpow.c: New file.
53319 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53321         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53322         instructions.
53323         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53324         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53325         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53326         * benchtests/Makefile: Add rint benchtest.
53327         * benchtests/rint-inputs: Input for rint benchtest.
53329 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53331         * Versions.def (libm): Add GLIBC_2.18.
53332         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53333         hidden libm prototypes.
53334         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53335         * math/Makefile (libm-calls): Add s_issignaling.
53336         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53337         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53338         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53339         declaration.
53340         * math/math.h [__USE_GNU] (issignaling): New macro.
53341         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53342         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53343         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53344         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53345         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53346         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53347         * manual/arith.texi (issignaling): New section.
53348         * manual/libm-err-tab.pl (@all_functions): Update comment.
53349         * math/gen-libm-test.pl (parse_args): Apply special handling for
53350         issignaling.
53351         * math/libm-test.inc (print_float, issignaling_test): New
53352         functions.
53353         (check_float_internal): Add issignaling checks.
53354         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53355         default definition.
53356         * sysdeps/powerpc/math-tests.h: New file.
53357         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53358         tests.
53359         * math/test-snan.c (TEST_FUNC): Likewise.
53361 2013-03-30  David S. Miller  <davem@davemloft.net>
53363         * po/de.po: Update from translation team.
53365 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53367         [BZ #10357]
53368         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53369         imaginary part less than 1.0 and real part less than 0.5
53370         specially.
53371         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53372         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53373         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53374         (cacos_test): Add more tests.
53375         (casin_test): Likewise.
53376         (casinh_test): Likewise.
53377         * sysdeps/i386/fpu/libm-test-ulps: Update.
53378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53380 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53382         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53383         ONE with its value.
53385         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53386         (__pow_mp): Replace ONE and MONE with their values.
53387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53389         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53390         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53391         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53392         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53394         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53396         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53397         (__pow_mp): Replace ZERO and MZERO with their values.
53398         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53399         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53400         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53401         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53402         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53403         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53404         (__sqr): Likewise.
53406         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53408         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53410 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53412         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53413         Declare with __attribute__ ((weak)).
53414         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53415         Call __call_tls_dtors only if it's not NULL.
53417 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53419         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53420         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53421         magic __ehdr_start linker symbol if it's defined.
53422         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53423         them up here if it was already done.
53425         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53426         (_dl_aux_init): Use const in cast when setting it.
53427         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53428         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53429         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53431         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53432         Declare them here.
53433         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53434         * csu/libc-tls.c: Nor here.
53435         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53437         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53438         (__libc_message): Never call vsyslog.
53440 2013-03-28  Alan Modra  <amodra@gmail.com>
53442         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53443         Define as empty.
53444         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53445         Likewise.
53447 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53449         [BZ #15214]
53450         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53451         underflow.
53452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53454 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53456         [BZ #15304]
53457         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53458         Don't add gid passed as argument.
53460         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53462 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53464         [BZ #15307]
53465         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53466         imaginary part between 1.0 and 1.5 and real part less than 0.5
53467         specially.
53468         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53469         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53470         * math/libm-test.inc (cacos_test): Add more tests.
53471         (casin_test): Likewise.
53472         (casinh_test): Likewise.
53473         * sysdeps/i386/fpu/libm-test-ulps: Update.
53474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53476 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53478         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53479         constants.
53480         (norm): Likewise.
53481         (denorm): Likewise.
53482         (__dbl_mp): Likewise.
53483         (add_magnitudes): Likewise.
53484         (sub_magnitudes): Likewise.
53485         (__add): Likewise.
53486         (__sub): Likewise.
53487         (__mul): Likewise.
53488         (__sqr): Likewise.
53489         (__inv): Likewise.
53490         (__dvd): Likewise.
53492         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53493         commented code.
53494         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53495         (__dubcos): Likewise.
53496         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53497         (__ieee754_acos): Likewise.
53498         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53499         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53500         (__exp1): Likewise.
53501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53503         (log1): Likewise.
53504         (my_log2): Likewise.
53505         (checkint): Likewise.
53506         * sysdeps/ieee754/dbl-64/e_remainder.c
53507         (__ieee754_remainder): Likewise.
53508         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53509         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53510         (bsloww): Likewise.
53511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53513         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53514         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53515         MANTISSA_STORE_T to store computations on mantissa.  Use
53516         macros for rounding and division.
53517         (denorm): Likewise.
53518         (__dbl_mp): Likewise.
53519         (add_magnitudes): Likewise.
53520         (sub_magnitudes): Likewise.
53521         (__mul): Likewise.
53522         (__sqr): Likewise.
53523         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53524         powers of two in terms of TWOPOW macro.
53525         (mp_no): Make type of mantissa as MANTISSA_T.
53526         [!RADIXI]: Define RADIXI.
53527         [!TWO52]: Define TWO52.
53528         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53530 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53532         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53533         llroundl symbol when building for PPC32.
53535 2013-03-24  Mark H Weaver  <mhw@netris.org>
53537         * manual/arith.texi (Normalization Functions): Fix prototypes for
53538         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53540 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53542         [BZ #13889]
53543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53544         high value to check if expl overflow.
53545         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53546         to check for underflow and overflow.
53547         * math/libm-test.inc: Add exp test.
53549 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53551         [BZ #11120]
53552         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53553         with NOT_IN_libc.
53555 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53557         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53558         symbol.
53560 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53562         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53563         wrap blocks consisting of several statements.
53565         * sysdeps/generic/math-tests.h: New file.
53566         * sysdeps/i386/fpu/math-tests.h: Likewise.
53567         * math/test-snan.c: Include it.
53568         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53570 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53572         [BZ #15285]
53573         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53574         (__ieee754_j0l): Do not improve calculations using cos of twice
53575         input for inputs above LDBL_MAX / 2.0L.
53576         (__ieee754_y0l): Likewise.
53577         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53578         (__ieee754_j1l): Do not improve calculations using cos of twice
53579         input for inputs above LDBL_MAX / 2.0L.
53580         (__ieee754_y1l): Likewise.
53581         * math/libm-test.inc (j0_test): Add another test.
53582         (j1_test): Likewise.
53583         (y0_test): Likewise.
53584         (y1_test): Likewise.
53585         * sysdeps/i386/fpu/libm-test-ulps: Update.
53587 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53589         * Rules ($(objpfx)bench-%.c): Include code from a C source
53590         file.
53592 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53594         [BZ #15287]
53595         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53596         imaginary part 1.0 and real part less than 0.5 specially.
53597         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53598         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53599         * math/libm-test.inc (cacos_test): Add more tests.
53600         (casin_test): Likewise.
53601         (casinh_test): Likewise.
53602         * sysdeps/i386/fpu/libm-test-ulps: Update.
53603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53605 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53608         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53610 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53612         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53613         * config.make.in (config-cflags-sse4): Remove variable.
53614         (config-cflags-avx): Likewise.
53615         (config-cflags-sse2avx): Likewise.
53616         (config-cflags-novzeroupper): Likewise.
53617         (config-asflags-i686): Likewise.
53618         (have-mfma4): Likewise.
53619         (have-as-vis3): Likewise.
53620         (MIG): Likewise.
53621         * configure.in (MIG): Do not AC_SUBST.
53622         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53623         (libc_cv_cc_sse4): Do not AC_SUBST.
53624         (libc_cv_cc_avx): Likewise.
53625         (libc_cv_cc_sse2avx): Likewise.
53626         (libc_cv_cc_novzeroupper): Likewise.
53627         (libc_cv_cc_fma4): Likewise.
53628         (libc_cv_as_i686): Likewise.
53629         (libc_cv_sparc_as_vis3): Likewise.
53630         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53631         LIBC_CONFIG_VAR.
53632         (config-asflags-i686): Likewise.
53633         (config-cflags-avx): Likewise.
53634         (config-cflags-sse2avx): Likewise.
53635         (have-mfma4): Likewise.
53636         (config-cflags-novzeroupper): Likewise.
53637         * sysdeps/mach/configure.in (MIG): Likewise.
53638         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53639         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53640         LIBC_CONFIG_VAR.
53641         (config-cflags-avx): Likewise.
53642         (config-cflags-sse2avx): Likewise.
53643         (have-mfma4): Likewise.
53644         (config-cflags-novzeroupper): Likewise.
53645         * configure: Regenerated.
53646         * sysdeps/i386/configure: Likewise.
53647         * sysdeps/mach/configure: Likewise.
53648         * sysdeps/sparc/configure: Likewise.
53649         * sysdeps/x86_64/configure: Likewise.
53651 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53653         [BZ #14812]
53654         * locale/programs/localedef.c (options): Put N_ translation marker
53655         on argument names, not just descriptions.
53657 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53659         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53661 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53663         [BZ #14176]
53664         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53666 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53668         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53669         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53670         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53671         [!BEFORE_ABORT] (before_abort): New function.
53672         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53673         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53674         (writev_for_fatal): New function.
53675         (WRITEV_FOR_FATAL): New macro; call that.
53676         (backtrace_and_maps): New function.
53677         (BEFORE_ABORT): New macro; call that.
53678         (struct str_list): Type removed.
53679         (__libc_message, __libc_fatal): Functions removed.
53680         Include <sysdeps/posix/libc_fatal.c> instead.
53682 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53684         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53685         constants.
53686         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53687         double constants.
53689 2013-03-19  Andreas Schwab  <schwab@suse.de>
53691         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53692         * sysdeps/gnu/configure: Regenerate.
53694         * configure.in: Substitute libc_cv_rtlddir.
53695         * configure: Regenerate.
53696         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53697         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53698         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53699         * elf/Makefile (install-others, CFLAGS-interp.c)
53700         (ldso_install, common-ldd-rewrite): Likewise.
53701         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53702         $(inst_slibdir)/$(rtld-installed-name).
53703         * scripts/rellns-sh: Add -p option.
53704         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53705         for source.
53707 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53709         * manual/nptl.texi: Renamed to ...
53710         * manual/threads.texi: ... this.
53711         * manual/Makefile (chapters): Update.
53713 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53715         [BZ #14812]
53716         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53717         on argument names, not just descriptions.
53718         * malloc/memusagestat.c (options): Likewise.
53719         * nss/getent.c (options): Likewise.
53721 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53723         [BZ #14812]
53724         * iconv/iconv_prog.c (options): Put N_ translation marker
53725         on argument names, not just descriptions.
53726         * iconv/iconvconfig.c (options): Likewise.
53728 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53730         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53731         implementation which is faster on all x86_64 architectures.
53732         Tested on AMD, Intel Nehalem, SNB, IVB.
53733         * sysdeps/x86_64/strnlen.S: Likewise.
53735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53736         Remove all multiarch strlen and strnlen versions.
53737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53738         Remove strlen and strnlen related parts.
53740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53741         Inline strlen part.
53742         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53744         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53745         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53746         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53747         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53748         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53749         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53751 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53753         * manual/memory.texi (Malloc Tunable Parameters):
53754         Sort parameters alphabetically. Add comments for missing entries.
53756 2013-03-17  David S. Miller  <davem@davemloft.net>
53758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53760 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53762         [BZ #15283]
53763         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53764         for arguments at most half maximum finite value.
53765         * math/libm-test.inc (j0_test): Add more tests.
53766         (j1_test): Likewise.
53767         (y0_test): Likewise.
53768         (y1_test): Likewise.
53769         * sysdeps/i386/fpu/libm-test-ulps: Update.
53770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53772         [BZ #14155]
53773         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53774         1 / x and functions P and Q for arguments above 0x1p256L.
53775         (__ieee754_y0l): Likewise.
53776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53777         (__ieee754_y1l): Likewise.
53778         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53779         (j1_test): Likewise.
53780         (y0_test): Likewise.
53781         (y1_test): Likewise.
53783 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53785         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53786         variable.
53788 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53790         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53791         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53792         zero since it's initialized to EXEC_PAGESIZE.
53794         * sysdeps/unix/sysv/linux/ldsodefs.h
53795         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53796         * sysdeps/generic/ldsodefs.h: ... here.
53798 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53800         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53802         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53803         math/test-snan.c.
53804         * math/test-snan.c: Renamed from
53805         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53806         * math/Makefile (tests): Add test-snan.
53807         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53808         test-powerpc-snan.
53810         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53811         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53812         functions.
53813         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53814         __builtin_nan family of functions.
53815         * math/libm-test.inc (initialize): Initialize qnan_value with
53816         __builtin_nan family of functions.
53817         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53818         Remove variables.
53819         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53820         Remove functions.
53821         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53822         storage class.  Initialize qNaN_var and sNaN_var with
53823         __builtin_nan and __builtin_nans families of functions,
53824         respectively.
53826         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53827         (sqrt_test): Remove duplicate test with qNaN input.
53828         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53829         (round_test, signbit_test, significand_test): Note missing +/-Inf
53830         as well as qNaN tests.
53832         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53833         qNaN_var.  Fix a few strings, too.
53834         * math/libm-test.inc (nan_value): Rename to qnan_value.
53835         * math/gen-libm-test.pl (%beautify): Adjust to that.
53836         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53837         * math/test-misc.c (main): Likewise.
53838         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53839         to __qnan_bytes, and __qnan_union, respectively.
53840         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53841         Likewise.
53842         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53843         and lqnanval, respectively.
53844         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53845         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53846         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53847         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53849         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53850         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53851         doubles.
53853         * math/test-misc.c (main): Fix copy'n'pastos.
53854         * misc/tst-efgcvt.c (special): Likewise.
53856         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53857         Remove declarations.
53859 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53861         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53862         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53863         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53864         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53866 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53869         macro to return vdso values correctly in IFUNC implementations.
53870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53871         Optimization by using IFUNC.
53873 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874             Richard Henderson  <rth@redhat.com>
53875             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53877         * Makefile.in (bench): New target.
53878         * NEWS: Mention the benchmark framework.
53879         * Rules (bench): Likewise.
53880         (binaries-bench): Generate binaries for functions to
53881         benchmark.
53882         * benchtests/Makefile: New makefile for benchmark tests.
53883         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53884         programs.
53885         * benchtests/exp-inputs: New input file for EXP function.
53886         * benchtests/pow-inputs: New input file for POW function.
53887         * scripts/bench.pl: New script to generate source files for
53888         benchmark programs.
53890 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53892         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53893         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53894         computations on mantissa.  Use macros for rounding and
53895         division.
53896         (denorm): Likewise.
53897         (__dbl_mp): Likewise.
53898         (add_magnitudes): Likewise.
53899         (sub_magnitudes): Likewise.
53900         (__mul): Likewise.
53901         (__sqr): Likewise.
53902         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53903         powers of two in terms of TWOPOW macro.
53904         (mp_no): Make type of mantissa as MANTISSA_T.
53905         [!RADIXI]: Define RADIXI.
53906         [!TWO52]: Define TWO52.
53907         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53909         * manual/nptl.texi (cindex): Modify threads to pthreads.
53911 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53913         * sysdeps/x86_64/preconfigure: Regenerated.
53915 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53917         [BZ #14155]
53918         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53919         0x1p28 and above.
53920         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53921         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53922         0x1p28 and above.
53923         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53924         * math/libm-test.inc (j0_test): Do not allow one spurious
53925         underflow exception.
53926         (y1_test): Likewise.
53928 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53930         * manual/Makefile (chapters): Add nptl.
53931         * manual/debug.texi (Debugging Support): Add link to Threads
53932         chapter.
53933         * manual/nptl.texi: New file.
53935         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53937 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53939         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53940         for non-NULL pointer before the memory validity test. Pointed
53941         out by Holger Brunck <holger.brunck@keymile.com>.
53943 2013-03-13  Andreas Schwab  <schwab@suse.de>
53945         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53946         instead of .os.
53948 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53950         * timezone/zic.c: Update from tzcode 2013b.
53952 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53954         * manual/install.texi (Configuring and compiling):
53955         Mention i686 and i586.
53956         * INSTALL: Regenerate.
53958 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53960         * sysdeps/init_array/elf-init.c: New file.
53961         * csu/elf-init.c
53962         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53963         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53965         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53966         __gmon_start__ as global, but as static with a .preinit_array pointer.
53967         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53968         * sysdeps/init_array/crti.S: New file, empty except for comments.
53969         * sysdeps/init_array/crtn.S: Likewise.
53971 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53973         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53974         definining bcopy.
53975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53976         Remove Prefer_SSE_for_memop.
53977         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53978         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53979         HAS_PREFER_SSE_FOR_MEMOP.
53980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53981         memset-x86-64.
53982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53983         Remove bzero, memset ifunc support.
53984         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53985         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53986         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53987         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53989 2013-03-11  Andreas Schwab  <schwab@suse.de>
53991         [BZ #15234]
53992         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53993         by SHLIB_COMPAT.
53994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53995         (GLIBC_2.16): Remove pthread_atfork.
53997 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53999         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54000         (ptestcases.h): Likewise.
54002 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54004         * Makeconfig ($(common-objpfx)config.status): Depend on
54005         sysdeps/*/preconfigure{,.in} too.
54007 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54009         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54010         (__free_hook): Use void * instead of __malloc_ptr_t.
54011         (__malloc_hook): Likewise.
54012         (__realloc_hook): Likewise.
54013         (__memalign_hook): Likewise.
54014         (__after_morecore_hook): Likewise.
54015         * malloc/arena.c (save_malloc_hook): Likewise.
54016         (save_free_hook): Likewise.
54017         * malloc/hooks.c (malloc_hook_ini): Likewise.
54018         (realloc_hook_ini): Likewise.
54019         (memalign_hook_ini): Likewise.
54020         * malloc/malloc.c (malloc_hook_ini): Likewise.
54021         (realloc_hook_ini): Likewise.
54022         (memalign_hook_ini): Likewise.
54023         (__free_hook): Likewise.
54024         (__malloc_hook): Likewise.
54025         (__realloc_hook): Likewise.
54026         (__memalign_hook): Likewise.
54027         (__libc_malloc): Likewise.
54028         (__libc_free): Likewise.
54029         (__libc_realloc): Likewise.
54030         (__libc_memalign): Likewise.
54031         (__libc_valloc): Likewise.
54032         (__libc_pvalloc): Likewise.
54033         (__libc_calloc): Likewise.
54034         (__posix_memalign): Likewise.
54035         * malloc/morecore.c (__sbrk): Likewise.
54036         (__default_morecore): Likewise.
54038         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54040         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54041         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54042         __malloc_ptrdiff_t.
54044         * malloc/malloc.h (__malloc_size_t): Remove macro.
54045         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54046         __malloc_size_t.
54047         (old_memalign_hook): Likewise.
54048         (old_realloc_hook): Likewise.
54049         (struct hdr): Likewise.
54050         (flood): Likewise.
54051         (mallochook): Likewise.
54052         (memalignhook): Likewise.
54053         (reallochook): Likewise.
54054         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54055         (tr_old_realloc_hook): Likewise.
54056         (tr_old_memalign_hook): Likewise.
54057         (tr_mallochook): Likewise.
54058         (tr_reallochook): Likewise.
54059         (tr_memalignhook): Likewise.
54061 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54063         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54064         default_ldbl_pack and using as default implementation.
54065         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54066         implementation.
54067         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54068         redundant definition.
54069         (ldbl_insert_mantissa): Likewise.
54070         (ldbl_canonicalize): Likewise.
54071         (ldbl_nearbyint): Likewise.
54072         (ldbl_pack): Rename to ldbl_pack_ppc.
54073         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54074         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54075         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54077 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54080         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54081         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54082         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54084         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54085         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54086         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54088 2013-03-07  Andreas Jaeger  <aj@suse.de>
54090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54091         bits/mman-linux.h.
54093 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54095         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54096         Include mpa.h and declare __MPEXP.
54097         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54098         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54099         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54100         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54101         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54102         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54103         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54105         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54106         (__slowpow): Use long double EXPL and LOGL functions to
54107         compute POW.
54108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54109         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54110         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54111         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54112         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54113         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54116         intermediate variable to calculate exponent.
54117         (__sqr): Likewise.
54118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54119         Likewise.
54120         (__sqr): Likewise.
54122         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54123         [!NO__SQR]: Define __sqr.
54124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54125         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54126         sysdeps/ieee754/dbl-64/mpa.c.
54127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54129         [BZ #12723]
54130         * posix/Makefile (tests): Add tst-pathconf.
54131         * posix/tst-pathconf.c: New test case.
54132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54133         _PC_PIPE_BUF.
54134         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54136 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54138         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54140 2013-03-06  Andreas Jaeger  <aj@suse.de>
54142         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54143         definition via __MAP_ANONYMOUS.
54145         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54146         it's not part of Linux headers.
54148         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54149         (MAP_HUGE_MASK): Define.
54151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54152         Define.
54153         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54155         Define.
54156         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54157         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54158         Define.
54159         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54161         Define.
54162         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54164         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54165         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54166         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54167         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54168         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54169         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54171         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54172         Handle f2fs.
54174         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54175         Handle f2fs and efivarfs.
54177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54178         f2fs.
54180         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54181         (EFIVARFS_MAGIC): Add.
54182         (F2FS_LINK_MAX): Add.
54184 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54186         * stdio-common/vfprintf.c: Replace __builtin_expect with
54187         __glibc_unlikely.
54189 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54191         [BZ #13550]
54192         * sysdeps/generic/bp-sym.h: Remove file.
54193         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54194         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54195         <bp-sym.h> and <bp-asm.h>.
54196         (__longjmp): Don't use BP_SYM.
54197         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54198         and <bp-asm.h>.
54199         (memcpy): Don't use BP_SYM.
54200         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54201         <bp-sym.h> and <bp-asm.h>.
54202         (memcpy): Don't use BP_SYM.
54203         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54204         <bp-asm.h>.
54205         (memcpy): Don't use BP_SYM.
54206         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54207         <bp-asm.h>.
54208         (memset): Don't use BP_SYM.
54209         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54210         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54211         (__bzero): Don't use BP_SYM.
54212         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54213         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54214         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54215         <bp-sym.h> and <bp-asm.h>.
54216         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54217         pointers.
54218         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54219         <bp-sym.h> and <bp-asm.h>.
54220         (memcpy): Don't use BP_SYM.
54221         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54222         <bp-sym.h> and <bp-asm.h>.
54223         (memset): Don't use BP_SYM.
54224         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54225         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54226         (__bzero): Don't use BP_SYM.
54227         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54228         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54229         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54230         <bp-sym.h> and <bp-asm.h>.
54231         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54232         pointers.
54233         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54234         <bp-sym.h> and <bp-asm.h>.
54235         (memcpy): Don't use BP_SYM.
54236         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54237         <bp-sym.h> and <bp-asm.h>.
54238         (memset): Don't use BP_SYM.
54239         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54240         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54241         (__bzero): Don't use BP_SYM.
54242         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54243         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54244         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54245         <bp-sym.h> and <bp-asm.h>.
54246         (__memchr): Don't use BP_SYM.
54247         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54248         <bp-sym.h> and <bp-asm.h>.
54249         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54250         pointers.
54251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54252         <bp-sym.h> and <bp-asm.h>.
54253         (memcpy): Don't use BP_SYM.
54254         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54255         <bp-sym.h> and <bp-asm.h>.
54256         (__mempcpy): Don't use BP_SYM.
54257         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54258         <bp-sym.h> and <bp-asm.h>.
54259         (__memrchr): Don't use BP_SYM.
54260         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54261         <bp-sym.h> and <bp-asm.h>.
54262         (memset): Don't use BP_SYM.
54263         (__bzero): Likewise.
54264         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54265         <bp-sym.h> and <bp-asm.h>.
54266         (__rawmemchr): Don't use BP_SYM.
54267         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54268         <bp-sym.h> and <bp-asm.h>.
54269         (__STRCMP): Don't use BP_SYM.
54270         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54271         <bp-sym.h> and <bp-asm.h>.
54272         (strchr): Don't use BP_SYM.
54273         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54274         <bp-sym.h> and <bp-asm.h>.
54275         (__strchrnul): Don't use BP_SYM.
54276         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54277         <bp-sym.h> and <bp-asm.h>.
54278         (strlen): Don't use BP_SYM.
54279         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54280         <bp-sym.h> and <bp-asm.h>.
54281         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54282         pointers.
54283         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54284         <bp-sym.h> and <bp-asm.h>.
54285         (__strnlen): Don't use BP_SYM.
54286         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54287         <bp-sym.h> and <bp-asm.h>.
54288         (__GI__setjmp): Don't use BP_SYM.
54289         (_setjmp): Likewise.
54290         (__sigsetjmp): Likewise.
54291         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54292         (L(start_addresses)): Don't use BP_SYM.
54293         (_start): Likewise.
54294         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54295         <bp-asm.h>.
54296         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54297         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54298         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54299         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54300         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54301         <bp-asm.h>.
54302         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54303         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54304         about bounded pointers.
54305         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54306         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54307         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54308         <bp-asm.h>.
54309         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54310         about bounded pointers.  Remove GKM FIXME comments.
54311         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54312         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54313         <bp-asm.h>.
54314         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54315         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54316         Remove GKM FIXME comments.
54317         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54318         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54319         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54320         <bp-asm.h>.
54321         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54322         about bounded pointers.  Remove GKM FIXME comment.
54323         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54324         and <bp-asm.h>.
54325         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54326         pointers.
54327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54328         <bp-sym.h> and <bp-asm.h>.
54329         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54331         <bp-sym.h> and <bp-asm.h>.
54332         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54333         comment.
54335 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54337         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54338         call free(NULL).
54340 2013-03-05  David S. Miller  <davem@davemloft.net>
54342         * po/es.po: Update from translation team.
54344 2013-03-05  Andreas Jaeger  <aj@suse.de>
54346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54347         <bits/mman-linux.h>.
54348         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54349         is fine.
54350         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54351         <bits/mman-linux.h> to end of file.
54352         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54353         is fine.
54354         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54355         <bits/mman-linux.h> to end of file.
54356         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54357         is fine.
54358         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54359         <bits/mman-linux.h> to end of file.
54361         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54362         (MCL_CURRENT, MCL_FUTURE): Define here.
54364 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54366         [BZ #15232]
54367         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54368         attribute_hidden.
54369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54371 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54374         fourth parameter needed for rt_sigprocmask syscall.
54375         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54376         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54377         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54378         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54379         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54380         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54382 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54384         [BZ #13550]
54385         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54386         comment about bounded pointers.
54387         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54388         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54390 2013-03-04  Andreas Jaeger  <aj@suse.de>
54392         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54393         common definitions.
54395         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54396         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54397         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54398         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54400         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54402 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54404         [BZ #15055]
54405         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54406         __ieee754_sqrl instead of __sqrl.
54408 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54410         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54411         * sysdeps/powerpc/fpu_control.h: ... here.
54412         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54413         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54414         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54415         * sysdeps/powerpc/bits/mathinline.h: ... here.
54417 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54419         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54420         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54421         to just [NEED_DL_SYSINFO_DSO].
54422         * elf/dl-support.c: Likewise.
54423         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54424         * elf/rtld.c (dl_main): Likewise.
54425         * elf/setup-vdso.h (setup_vdso): Likewise.
54426         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54427         * sysdeps/unix/sysv/linux/dl-sysdep.c
54428         (_dl_discover_osversion): Likewise.
54430 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54432         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54433         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54435 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54437         * NEWS: Mention libm performance improvements and non-x86 PI
54438         futex support.
54440         * csu/libc-start.c (__pthread_initialize_minimal): Change
54441         function arguments.
54442         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54444 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54446         [BZ #13550]
54447         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54448         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54449         <bp-sym.h> and <bp-asm.h>.
54450         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54451         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54452         and <bp-asm.h>.
54453         (memcpy): Don't use BP_SYM.
54454         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54455         <bp-asm.h>.
54456         (__mpn_add_n): Don't use BP_SYM.
54457         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54458         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54459         and <bp-asm.h>.
54460         (__mpn_addmul_1): Don't use BP_SYM.
54461         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54462         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54463         <bp-sym.h>.
54464         (_setjmp): Don't use BP_SYM.
54465         (__novmx_setjmp): Likewise.
54466         (__GI__setjmp): Likewise.
54467         (__vmx_setjmp): Likewise.
54468         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54469         <bp-sym.h>.
54470         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54471         (__bzero): Don't use BP_SYM.
54472         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54473         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54474         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54475         <bp-sym.h> and <bp-asm.h>.
54476         (memcpy): Don't use BP_SYM.
54477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54478         <bp-sym.h> and <bp-asm.h>.
54479         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54480         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54481         <bp-sym.h> and <bp-asm.h>.
54482         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54483         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54484         <bp-asm.h>.
54485         (__mpn_lshift): Don't use BP_SYM.
54486         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54487         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54488         <bp-asm.h>.
54489         (memset): Don't use BP_SYM.
54490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54492         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54493         <bp-asm.h>.
54494         (__mpn_mul_1): Don't use BP_SYM.
54495         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54496         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54497         <bp-sym.h> and <bp-asm.h>.
54498         (memcmp): Don't use BP_SYM.
54499         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54500         <bp-sym.h> and <bp-asm.h>.
54501         (memcpy): Don't use BP_SYM.
54502         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54503         <bp-sym.h> and <bp-asm.h>.
54504         (memset): Don't use BP_SYM.
54505         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54506         <bp-sym.h> and <bp-asm.h>.
54507         (strncmp): Don't use BP_SYM.
54508         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54509         <bp-sym.h> and <bp-asm.h>.
54510         (memcpy): Don't use BP_SYM.
54511         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54512         <bp-sym.h> and <bp-asm.h>.
54513         (memset): Don't use BP_SYM.
54514         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54515         <bp-sym.h> and <bp-asm.h>.
54516         (__memchr): Don't use BP_SYM.
54517         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54518         <bp-sym.h> and <bp-asm.h>.
54519         (memcmp): Don't use BP_SYM.
54520         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54521         <bp-sym.h> and <bp-asm.h>.
54522         (memcpy): Don't use BP_SYM.
54523         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54524         <bp-sym.h> and <bp-asm.h>.
54525         (__mempcpy): Don't use BP_SYM.
54526         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54527         <bp-sym.h> and <bp-asm.h>.
54528         (__memrchr): Don't use BP_SYM.
54529         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54530         <bp-sym.h> and <bp-asm.h>.
54531         (memset): Don't use BP_SYM.
54532         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54533         <bp-sym.h> and <bp-asm.h>.
54534         (__rawmemchr): Don't use BP_SYM.
54535         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54536         <bp-sym.h> and <bp-asm.h>.
54537         (__STRCMP): Don't use BP_SYM.
54538         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54539         <bp-sym.h> and <bp-asm.h>.
54540         (strchr): Don't use BP_SYM.
54541         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54542         <bp-sym.h> and <bp-asm.h>.
54543         (__strchrnul): Don't use BP_SYM.
54544         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54545         <bp-sym.h> and <bp-asm.h>.
54546         (strlen): Don't use BP_SYM.
54547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54548         <bp-sym.h> and <bp-asm.h>.
54549         (strncmp): Don't use BP_SYM.
54550         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54551         <bp-sym.h> and <bp-asm.h>.
54552         (__strnlen): Don't use BP_SYM.
54553         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54554         <bp-asm.h>.
54555         (__mpn_rshift): Don't use BP_SYM.
54556         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54557         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54558         <bp-sym.h> and <bp-asm.h>.
54559         (__sigsetjmp): Don't use BP_SYM.
54560         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54561         (L(start_addresses)): Don't use BP_SYM.
54562         (_start): Likewise.
54563         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54564         <bp-asm.h>.
54565         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54566         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54567         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54568         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54569         <bp-asm.h>.
54570         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54571         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54572         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54573         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54574         <bp-asm.h>.
54575         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54576         comments.
54577         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54578         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54579         <bp-asm.h>.
54580         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54581         FIXME comments.
54582         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54583         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54584         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54585         <bp-asm.h>.
54586         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54587         comment.
54588         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54589         and <bp-asm.h>.
54590         (strncmp): Don't use BP_SYM,
54591         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54592         <bp-asm.h>.
54593         (__mpn_sub_n): Don't use BP_SYM.
54594         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54595         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54596         and <bp-asm.h>.
54597         (__mpn_submul_1): Don't use BP_SYM.
54598         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54600         <bp-sym.h> and <bp-asm.h>.
54601         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54603         <bp-sym.h> and <bp-asm.h>.
54604         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54605         comment.
54607 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54609         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54610         Use ZK to minimize writes to Z.
54611         (sub_magnitudes): Simplify code a bit.
54612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54613         Use ZK to minimize writes to Z.
54614         (sub_magnitudes): Simplify code a bit.
54616 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54618         * csu/gmon-start.c: Add special exception to license text.
54620 2013-02-27  Richard Henderson  <rth@redhat.com>
54622         * scripts/config.guess: Update from config.git.
54623         * scripts/config.sub: Likewise.
54625 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54627         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54629         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54631         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54633         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54635         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54637 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54639         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54640         [$(build-shared = yes].
54642 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54644         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54645         (__mul): Reduce iterations for calculating mantissa.
54647         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54648         MPTWO.
54649         (__mpranred): Likewise.
54651         [BZ #15160]
54652         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54653         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54655 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54657         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54658         Define __attribute__.
54660 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54662         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54663         unused.
54664         * posix/regex_internal.h (__attribute): Remove.
54665         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54666         (re_string_context_at): Likewise.
54667         (bitset_not): Use __attribute__ and mark function as possibly
54668         unused.
54669         (bitset_merge): Likewise.
54670         (bitset_mask): Likewise.
54671         (re_string_char_size_at): Likewise.
54672         (re_string_wchar_at): Likewise.
54673         (re_string_elem_size_at): Likewise.
54675 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54677         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54678         code.
54679         (cc32): Likewise.
54681         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54682         (__acr): Likewise.
54683         (__cpy): Likewise.
54684         (norm): Likewise.
54685         (denorm): Likewise.
54686         (__dbl_mp): Likewise.
54687         (add_magnitudes): Likewise.
54688         (sub_magnitudes): Likewise.
54689         (__mul): Likewise.
54690         (__inv): Likewise.
54692         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54693         style.
54695         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54696         style.
54698         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54699         code.
54701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54702         up changes with default code.
54703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54704         Likewise.
54706 2013-02-24  Allan McRae  <allan@archlinux.org>
54708         * manual/socket.texi (The Internet Namespace): Order menu items
54709         to match that in the file.
54711         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54712         node listing of the info page menu.
54714 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54716         [BZ #13550]
54717         * sysdeps/i386/bp-asm.h: Remove file.
54718         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54719         (PARMS): Do not use macros from bp-asm.h.
54720         (S1): Likewise.
54721         (S2): Likewise.
54722         (SIZE): Likewise.
54723         (__mpn_add_n): Do not use BP_SYM
54724         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54725         "bp-asm.h".
54726         (PARMS): Do not use macros from bp-asm.h.
54727         (S1): Likewise.
54728         (SIZE): Likewise.
54729         (__mpn_addmul_1): Do not use BP_SYM
54730         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54731         "bp-asm.h".
54732         (PARMS): Do not use macros from bp-asm.h.
54733         (SIGMSK): Likewise.
54734         (_setjmp): Likewise.  Do not use BP_SYM.
54735         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54736         "bp-asm.h".
54737         (PARMS): Do not use macros from bp-asm.h.
54738         (SIGMSK): Likewise.
54739         (setjmp): Likewise.  Do not use BP_SYM.
54740         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54741         "bp-asm.h".
54742         (PARMS): Do not use macros from bp-asm.h.
54743         (__frexp): Do not use BP_SYM.
54744         (frexp): Likewise.
54745         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         (PARMS): Do not use macros from bp-asm.h.
54748         (__frexpf): Do not use BP_SYM.
54749         (frexpf): Likewise.
54750         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54751         "bp-asm.h".
54752         (PARMS): Do not use macros from bp-asm.h.
54753         (__frexpl): Do not use BP_SYM.
54754         (frexpl): Likewise.
54755         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54756         "bp-asm.h".
54757         (PARMS): Do not use macros from bp-asm.h.
54758         (__remquo): Do not use BP_SYM.
54759         (remquo): Likewise.
54760         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54761         "bp-asm.h".
54762         (PARMS): Do not use macros from bp-asm.h.
54763         (__remquof): Do not use BP_SYM.
54764         (remquof): Likewise.
54765         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54766         "bp-asm.h".
54767         (PARMS): Do not use macros from bp-asm.h.
54768         (__remquol): Do not use BP_SYM.
54769         (remquol): Likewise.
54770         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54771         "bp-asm.h".
54772         (PARMS): Do not use macros from bp-asm.h.
54773         (DEST): Likewise.
54774         (SRC): Likewise.
54775         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54776         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54777         "bp-asm.h".
54778         (PARMS): Do not use macros from bp-asm.h.
54779         (strlen): Do not use BP_SYM.
54780         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54781         "bp-asm.h".
54782         (PARMS): Do not use macros from bp-asm.h.
54783         (S1): Likewise.
54784         (S2): Likewise.
54785         (SIZE): Likewise.
54786         (__mpn_add_n): Do not use BP_SYM.
54787         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54788         "bp-asm.h".
54789         (PARMS): Do not use macros from bp-asm.h.
54790         (S1): Likewise.
54791         (SIZE): Likewise.
54792         (__mpn_addmul_1): Do not use BP_SYM.
54793         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54794         weak_alias.
54795         (bzero): Likewise.
54796         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54797         "bp-asm.h".
54798         (PARMS): Do not use macros from bp-asm.h.
54799         (S): Likewise.
54800         (SIZE): Likewise.
54801         (__mpn_lshift): Do not use BP_SYM.
54802         * sysdeps/i386/i586/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
54809         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54810         libc_hidden_def and weak_alias.
54811         (mempcpy): Do not use BP_SYM in weak_alias.
54812         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54813         "bp-asm.h".
54814         (PARMS): Do not use macros from bp-asm.h.
54815         (DEST): Likewise.
54816         (LEN): Likewise.
54817         [!BZERO_P] (CHR): Likewise.
54818         (memset): Likewise.  Do not use BP_SYM.
54819         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54820         "bp-asm.h".
54821         (PARMS): Do not use macros from bp-asm.h.
54822         (S1): Likewise.
54823         (SIZE): Likewise.
54824         (__mpn_mul_1): Do not use BP_SYM.
54825         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54826         "bp-asm.h".
54827         (PARMS): Do not use macros from bp-asm.h.
54828         (S): Likewise.
54829         (SIZE): Likewise.
54830         (__mpn_rshift): Do not use BP_SYM.
54831         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54832         "bp-asm.h".
54833         (PARMS): Do not use macros from bp-asm.h.
54834         (STR): Likewise.
54835         (CHR): Likewise.
54836         (strchr): Likewise.  Do not use BP_SYM.
54837         (index): Do not use BP_SYM in weak_alias.
54838         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54839         "bp-asm.h".
54840         (PARMS): Do not use macros from bp-asm.h.
54841         (DEST): Likewise.
54842         (SRC): Likewise.
54843         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54844         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54845         "bp-asm.h".
54846         (PARMS): Do not use macros from bp-asm.h.
54847         (strlen): Do not use BP_SYM.
54848         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54849         "bp-asm.h".
54850         (PARMS): Do not use macros from bp-asm.h.
54851         (S1): Likewise.
54852         (S2): Likewise.
54853         (SIZE): Likewise.
54854         (__mpn_sub_n): Do not use BP_SYM.
54855         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54856         "bp-asm.h".
54857         (PARMS): Do not use macros from bp-asm.h.
54858         (S1): Likewise.
54859         (SIZE): Likewise.
54860         (__mpn_submul_1): Do not use BP_SYM.
54861         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54862         "bp-asm.h".
54863         (PARMS): Do not use macros from bp-asm.h.
54864         (S1): Likewise.
54865         (S2): Likewise.
54866         (SIZE): Likewise.
54867         (__mpn_add_n): Do not use BP_SYM.
54868         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54869         weak_alias.
54870         (bzero): Likewise.
54871         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54872         "bp-asm.h".
54873         (PARMS): Do not use macros from bp-asm.h.
54874         (BLK2): Likewise.
54875         (LEN): Likewise.
54876         (memcmp): Do not use BP_SYM.
54877         (bcmp): Do not use BP_SYM in weak_alias.
54878         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54879         "bp-asm.h".
54880         (PARMS): Do not use macros from bp-asm.h.
54881         (DEST): Likewise.
54882         (SRC): Likewise.
54883         (LEN): Likewise.
54884         (memcpy): Likewise.  Do not use BP_SYM.
54885         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54886         "bp-asm.h".
54887         (PARMS): Do not use macros from bp-asm.h.
54888         (DEST): Likewise.
54889         (SRC): Likewise.
54890         (LEN): Likewise.
54891         (memmove): Likewise.  Do not use BP_SYM.
54892         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54893         "bp-asm.h".
54894         (PARMS): Do not use macros from bp-asm.h.
54895         (DEST): Likewise.
54896         (SRC): Likewise.
54897         (LEN): Likewise.
54898         (__mempcpy): Likewise.  Do not use BP_SYM.
54899         (mempcpy): Do not use BP_SYM in weak_alias.
54900         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54901         "bp-asm.h".
54902         (PARMS): Do not use macros from bp-asm.h.
54903         (DEST): Likewise.
54904         (LEN): Likewise.
54905         [!BZERO_P] (CHR): Likewise.
54906         (memset): Likewise.  Do not use BP_SYM.
54907         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54908         "bp-asm.h".
54909         (PARMS): Do not use macros from bp-asm.h.
54910         (STR2): Likewise.
54911         (strcmp): Do not use BP_SYM.
54912         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54913         "bp-asm.h".
54914         (PARMS): Do not use macros from bp-asm.h.
54915         (STR): Likewise.
54916         (DELIM): Likewise.
54917         [USE_AS_STRTOK_R] (SAVE): Likewise.
54918         (FUNCTION): Likewise.  Do not use BP_SYM.
54919         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54920         aliases.
54921         (strtok_r): Likewise.
54922         (__GI___strtok_r): Likewise.
54923         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54924         (PARMS): Do not use macros from bp-asm.h.
54925         (S): Likewise.
54926         (SIZE): Likewise.
54927         (__mpn_lshift): Do not use BP_SYM.
54928         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54929         (PARMS): Do not use macros from bp-asm.h.
54930         (STR): Likewise.
54931         (CHR): Likewise.
54932         (__memchr): Do not use BP_SYM.
54933         (memchr): Do not use BP_SYM in weak_alias.
54934         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54935         (PARMS): Do not use macros from bp-asm.h.
54936         (BLK2): Likewise.
54937         (LEN): Likewise.
54938         (memcmp): Do not use BP_SYM.
54939         (bcmp): Do not use BP_SYM in weak_alias.
54940         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54941         (PARMS): Do not use macros from bp-asm.h.
54942         (S1): Likewise.
54943         (SIZE): Likewise.
54944         (__mpn_mul_1): Do not use BP_SYM.
54945         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54946         "bp-asm.h".
54947         (PARMS): Do not use macros from bp-asm.h.
54948         (STR): Likewise.
54949         (CHR): Likewise.
54950         (__rawmemchr): Do not use BP_SYM.
54951         (rawmemchr): Do not use BP_SYM in weak_alias.
54952         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54953         (PARMS): Do not use macros from bp-asm.h.
54954         (S): Likewise.
54955         (SIZE): Likewise.
54956         (__mpn_rshift): Do not use BP_SYM.
54957         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54958         (PARMS): Do not use macros from bp-asm.h.
54959         (SIGMSK): Likewise.
54960         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54961         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54962         (_start): Do not use BP_SYM.
54963         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54964         (PARMS): Do not use macros from bp-asm.h.
54965         (DEST): Likewise.
54966         (SRC): Likewise.
54967         (__stpcpy): Likewise.  Do not use BP_SYM.
54968         (stpcpy): Do not use BP_SYM in weak_alias.
54969         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54970         "bp-asm.h".
54971         (PARMS): Do not use macros from bp-asm.h.
54972         (DEST): Likewise.
54973         (SRC): Likewise.
54974         (LEN): Likewise.
54975         (__stpncpy): Likewise.  Do not use BP_SYM.
54976         (stpncpy): Do not use BP_SYM in weak_alias.
54977         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54978         (PARMS): Do not use macros from bp-asm.h.
54979         (STR): Likewise.
54980         (CHR): Likewise.
54981         (strchr): Likewise.  Do not use BP_SYM.
54982         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54983         "bp-asm.h".
54984         (PARMS): Do not use macros from bp-asm.h.
54985         (STR): Likewise.
54986         (CHR): Likewise.
54987         (__strchrnul): Likewise.  Do not use BP_SYM.
54988         (strchrnul): Do not use BP_SYM in weak_alias.
54989         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54990         "bp-asm.h".
54991         (PARMS): Do not use macros from bp-asm.h.
54992         (STOP): Likewise.
54993         (strcspn): Do not use BP_SYM.
54994         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54995         "bp-asm.h".
54996         (PARMS): Do not use macros from bp-asm.h.
54997         (STR): Likewise.
54998         (STOP): Likewise.
54999         (strpbrk): Likewise.  Do not use BP_SYM.
55000         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55001         "bp-asm.h".
55002         (PARMS): Do not use macros from bp-asm.h.
55003         (STR): Likewise.
55004         (CHR): Likewise.
55005         (strrchr): Likewise.  Do not use BP_SYM.
55006         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55007         (PARMS): Do not use macros from bp-asm.h.
55008         (SKIP): Likewise.
55009         (strspn): Do not use BP_SYM.
55010         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55011         (PARMS): Do not use macros from bp-asm.h.
55012         (STR): Likewise.
55013         (DELIM): Likewise.
55014         (SAVE): Likewise.
55015         (FUNCTION): Likewise.  Do not use BP_SYM.
55016         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55017         aliases.
55018         (strtok_r): Likewise.
55019         (__GI___strtok_r): Likewise.
55020         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55021         (PARMS): Do not use macros from bp-asm.h.
55022         (S1): Likewise.
55023         (S2): Likewise.
55024         (SIZE): Likewise.
55025         (__mpn_sub_n): Do not use BP_SYM.
55026         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55027         "bp-asm.h".
55028         (PARMS): Do not use macros from bp-asm.h.
55029         (S1): Likewise.
55030         (SIZE): Likewise.
55031         (__mpn_submul_1): Do not use BP_SYM.
55032         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55033         <bp-sym.h>.
55034         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55035         and <bp-asm.h>.
55036         (PARMS): Do not use macros from bp-asm.h.
55037         (FLAGS): Likewise.
55038         (PTID): Likewise.
55039         (TLS): Likewise.
55040         (CTID): Likewise.
55041         (__clone): Do not use BP_SYM.
55042         (clone): Do not use BP_SYM in weak_alias.
55043         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55044         and <bp-asm.h>.
55045         (PARMS): Do not use macros from bp-asm.h.
55046         (LEN): Likewise.
55047         (__mmap64): Do not use BP_SYM.
55048         (mmap64): Do not use BP_SYM in weak_alias.
55049         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55050         <bp-sym.h> and <bp-asm.h>.
55051         (PARMS): Do not use macros from bp-asm.h.
55052         (__posix_fadvise64_l64): Do not use BP_SYM.
55053         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55054         (PARMS): Do not use macros from bp-asm.h.
55055         (NSOPS): Likewise.
55056         (semtimedop): Do not use BP_SYM.
55057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55058         and <bp-asm.h>.
55060 2013-02-21  Allan McRae  <allan@archlinux.org>
55062         * manual/message.texi (Charset conversion in gettext):
55063         Move @end statement to beginning of line.
55065 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55068         static.
55069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55070         Likewise.
55072         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55073         (denorm): Likewise.
55074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55077 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55079         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55080         tail-call to the resolved function if pltexit isn't needed.
55082 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55085         or Y being zero as being unlikely.
55086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55087         Likewise.
55089 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55091         * manual/nss.texi (System Databases and Name Service Switch):
55092         Remove frobnicate @pxref.
55094 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55096         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55097         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55099 2013-02-20  Petr Machata  <pmachata@redhat.com>
55101         * elf/elf.h (R_ARM_TARGET1): New macro.
55102         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55103         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55104         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55105         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55106         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55107         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55108         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55109         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55110         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55111         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55112         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55113         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55114         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55115         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55116         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55117         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55118         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55119         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55120         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55121         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55122         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55123         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55124         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55125         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55126         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55127         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55128         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55129         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55130         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55131         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55132         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55133         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55134         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55135         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55136         (R_ARM_THM_GOT_BREL12): Likewise.
55137         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55138         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55139         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55140         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55141         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55142         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55143         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55144         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55145         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55147 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55149         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55150         __attribute_used__ to __attribute__ ((unused)).
55152 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55154         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55155         powerpc mpa.c.
55156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55157         comment formatting.
55158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55160 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55162         [BZ #13550]
55163         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55164         Remove macro.
55165         (ENTER): Remove both macro definitions.
55166         (LEAVE): Likewise.
55167         (CHECK_BOUNDS_LOW): Likewise.
55168         (CHECK_BOUNDS_HIGH): Likewise.
55169         (CHECK_BOUNDS_BOTH): Likewise.
55170         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55171         (RETURN_BOUNDED_POINTER): Likewise.
55172         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55173         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55174         (POP_ERRNO_LOCATION_RETURN): Likewise.
55175         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55176         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55177         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55178         macros.
55179         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55180         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55181         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55182         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55183         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55184         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55185         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55186         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55187         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55188         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55189         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55190         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55191         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55192         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55193         removed macros.
55194         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55195         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55196         macros.
55197         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55198         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55199         * sysdeps/i386/i586/memset.S (memset): Likewise.
55200         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55201         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55202         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55203         macros.
55204         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55205         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55206         Change uses of L(2) to L(out).
55207         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55208         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55209         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55210         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55211         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55212         removed macros.
55213         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55214         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55215         macros.
55216         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55217         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55218         (RETURN): Do not use macro LEAVE.
55219         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55220         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55221         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55222         * sysdeps/i386/i686/memset.S (memset): Likewise.
55223         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55224         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55225         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55226         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55227         Likewise.
55228         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55229         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55230         L(1_2) and L(1_3) into L(1).
55231         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55232         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55233         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55234         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55235         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55236         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55237         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55238         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55239         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55240         macros.
55241         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55242         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55243         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55244         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55245         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55246         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55247         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55248         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55249         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55250         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55251         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55252         * sysdeps/i386/strspn.S (strspn): Likewise.
55253         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55254         conditional code.
55255         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55256         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55257         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55258         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55259         L(1_3) into L(1_1).
55260         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55261         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55262         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55263         macros.
55264         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55266 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55268         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55269         macro.
55271 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55273         * math/atest-exp.c (exp_mpn): Remove ROUND.
55274         * math/atest-exp2.c (exp_mpn): Likewise.
55275         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55277         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55278         * stdlib/tst-tls-atexit-lib.c: Likewise.
55279         * stdlib/tst-tls-atexit.c: Likewise.
55281 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55283         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55284         and __attribute_alloc_size__.
55286 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55288         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55289         __attribute_alloc_size__.
55290         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55291         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55293 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55295         * include/programs/xmalloc.h: New file.
55296         * catgets/gencat.c: Include it.
55297         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55298         * elf/pldd.c: Likewise.
55299         * iconv/iconv_charmap.c: Likewise.
55300         * iconv/iconvconfig.c: Likewise.
55301         * iconv/strtab.c: Likewise.
55302         * locale/programs/locale.c: Likewise.
55303         * locale/programs/localedef.h: Likewise.
55304         * locale/programs/simple-hash.c: Likewise.
55305         * nscd/nscd.h: Likewise.
55306         * nss/makedb.c: Likewise.
55307         * sysdeps/generic/ldconfig.h: Likewise.
55309 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55311         * Versions.def: Add GLIBC_2.18.
55312         * include/link.h (struct link_map): New member l_tls_dtor_count.
55313         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55314         (__call_tls_dtors): Likewise.
55315         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55316         __cxa_thread_atexit_impl.
55317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55318         Likewise.
55319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55320         Likewise.
55321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55322         Likewise.
55323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55324         Likewise.
55325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55327         Likewise.
55328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55329         Likewise.
55330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55332         Likewise.
55333         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55334         (tests): Add test case tst-tls-atexit.
55335         (modules-names): Add shared library for tst-tls-atexit.
55336         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55337         (GLIBC_PRIVATE): Add __call_tls_dtors.
55338         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55339         for libstdc++.
55340         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55341         * stdlib/tst-tls-atexit.c: New test case.
55342         * stdlib/tst-tls-atexit-lib.c: New test case.
55344         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55346         * elf/Versions (ld): Add _dl_find_dso_for_object.
55347         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55348         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55349         (dl_open_worker): Use _dl_find_dso_for_object.
55350         * elf/dl-sym.c (do_sym): Likewise.
55351         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55353 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55355         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55356         Syntactic changes only.
55357         (_dl_runtime_profile): Do a tail-call to the resolved function.
55359 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55361         [BZ #13550]
55362         * sysdeps/x86_64/bp-asm.h: Remove file.
55363         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55364         <bp-sym.h> and <bp-asm.h>.
55365         (__clone): Do not use BP_SYM.
55366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55367         <bp-sym.h> and <bp-asm.h>.
55368         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55369         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55370         "bp-asm.h".
55371         (_setjmp): Do not use BP_SYM.
55372         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55373         "bp-asm.h".
55374         (setjmp): Do not use BP_SYM.
55375         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55376         libc_hidden_def.
55377         (mempcpy): Do not use BP_SYM in weak_alias.
55378         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55379         "bp-asm.h".
55380         (strchr): Do not use BP_SYM.
55381         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55382         "bp-asm.h".
55383         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55384         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55385         (_start): Do not use BP_SYM.
55386         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55387         "bp-asm.h".
55388         (strcat): Do not use BP_SYM.
55389         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55390         "bp-asm.h".
55391         (STRCMP): Do not use BP_SYM.
55392         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55393         "bp-asm.h".
55394         (STRCPY): Do not use BP_SYM.
55395         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55396         "bp-asm.h".
55397         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55398         "bp-asm.h".
55399         (FUNCTION): Do not use BP_SYM.
55400         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55401         weak_alias.
55402         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55404 2013-02-17  Andreas Jaeger  <aj@suse.de>
55406         * time/Versions: Sort entries.
55407         * string/Versions: Likewise.
55408         * resolv/Versions: Likewise.
55409         * posix/Versions: Likewise.
55410         * iconv/Versions: Likewise.
55411         * elf/Versions: Likewise.
55412         * wcsmbs/Versions: Likewise.
55414 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55416         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55417         loop termination condition.
55419         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55420         variable to calculate EZ.
55421         (__sqr): Likewise.
55423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55424         the lower precision input.
55426 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55428         [BZ #13550]
55429         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55430         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55431         (run-via-rtld-prefix): Do not handle %-bp tests.
55432         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55433         (all-object-suffixes): Remove .ob.
55434         (bppfx): Remove variable.
55435         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55436         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55437         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55438         [$(build-bounded) = yes] (libtype.ob): Likewise.
55439         * Makerules (elide-routines.ob): Remove variable.
55440         (do-tests-clean): Do not handle *-bp.out.
55441         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55442         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55443         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55444         (tests): Do not include $(tests-bp.out).
55445         (xtests): Do not include $(xtests-bp.out).
55446         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55447         [$(build-bounded) = yes] ($(addprefix
55448         $(objpfx),$(binaries-bounded))): Remove rule.
55449         ($(objpfx)%-bp.out): Remove rule.
55450         * config.make.in (build-bounded): Remove variable.
55451         * crypt/Makefile [$(build-bounded) = yes]
55452         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55453         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55454         append to variable.
55455         [$(build-bounded) = yes] (install-lib): Likewise.
55456         [$(build-bounded) = yes] (generated): Likewise.
55457         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55458         Remove rule.
55459         * intl/Makefile [$(build-bounded) = yes]
55460         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55461         * math/Makefile [$(build-bounded) = yes]
55462         ($(tests:%=$(objpfx)%-bp): Likewise.
55463         * misc/Makefile [$(build-bounded) = yes]
55464         ($(objpfx)tst-tsearch-bp): Likewise.
55465         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55466         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55467         Remove dependency.
55468         * string/Makefile (o-objects.ob): Remove variable.
55469         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55470         (CFLAGS-.ob): Remove variable.
55471         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55472         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55473         both definitions of variable.
55474         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55475         (ASFLAGS-.ob): Remove variable.
55477 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55479         [BZ #13550]
55480         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55481         Remove __BOUNDED_POINTERS__ from condition.
55482         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55483         * string/bits/string2.h [!__NO_STRING_INLINES &&
55484         !__BOUNDED_POINTERS__]: Likewise.
55485         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55486         Likewise.
55487         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55488         Remove conditional code.
55489         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55490         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55491         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55492         condition.
55494         [BZ #13550]
55495         * csu/libc-start.c: Do not include <bp-sym.h>.
55496         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55497         * elf/dl-open.c: Do not include <bp-sym.h>.
55498         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55499         * math/fegetenv.c: Do not include <bp-sym.h>.
55500         (fegetenv): Do not use BP_SYM in versioned symbols.
55501         * nptl/sysdeps/pthread/bits/libc-lockP.h
55502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55503         <bp-sym.h>.
55504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55505         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55507         (__pthread_mutex_destroy): Likewise.
55508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55509         (__pthread_mutex_lock): Likewise.
55510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55511         (__pthread_mutex_trylock): Likewise.
55512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55513         (__pthread_mutex_unlock): Likewise.
55514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55515         (__pthread_mutexattr_init): Likewise.
55516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55517         (__pthread_mutexattr_destroy): Likewise.
55518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55519         (__pthread_mutexattr_settype): Likewise.
55520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55521         (__pthread_rwlock_init): Likewise.
55522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55523         (__pthread_rwlock_destroy): Likewise.
55524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55525         (__pthread_rwlock_rdlock): Likewise.
55526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55527         (__pthread_rwlock_tryrdlock): Likewise.
55528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55529         (__pthread_rwlock_wrlock): Likewise.
55530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55531         (__pthread_rwlock_trywrlock): Likewise.
55532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55533         (__pthread_rwlock_unlock): Likewise.
55534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55535         (__pthread_key_create): Likewise.
55536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55537         (__pthread_setspecific): Likewise.
55538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55539         (__pthread_getspecific): Likewise.
55540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55541         Likewise.
55542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55543         (_pthread_cleanup_push_defer): Likewise.
55544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55545         (_pthread_cleanup_pop_restore): Likewise.
55546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55547         (pthread_setcancelstate): Likewise.
55548         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55549         <bp-sym.h>.
55550         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55551         (memchr): Do not use BP_SYM in weak_alias.
55552         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55553         (fegetenv): Do not use BP_SYM in versioned symbols.
55554         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55555         (fesetenv): Do not use BP_SYM in versioned symbols.
55556         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55557         (feupdateenv): Do not use BP_SYM in versioned symbols.
55558         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55559         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55560         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55561         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55562         (open64): Do not use BP_SYM in weak_alias.
55563         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55564         (fegetenv): Do not use BP_SYM in versioned symbols.
55565         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55566         (fesetenv): Do not use BP_SYM in versioned symbols.
55567         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55568         (feupdateenv): Do not use BP_SYM in versioned symbols.
55569         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55570         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55571         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55572         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55573         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55574         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55576         <bp-sym.h>.
55577         (__libc_start_main): Do not use BP_SYM.
55579 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55582         redundant return line.
55583         (norm): Likewise.
55584         (denorm): Likewise.
55585         (dbl_mp): Likewise.
55586         (sub_magnitudes): Likewise.
55587         (__add): Likewise.
55588         (__sub): Likewise.
55589         (__mul): Likewise.
55590         (__inv): Likewise.
55591         (__dvd): Likewise.
55592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55593         (norm): Likewise.
55594         (denorm): Likewise.
55595         (dbl_mp): Likewise.
55596         (sub_magnitudes): Likewise.
55597         (__add): Likewise.
55598         (__sub): Likewise.
55599         (__mul): Likewise.
55600         (__inv): Likewise.
55601         (__dvd): Likewise.
55603         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55604         instead of __mul.
55605         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55606         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55607         (cc32): Likewise.
55609         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55610         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55611         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55612         of __mul for squares.
55613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55614         function
55615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55616         Likewise.
55617         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55618         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55620 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55622         [BZ #13550]
55623         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55624         code.
55625         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55626         prototype or function definition.  Rename ubp_* variables and
55627         parameters.  Remove argv definitions conditional on
55628         [__BOUNDED_POINTERS__].
55629         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55630         * elf/dl-runtime.c (_dl_fixup): Likewise.
55631         * include/set-hooks.h (RUN_HOOK): Likewise.
55632         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55633         definition.
55634         * string/strcpy.c (strcpy): Do not use __unbounded.
55635         * sysdeps/generic/frame.h (struct layout): Likewise.
55636         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55637         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55638         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55639         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55640         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55641         (__backtrace): Likewise.
55642         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55643         use __ptrvalue.
55644         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55645         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55646         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55647         Likewise.
55648         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55649         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55650         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55651         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55652         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55653         Do not use __unbounded.
55654         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55655         Rename __unboundedrlimits parameter to rlimits in prototype.
55656         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55657         Do not use __unbounded.
55658         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55659         not use __ptrvalue.
55660         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55661         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55662         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55663         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55664         __ptrvalue or __unbounded.
55665         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55666         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55667         use __unbounded.
55668         (__new_msgctl): Do not use __ptrvalue.
55669         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55670         __unbounded.
55671         (__libc_msgrcv): Do not use __ptrvalue.
55672         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55673         startup_info): Do not use __unbounded.
55674         (__libc_start_main): Likewise.  Rename ubp_* variables and
55675         parameters.  Remove argv definitions conditional on
55676         [__BOUNDED_POINTERS__].
55677         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55678         __ptrvalue.
55679         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55680         use __unbounded.
55681         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55682         or __ptrvalue.
55683         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55684         use __unbounded.
55685         (__new_shmctl): Do not use __ptrvalue.
55686         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55687         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55688         Likewise.
55689         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55690         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55691         (__libc_sigaction): Likewise.
55692         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55693         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55694         Likewise.
55695         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55697 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55699         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55701         * string/mempcpy.c: Implement by calling memcpy.
55703 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55708         evaluation.
55710         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55711         values in the mantissa.
55713         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55714         minimize writes to Z.
55715         (sub_magnitudes): Simplify code a bit.
55717 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55719         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55720         from the message.  The linker prefixes all warnings with that already.
55722 2013-02-12  Andreas Schwab  <schwab@suse.de>
55724         [BZ #15078]
55725         * posix/regexec.c (extend_buffers): Add parameter min_len.
55726         (check_matching): Pass minimum needed length.
55727         (clean_state_log_if_needed): Likewise.
55728         (get_subexp): Likewise.
55729         * posix/Makefile (tests): Add bug-regex34.
55730         (bug-regex34-ENV): Define.
55731         * posix/bug-regex34.c: New file.
55733         [BZ #11561]
55734         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55735         elements compare against the byte sequence of it, not its name.
55736         * posix/Makefile (tests): Add bug-regex35.
55737         (bug-regex35-ENV): Define.
55738         * posix/bug-regex35.c: New file.
55740 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55742         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55743         comment.
55744         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55745         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55746         (CHECK_EOL): Add undef.
55748 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55750         * bits/stdlib-bsearch.h: New file.
55751         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55752         * stdlib/stdlib.h: Likewise.
55754 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55756         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55757         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55758         declaration.
55759         * manual/search.texi (Array Search Function): Add missing const in
55760         lfind prototype.
55761         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55762         declaration to use rlim_t.
55763         (Basic Scheduling Functions): Remove erroneous const from
55764         sched_getparam prototype.  Remove erroneous * from
55765         sched_get_priority_max and sched_get_priority_min prototypes.
55766         (Resource Usage): Fix summary @comment on vtimes to refer to
55767         sys/vtimes.h rather than vtimes.h.
55768         Add missing *s in vtimes prototype.
55769         (Limits on Resources): Fix ulimit prototype to return long int.
55770         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55771         prototypes to use long int rather than double.
55772         (BSD Random): Fix initstate and setstate to use char *, not void *.
55773         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55774         prototype to make second argument 'struct aiocb64 *const[]'.
55775         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55776         (Status of AIO Operations): Remove erroneous const in aio_return and
55777         aio_return64 prototypes.
55778         (Synchronizing I/O): Fix sync prototype to return void.
55779         * manual/startup.texi (Suboptions): Remove an erroneous const in
55780         getsubopt prototype.
55781         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55782         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55783         use size_t rather than int.
55784         (Scanning All Users): Likewise for getpwent_r.
55785         (Setting Groups): Add missing const to setgroups prototype.
55786         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55787         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55788         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55789         'const void *' rather than 'const char *'.
55790         (Host Address Functions): Likewise for inet_ntop.
55791         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55792         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55793         ssize_t for return value.
55794         (Sending Data): Likewise for send, sendto, sendmsg.
55795         (Socket Option Functions): Add a missing const in setsockopt prototype.
55796         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55797         use wchar_t for the argument.
55798         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55799         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55800         take no arguments.
55801         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55802         double/float/long double for second argument.
55803         Fix return types of significand, significandf, significandl.
55804         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55805         argument in fchmod prototype.
55806         (File Owner): Use uid_t and gid_t in fchown prototype.
55807         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55808         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55809         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55810         use 'const struct dirent **' as argument types to CMP function pointer
55811         argument.
55812         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55813         (File Times): Fix summary magic @comment for struct utimbuf and utime
55814         to refer to utime.h, not time.h.
55815         * manual/string.texi (Argz Functions): Add missing const in
55816         argz_extract and argz_next prototypes.
55817         (Finding Tokens in a String): Likewise for basename.
55818         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55819         (Copying and Concatenation): Fix typo in wmemmove prototype.
55820         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55821         (Signal Stack): Remove erroneous const in sigstack prototype.
55822         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55823         prototype.
55824         (Simple Calendar Time): Likewise for stime.
55825         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55826         prototype.
55827         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55828         say sys/sysctl.h instead.
55829         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55830         and vsyslog prototypes.
55832 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55834         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55835         Remove.
55837 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55839         * misc/sys/mman.h: Fix typo in mremap comment.
55841 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55843         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55844         the '\0' terminator.
55846 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55848         [BZ #13550]
55849         * debug/segfault.c: Don't include <bp-checks.h>.
55850         * sysdeps/generic/bp-checks.h: Remove file.
55851         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55852         (__GETDENTS): Don't use CHECK_N.
55853         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55854         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55855         (__getgroups): Don't use CHECK_N.
55856         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55857         (setgroups): Don't use CHECK_N.
55858         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55859         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55860         (__libc_msgrcv): Don't use CHECK_N.
55861         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55862         (__libc_msgsnd): Don't use CHECK_N.
55863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55864         <bp-checks.h>.
55865         (__libc_pread): Don't use CHECK_N.
55866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55867         include <bp-checks.h>.
55868         (__libc_pread64): Don't use CHECK_N.
55869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55870         include <bp-checks.h>.
55871         (__libc_pwrite): Don't use CHECK_N.
55872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55873         include <bp-checks.h>.
55874         (__libc_pwrite64): Don't use CHECK_N.
55875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55876         <bp-checks.h>.
55877         (__libc_pread): Don't use CHECK_N.
55878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55879         include <bp-checks.h>.
55880         (__libc_pread64): Don't use CHECK_N.
55881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55882         include <bp-checks.h>.
55883         (__libc_pwrite): Don't use CHECK_N.
55884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55885         include <bp-checks.h>.
55886         (__libc_pwrite64): Don't use CHECK_N.
55887         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55888         (do_pread): Don't use CHECK_N.
55889         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55890         (do_pread64): Don't use CHECK_N.
55891         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55892         (do_pwrite): Don't use CHECK_N.
55893         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55894         (do_pwrite64): Don't use CHECK_N.
55895         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55896         (__libc_readv): Don't use CHECK_N.
55897         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55898         (semop): Don't use CHECK_N.
55899         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55900         <bp-checks.h>.
55901         (semtimedop): Don't use CHECK_N.
55902         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55903         (__libc_pread): Don't use CHECK_N.
55904         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55905         <bp-checks.h>.
55906         (__libc_pread64): Don't use CHECK_N.
55907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55908         <bp-checks.h>.
55909         (__libc_pwrite): Don't use CHECK_N.
55910         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55911         <bp-checks.h>.
55912         (__libc_pwrite64): Don't use CHECK_N.
55913         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55914         <bp-checks.h>.
55915         (__libc_msgrcv): Don't use CHECK_N.
55916         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55917         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55918         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55919         (__libc_writev): Don't use CHECK_N.
55921 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55923         * string/strcpy.c: Removed unused variable.
55925         * Makeconfig (+sysdep-includes): Define with := rather than =.
55926         Use an existing include/ subdir of each sysdeps dir before it.
55928 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55930         * nscd/connection.c (register_traced_file): Comment function.
55931         [HAVE_INOTIFY] (union __inev): Define.
55932         [HAVE_INOTIFY] (inotify_check_files): New function.
55933         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55934         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55935         clear_db_cache.
55936         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55938 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55940         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55941         loaded if not already and that a failure is permanent.
55943 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55945         [BZ #15006]
55946         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55947         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55949 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55951         [BZ #13550]
55952         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55953         (CHECK_1_NULL_OK): Likewise.
55954         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55955         (__fxstat): Do not use CHECK_1.
55956         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55957         <bp-checks.h>.
55958         (___fxstat64): Do not use CHECK_1.
55959         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55960         <bp-checks.h>.
55961         (__fxstatat): Do not use CHECK_1.
55962         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55963         <bp-checks.h>.
55964         (__fxstatat64): Do not use CHECK_1.
55965         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55966         <bp-checks.h>.
55967         (__fxstat): Do not use CHECK_1.
55968         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55969         <bp-checks.h>.
55970         (__fxstatat): Do not use CHECK_1.
55971         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55972         <bp-checks.h>.
55973         (__getresgid): Do not use CHECK_1.
55974         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55975         <bp-checks.h>.
55976         (__getresuid): Do not use CHECK_1.
55977         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55978         <bp-checks.h>.
55979         (__lxstat): Do not use CHECK_1.
55980         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55981         <bp-checks.h>.
55982         (__old_msgctl): Do not use CHECK_1.
55983         (__new_msgctl): Likewise.
55984         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55985         <bp-checks.h>.
55986         (__new_setrlimit): Do not use CHECK_1.
55987         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55988         <bp-checks.h>.
55989         (__old_shmctl): Do not use CHECK_1.
55990         (__new_shmctl): Likewise.
55991         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55992         <bp-checks.h>.
55993         (__xstat): Do not use CHECK_1.
55994         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55995         (__lxstat): Do not use CHECK_1.
55996         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55997         <bp-checks.h>.
55998         (___lxstat64): Do not use CHECK_1.
55999         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56000         (__old_msgctl): Do not use CHECK_1.
56001         (__new_msgctl): Likewise.
56002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56003         <bp-checks.h>.
56004         (__gettimeofday): Do not use CHECK_1.
56005         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56006         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56007         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56008         <bp-checks.h>.
56009         (__gettimeofday): Do not use CHECK_1.
56010         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56011         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56012         (__new_shmctl): Do not use CHECK_1.
56013         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56014         <bp-checks.h>.
56015         (do_sigtimedwait): Do not use CHECK_1.
56016         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56017         <bp-checks.h>.
56018         (do_sigwaitinfo): Do not use CHECK_1.
56019         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56020         <bp-checks.h>.
56021         (msgctl): Do not use CHECK_1.
56022         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56023         <bp-checks.h>.
56024         (shmctl): Do not use CHECK_1.
56025         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56026         (ustat): Do not use CHECK_1.
56027         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56028         <bp-checks.h>.
56029         (__fxstat): Do not use CHECK_1.
56030         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56031         <bp-checks.h>.
56032         (__fxstatat): Do not use CHECK_1.
56033         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56034         <bp-checks.h>.
56035         (__lxstat): Do not use CHECK_1.
56036         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56037         <bp-checks.h>.
56038         (__xstat): Do not use CHECK_1.
56039         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56040         (__xstat): Do not use CHECK_1.
56041         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56042         (___xstat64): Do not use CHECK_1.
56044         [BZ #13550]
56045         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56046         definitions.
56047         (CHECK_BOUNDS_HIGH): Likewise.
56048         * string/strcpy.c: Do not include <bp-checks.h>.
56049         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56051 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56053         * nscd/nscd-client.h (__nscd_drop_map_ref):
56054         Add __attribute__ ((unused)).
56055         * nis/nss-nisplus.h (niserr2nss): Likewise.
56057         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56058         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56060         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56061         Remove inline keyword.
56062         * include/rounding-mode.h (round_away): Likewise.
56063         * libio/wfileops.c (adjust_wide_data): Likewise.
56064         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56065         (__m128i_strloadu_tolower): Likewise.
56066         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56067         (__m128i_strloadu_tolower): Likewise.
56068         * time/mktime.c (ydhms_diff): Likewise.
56069         * locale/elem-hash.h (elem_hash): Likewise.
56070         * locale/setlocale.c (setdata): Likewise.
56071         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56072         (re_string_wchar_at): Likewise.
56073         (bitset_not, bitset_merge, bitset_mask): Likewise.
56074         [!(__GNUC__ > 3)] (inline): Remove macro.
56075         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56076         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56077         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56078         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56079         * string/memcmp.c (memcmp_bytes): Likewise.
56080         * locale/programs/locarchive.c (compute_hashval): Likewise.
56081         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56082         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56083         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56084         * nss/getent.c (print_rpc, print_protocols): Likewise.
56085         (print_passwd, print_group, print_aliases): Likewise.
56086         * nis/nss-nisplus.h (niserr2nss): Likewise.
56087         * nscd/connections.c (restart_p): Likewise.
56088         Change return type to bool.
56090 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56092         * Makeconfig (all-Depend-files): Add existing
56093         $(sorted-subdirs:=/Depend) files.
56094         (all-subdirs): Remove nss.
56095         * sysdeps/unix/inet/Subdirs: Add it here instead.
56096         * hesiod/Depend: New file.
56098         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56099         instead of calling alloca.
56101         * io/lseek.c (__lseek): Rename to __libc_lseek.
56102         Define __lseek as an alias.
56104         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56106 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56108         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56109         else clause and remove check for non-standard endianness.
56111 2013-02-04  David S. Miller  <davem@davemloft.net>
56113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56115 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56117         [BZ #13550]
56118         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56119         (__ubp_memchr): Remove prototype.
56120         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56121         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56122         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56123         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56124         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56125         Remove alias.
56126         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56127         (__ubp_memchr): Likewise.
56128         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56129         (__ubp_memchr): Likewise.
56130         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56131         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56132         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56133         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56134         CHECK_STRING.
56135         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56136         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56137         (__getcwd): Do not use CHECK_STRING.
56138         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56139         <bp-checks.h>.
56140         (__real_chown): Do not use CHECK_STRING.
56141         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56142         <bp-checks.h>.
56143         (fchownat): Do not use CHECK_STRING.
56144         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56145         CHECK_STRING.
56146         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56147         <bp-checks.h>.
56148         (__lchown): Do not use CHECK_STRING.
56149         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56150         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56151         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56152         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56154         include <bp-checks.h>.
56155         (truncate64): Do not use CHECK_STRING.
56156         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56157         <bp-checks.h>.
56158         (__real_chown): Do not use CHECK_STRING.
56159         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56160         <bp-checks.h>.
56161         (__lchown): Do not use CHECK_STRING.
56162         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56163         <bp-checks.h>.
56164         (__chown): Do not use CHECK_STRING.
56165         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56166         <bp-checks.h>.
56167         (truncate64): Do not use CHECK_STRING.
56168         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56169         Likewise.
56170         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56171         (__xmknod): Do not use CHECK_STRING.
56172         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56173         <bp-checks.h>.
56174         (__xmknodat): Do not use CHECK_STRING.
56175         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56176         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56178 2013-02-04  Andreas Schwab  <schwab@suse.de>
56180         [BZ #14142]
56181         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56182         * include/netdb.h: Likewise for h_errno.
56183         * elf/tst-stackguard1.c: Include <tls.h>.
56185 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56187         * elf/link.h (struct link_map): Extend the l_addr comment.
56188         * include/link.h (struct link_map): Likewise.
56190 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56192         [BZ #13550]
56193         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56194         (BOUNDED_1): Remove macro.
56195         * debug/backtrace.c: Don't include <bp-checks.h>.
56196         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56197         (__backtrace): Likewise.
56198         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56199         <bp-checks.h>.
56200         (__backtrace): Don't use BOUNDED_1.
56201         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56202         <bp-checks.h>.
56203         (__backtrace): Don't use BOUNDED_1.
56204         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56205         (__backtrace): Don't use BOUNDED_1.
56206         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56207         (shmat): Don't use BOUNDED_N.
56209 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56211         [BZ #13550]
56212         * sysdeps/generic/bp-start.h: Remove file.
56213         * csu/libc-start.c: Don't include <bp-start.h>.
56214         (LIBC_START_MAIN): Set up __environ directly instead of using
56215         INIT_ARGV_and_ENVIRON.
56216         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56217         <bp-start.h>.
56219         [BZ #13550]
56220         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56221         definitions.
56222         (CHECK_FCNTL): Likewise.
56223         (CHECK_N_PAGES): Likewise.
56225         [BZ #13550]
56226         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56227         definitions.
56228         (CHECK_SIGSET_NULL_OK): Likewise.
56229         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56230         <bp-checks.h>.
56231         (sigpending): Don't use CHECK_SIGSET.
56232         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56233         <bp-checks.h>.
56234         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56235         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56236         <bp-checks.h>.
56237         (do_sigsuspend): Don't use CHECK_SIGSET.
56238         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56239         use CHECK_SIGSET.
56240         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56241         (do_sigwait): Don't use CHECK_SIGSET.
56242         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56243         use CHECK_SIGSET.
56244         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56245         include <bp-checks.h>.
56246         (sigpending): Don't use CHECK_SIGSET.
56247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56248         include <bp-checks.h>.
56249         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56250         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56251         <bp-checks.h>.
56252         (sigpending): Don't use CHECK_SIGSET.
56253         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56254         <bp-checks.h>.
56255         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56257         [BZ #13550]
56258         * sysdeps/generic/bp-semctl.h: Remove file.
56259         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56260         <bp-checks.h> and <bp-semctl.h>.
56261         (__old_semctl): Don't use CHECK_SEMCTL.
56262         (__new_semctl): Likewise.
56263         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56264         and <bp-semctl.h>.
56265         (__old_semctl): Don't use CHECK_SEMCTL.
56266         (__new_semctl): Likewise.
56267         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56268         <bp-checks.h> and <bp-semctl.h>.
56269         (__old_semctl): Don't use CHECK_SEMCTL.
56270         (__new_semctl): Likewise.
56271         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56272         <bp-checks.h> and <bp-semctl.h>.
56273         (semctl): Don't use CHECK_SEMCTL.
56275         [BZ #13550]
56276         * Makerules (elide-bp-thunks): Remove variable.
56277         (elide-routines.oS): Don't use $(elide-bp-thunks).
56278         (elide-routines.os): Likewise.
56279         (elide-routines.o): Likewise.
56280         (elide-routines.op): Likewise.
56281         (elide-routines.og): Likewise.
56282         (objects): Don't use $(bp-thunks).
56283         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56284         include.
56285         (common-generated): Do not add s-proto-bp.d.
56286         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56287         (int): Likewise.
56288         (typ): Likewise.
56289         Do not generate makefile rules for bounded-pointer thunks.
56290         * sysdeps/generic/bp-thunks.h: Remove file.
56291         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56292         * sysdeps/unix/s-proto-bp.S: Likewise.
56294         [BZ #15062]
56295         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56296         parts of result separately when argument is not close to line from
56297         -i to i and one part of argument is small.
56298         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56299         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56300         * math/libm-test.inc (cacos_test): Add more tests.
56301         (casin_test): Likewise.
56302         (casinh_test): Likewise.
56303         * sysdeps/i386/fpu/libm-test-ulps: Update.
56304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56306 2013-01-31  David S. Miller  <davem@davemloft.net>
56308         * po/de.po: Update from translation team.
56310 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56312         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56314 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56316         * configure.in (_AC_PROG_CC_C89): New definition.
56317         * configure: Regenerate.
56319         * configure.in (AC_PROG_CPP): New definition.
56320         * configure: Regenerate.
56322 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56324         * debug/tst-backtrace.h: New file.
56325         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56326         (ret): Remove variable.
56327         (x): Likewise.
56328         (FAIL): Remove macro.
56329         (NO_INLINE): Likewise.
56330         (fn1): Use match function instead of strstr.
56331         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56332         (ret): Remove variable.
56333         (x): Likewise.
56334         (FAIL): Remove macro.
56335         (NO_INLINE): Likewise.
56336         (fn): Use match function instead of strstr.
56337         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56338         (ret): Remove variable.
56339         (x): Likewise.
56340         (FAIL): Remove macro.
56341         (NO_INLINE): Likewise.
56342         (handle_signal): Use match function instead of strstr.
56343         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56344         (ret): Remove variable.
56345         (x): Likewise.
56346         (FAIL): Remove macro.
56347         (NO_INLINE): Likewise.
56348         (handle_signal): Use match function instead of strstr.
56350 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56352         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56354 2013-01-23  David S. Miller  <davem@davemloft.net>
56356         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56357         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56358         argument of CAS if possible.
56359         * sysdeps/sparc/sparc64/bits/atomic.h
56360         (__arch_compare_and_exchange_val_32_acq): Likewise.
56361         (__arch_compare_and_exchange_val_64_acq): Likewise.
56363 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56365         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56366         * sysdeps/posix/ulimit.c: ... this.
56367         Include <limits.h>.
56368         * sysdeps/unix/bsd/ulimit.c: Remove file.
56370 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56372         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56373         (LDFLAGS-tst-array5): Likewise.
56375 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56377         [BZ #15036]
56378         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56379         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56380         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56381         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56383 2013-01-21  David S. Miller  <davem@davemloft.net>
56385         * sysdeps/sparc/backtrace.c: New file.
56386         * sysdeps/sparc/sparc32/backtrace.h: New file.
56387         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56388         * sysdeps/sparc/sparc64/backtrace.h: New file.
56389         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56390         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56391         -funwind-tables.
56393 2013-01-21  Andreas Schwab  <schwab@suse.de>
56395         [BZ #15020]
56396         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56397         closed its stdout.
56399 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56402         "mpa2.h".
56403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56405 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56406             Mark Mitchell  <mark@codesourcery.com>
56407             Tom de Vries  <tom@codesourcery.com>
56408             Paul Pluzhnikov  <ppluzhnikov@google.com>
56410         * debug/tst-backtrace2.c: New file.
56411         * debug/tst-backtrace3.c: Likewise.
56412         * debug/tst-backtrace4.c: Likewise.
56413         * debug/tst-backtrace5.c: Likewise.
56414         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56415         (CFLAGS-tst-backtrace3.c): Likewise.
56416         (CFLAGS-tst-backtrace4.c): Likewise.
56417         (CFLAGS-tst-backtrace5.c): Likewise.
56418         (LDFLAGS-tst-backtrace2): Likewise.
56419         (LDFLAGS-tst-backtrace3): Likewise.
56420         (LDFLAGS-tst-backtrace4): Likewise.
56421         (LDFLAGS-tst-backtrace5): Likewise.
56422         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56423         tst-backtrace4 and tst-backtrace5.
56425 2013-01-18  Anton Blanchard  <anton@samba.org>
56426             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56428         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56429         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56430         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56431         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56433         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56434         "+r" and remove output regs list as redundant.  Add explicit inline
56435         asm to specify register of return val to work around compiler codegen
56436         bug.  Remove (int) cast on return value.  Add return type parameter to
56437         use in macro so that this macro does not truncate return value for
56438         64-bit values.
56439         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56440         pass to INTERNAL_VSYSCALL_NCS.
56441         (INLINE_VSYSCALL): Add 'long int' as return type to
56442         INTERNAL_VSYSCALL_NCS macro invocation.
56443         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56444         INTERNAL_VSYSCALL_NCS macro invocation.
56445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56447 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56449         [BZ #14496]
56450         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56451         Fix application of SIMD FP exception mask.
56453         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56454         mp_no from a power of two.
56455         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56456         __mpexp_twomm1.  Use __pow_mp.
56458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56459         multiplication.
56461 2013-01-17  David S. Miller  <davem@davemloft.net>
56463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56465 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56467         [BZ #15023]
56468         * include/complex.h: Condition contents on [!_COMPLEX_H].
56469         (__kernel_casinhf): New prototype.
56470         (__kernel_casinh): Likewise.
56471         (__kernel_casinhl): Likewise.
56472         * math/Makefile (libm_calls): Add k_casinh.
56473         * math/k_casinh.c: New file.
56474         * math/k_casinhf.c: Likewise.
56475         * math/k_casinhl.c: Likewise.
56476         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56477         finite nonzero arguments.
56478         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56479         finite nonzero arguments.
56480         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56481         finite nonzero arguments.
56482         * math/s_casinh.c: Do not include <float.h>.
56483         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56484         * math/s_casinhf.c: Do not include <float.h>.
56485         (__casinhf): Move code for finite nonzero arguments to
56486         k_casinhf.c.
56487         * math/s_casinhl.c: Do not include <float.h>.
56488         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56489         redefine.
56490         (__casinhl): Move code for finite nonzero arguments to
56491         k_casinhl.c.
56492         * math/libm-test.inc (cacos_test): Add more tests.
56493         * sysdeps/i386/fpu/libm-test-ulps: Update.
56494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56496 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56498         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56499         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56500         [!HAVE_MREMAP]: Remove [defined linux] case.
56501         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56503 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56505         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56507 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56509         * elf/elf.h (R_386_SIZE32): New relocation.
56510         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56511         R_386_SIZE32.
56512         (elf_machine_rela): Likewise.
56513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56514         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56516 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56518         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56519         (FP_FAST_FMA): Do not define.
56520         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56521         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56522         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56523         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56524         !_SOFT_FLOAT]: Likewise.
56525         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56526         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56527         value.
56528         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56529         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56530         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56531         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56532         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56533         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56534         file.
56536 2013-01-16  Andreas Schwab  <schwab@suse.de>
56538         [BZ #14327]
56539         * include/stdlib.h (__mktemp): Add declaration.
56540         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56541         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56543 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56545         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56546         definitions.
56547         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56548         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56549         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56550         definitions here.
56551         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56552         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56553         definitions.
56554         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56555         and ONE.
56556         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56557         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56558         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56559         definitions.
56560         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56561         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56562         definitions.
56563         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56565         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56567 2013-01-15  David S. Miller  <davem@davemloft.net>
56569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56570         trunc{,f} to libm-sysdep_routes.
56571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56573         file.
56574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56576         file.
56577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56578         file.
56579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56581         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56582         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56583         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56584         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56585         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56586         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56589         nearbyint{,f} to libm-sysdep_routes.
56590         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56592         New file.
56593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56594         file.
56595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56596         New file.
56597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56598         file.
56599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56601         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56602         file.
56603         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56604         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56605         file.
56606         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56607         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56608         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56610         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56611         libc_feholdexcept and libc_fesetenv.
56613 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56615         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56617 2013-01-14  David S. Miller  <davem@davemloft.net>
56619         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56620         (SPARC_ASM_VIS2_IFUNC): Likewise.
56621         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56623         use of 'siam' instruction.
56624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56625         Likewise.
56626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56627         Likewise.
56628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56629         Likewise.
56630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56635         file.
56636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56637         file.
56638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56639         file.
56640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56641         file.
56642         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56643         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56647         new VIS2 routines.
56648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56651         Likewise.
56652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56657         routines to libm-sysdep_routines.
56658         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56661         fdim/fdimf to libm-sysdep_routines.
56662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56663         file.
56664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56666         file.
56667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56670         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56671         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56672         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56673         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56675 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56677         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56678         to optimize copies.
56680         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56685         local variable MPTWO.
56686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56687         Likewise.
56689 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56691         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56692         GLOB_NOESCAPE.
56694 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56696         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56698 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56700         * manual/pattern.texi (glob_t): Document gl_flags.
56701         (glob64_t): Likewise.
56703 2013-01-11  David S. Miller  <davem@davemloft.net>
56705         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56706         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56707         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56708         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56709         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56710         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56711         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56712         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56713         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56714         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56715         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56716         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56717         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56719         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56720         sparc V9 rather than using V8 code.
56721         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56722         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56724         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56725         Move to...
56726         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56727         Here.
56729 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56731         [BZ #14941]
56732         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56733         not in the main loop.
56734         * configure: Regenerated.
56736 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56738         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56739         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56740         to just #else.
56741         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56742         [!__GLIBC_HAVE_LONG_LONG] case.
56743         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56744         condition to just #else.
56745         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56746         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56747         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56748         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56749         unconditional.
56750         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56751         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56752         #elif condition to just #else.
56753         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56754         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56755         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56756         #elif condition to just #else.
56758 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56760         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56761         (EF_MIPS_ARCH_64): Fix value.
56762         (EF_MIPS_ARCH_32R2): New.
56763         (EF_MIPS_ARCH_64R2): New.
56765 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56767         * Makeconfig (+link-pie-before-libc): New.
56768         (+link-pie-after-libc): Likewise.
56769         (+link-pie-tests): Likewise.
56770         (+link-pie): Rewritten.
56771         (link-before-libc): Remove $(config-LDFLAGS).
56772         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56773         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56774         (config-LDFLAGS): Renamed to ...
56775         (rtld-LDFLAGS): This.
56776         (rtld-tests-LDFLAGS): New macro.
56777         (link-libc-rpath-link): Likewise.
56778         (link-libc-tests-rpath-link): Likewise.
56779         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56780         (link-libc): Prepand $(link-libc-rpath-link).
56781         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56782         (test-program-prefix): New macro.
56783         (test-via-rtld-prefix): Likewise.
56784         (test-program-cmd): Likewise.
56785         (host-test-program-cmd): Likewise.
56786         * Makefile ($(common-objpfx)testrun.sh): Replace
56787         $(run-program-prefix) with $(test-program-prefix).
56788         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56789         $(rtld-LDFLAGS).
56790         ($(common-objpfx)shlib.lds): Likewise.
56791         (build-module-helper): Likewise.
56792         ($(common-objpfx)format.lds): Likewise.
56793         * Rules (binaries-pie-tests): New.
56794         (binaries-pie-notests): Likewise.
56795         (binaries-pie): Rewritten.
56796         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56797         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56798         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56799         (make-test-out): Replace $(host-built-program-cmd) with
56800         $(host-test-program-cmd).
56801         * config.make.in (build-hardcoded-path-in-tests): New variable.
56802         * configure.in (--enable-hardcoded-path-in-tests): New configure
56803         option.
56804         (hardcoded_path_in_tests): New AC_SUBST.
56805         * configure: Regenerated.
56806         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56807         $(built-program-cmd) with $(test-program-cmd).
56808         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56809         (test_program_cmd): This.
56810         * elf/Makefile ($(objpfx)order.out): Run test with
56811         $(test-program-prefix).
56812         ($(objpfx)order2.out): Likewise.
56813         ($(objpfx)tst-initorder.out): Likewise.
56814         ($(objpfx)tst-initorder2.out): Likewise.
56815         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56816         $(test-program-cmd).
56817         ($(objpfx)tst-array1-static.out): Likewise.
56818         ($(objpfx)tst-array2.out): Likewise.
56819         ($(objpfx)tst-array3.out): Likewise.
56820         ($(objpfx)tst-array4.out): Likewise.
56821         ($(objpfx)tst-array5.out): Likewise.
56822         ($(objpfx)tst-array5-static.out): Likewise.
56823         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56824         $(test-program-cmd).
56825         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56826         $(run-program-prefix) with $(test-program-prefix).
56827         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56828         (test_program_prefix): This.
56829         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56830         $(run-program-prefix) with $(test-program-prefix).
56831         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56832         (test_program_prefix): This.
56833         * iconvdata/tst-tables.sh: Likewise.
56834         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56835         $(run-program-prefix) with $(test-program-prefix).
56836         ($(objpfx)tst-translit.out): Likewise.
56837         ($(objpfx)tst-gettext2.out): Likewise.
56838         ($(objpfx)tst-gettext4.out): Likewise.
56839         ($(objpfx)tst-gettext6.out): Likewise.
56840         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56841         (test_program_prefix): This.
56842         * intl/tst-gettext2.sh: Likewise.
56843         * intl/tst-gettext4.sh  Likewise.
56844         * intl/tst-gettext6.sh: Likewise.
56845         * intl/tst-translit.sh: Likewise.
56846         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56847         with $(test-program-cmd).
56848         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56849         $(run-program-prefix) with $(test-program-prefix).
56850         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56851         (test_program_prefix): This.
56852         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56853         $(run-program-prefix) with $(test-program-prefix).
56854         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56855         (test_program_prefix): This.
56856         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56857         * posix/Makefile ($(objpfx)globtest.out): Replace
56858         $(run-via-rtld-prefix) and $(test-wrapper) with
56859         $(test-program-prefix) and $(test-via-rtld-prefix).
56860         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56861         $(test-program-prefix).
56862         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56863         $(host-test-program-cmd).
56864         (tst-spawn-ARGS): Likewise.
56865         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56866         $(test-program-prefix).
56867         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56868         (test_via_rtld_prefix): This.
56869         (test_wrapper): Renamed to ...
56870         (test_program_prefix): This.
56871         (run_program_prefix): Replaced by test_program_prefix.
56872         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56873         (test_program_prefix): This.
56874         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56875         with $(host-test-program-cmd).
56876         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56877         $(run-program-prefix) with $(test-program-prefix).
56878         ($(objpfx)tst-printf.out): Likewise.
56879         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56880         $(test-program-cmd).
56881         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56882         (test_program_prefix): This.
56883         * stdio-common/tst-unbputc.sh: Likewise.
56884         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56885         $(run-program-prefix) with $(test-program-prefix).
56886         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56887         (test_program_prefix): This.
56888         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56889         $(built-program-cmd) with $(test-program-cmd).
56891 2013-01-11  Andreas Jaeger  <aj@suse.de>
56893         [BZ #15003]
56894         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56895         value. Sync with Linux 3.7.
56897 2013-01-10  David S. Miller  <davem@davemloft.net>
56899         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56900         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56901         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56903 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56905         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56906         never set.
56907         * configure: Regenerated.
56909 2013-01-10  David S. Miller  <davem@davemloft.net>
56911         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56912         sparc V9 rather than using V8 code.
56913         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56914         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56916 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56918         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56919         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56920         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56921         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56922         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56923         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56924         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56925         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56926         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56927         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56928         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56929         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56930         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56931         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56932         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56933         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56934         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56935         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56936         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56937         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56938         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56939         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56940         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56941         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56942         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56943         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56944         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56946 2013-01-10  David S. Miller  <davem@davemloft.net>
56948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56950 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56952         * posix/Makefile (tests-static): New variable.
56953         (tests): Add $(tests-static).
56954         (tst-exec-static-ARGS): New variable.
56955         (tst-spawn-static-ARGS): Likewise.
56956         * posix/tst-exec-static.c: New file.
56957         * posix/tst-spawn-static.c: Likewise.
56958         * posix/tst-exec.c: Support run directly.
56959         * posix/tst-spawn.c: Likewise.
56961 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56963         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56964         long.
56965         * math/bits/mathcalls.h (llrint): Likewise.
56966         (llround): Likewise.
56967         * stdlib/stdlib.h (struct drand48_data): Likewise.
56968         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56969         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56970         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56971         Likewise.
56972         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56973         Likewise.
56974         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56975         (elf_greg_t): Likewise.
56976         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56977         (__jmp_buf): Likewise.
56978         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56979         definitions.
56980         (llrint): Likewise, for all definitions.
56981         (llrintl): Likewise.
56983         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56984         Remove [__GNUC__] condition.
56985         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56986         condition to just [__USE_ISOC99].
56987         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56989 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56991         [BZ #14200]
56992         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56993         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56994         defined.
56995         (_POSIX_V6_ILP32_OFF32): Likewise.
56996         (_XBS5_ILP32_OFF32): Likewise.
56997         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56998         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57000 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57002         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57005         doubles __mpexp_twomm1.  Adjust usage.
57006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57007         Remove.
57009 2013-01-10  Andreas Schwab  <schwab@suse.de>
57011         [BZ #14964]
57012         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57013         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57015 2013-01-09  David S. Miller  <davem@davemloft.net>
57017         [BZ #15003]
57018         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57019         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57020         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57021         (TCP_FASTOPEN): Define.
57022         (tcp_repair_opt): New structure.
57023         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57024         enum values.
57025         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57026         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57027         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57028         (tcp_cookie_transactions): New structure.
57030 2013-01-09  Anton Blanchard  <anton@samba.org>
57032         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57033         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57034         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57035         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57037 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57039         * include/features.h (__USE_ANSI): Remove.
57041 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57043         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57045         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57047 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57049         * sysdeps/s390/fpu/libm-test-ulps: Update.
57051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57053         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57054         (__acr): Likewise.
57055         (__cpy): Likewise.
57056         (norm): Likewise.
57057         (denorm): Likewise.
57058         (__mp_dbl): Likewise.
57059         (__dbl_mp): Likewise.
57060         (add_magnitudes): Likewise.
57061         (sub_magnitudes): Likewise.
57062         (__add): Likewise.
57063         (__sub): Likewise.
57064         (__mul): Likewise.
57065         (__inv): Likewise.
57066         (__dvd): Likewise.
57067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57068         (__acr): Likewise.
57069         (__cpy): Likewise.
57070         (norm): Likewise.
57071         (denorm): Likewise.
57072         (__mp_dbl): Likewise.
57073         (__dbl_mp): Likewise.
57074         (add_magnitudes): Likewise.
57075         (sub_magnitudes): Likewise.
57076         (__add): Likewise.
57077         (__sub): Likewise.
57078         (__mul): Likewise.
57079         (__inv): Likewise.
57080         (__dvd): Likewise.
57081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57082         (__acr): Likewise.
57083         (__cpy): Likewise.
57084         (norm): Likewise.
57085         (denorm): Likewise.
57086         (__mp_dbl): Likewise.
57087         (__dbl_mp): Likewise.
57088         (add_magnitudes): Likewise.
57089         (sub_magnitudes): Likewise.
57090         (__add): Likewise.
57091         (__sub): Likewise.
57092         (__mul): Likewise.
57093         (__inv): Likewise.
57094         (__dvd): Likewise.
57096 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57098         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57099         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57100         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57101         2 && __USE_EXTERN_INLINES]: Likewise.
57103 2013-01-08  Andreas Jaeger  <aj@suse.de>
57105         [BZ# 14985]
57106         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57107         Remove.
57108         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57109         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57111 2013-01-07  Anton Blanchard  <anton@samba.org>
57113         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57114         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57115         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57116         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57117         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57118         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57119         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57120         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57122         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57123         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57124         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57125         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57127         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57128         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57129         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57130         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57131         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57132         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57133         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57134         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57135         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57136         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57137         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57138         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57139         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57140         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57141         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57142         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57143         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57145         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57146         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57147         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57148         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57149         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57151         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57152         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57153         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57155         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57157 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57159         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57160         (__MALLOC_PMT): Likewise.
57161         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57162         [__GNUC__], only on [_LIBC].
57163         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57164         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57165         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57166         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57167         forward declaration.
57168         (realloc_hook_ini): Likewise.
57169         (memalign_hook_ini): Likewise.
57170         (__libc_memalign): Do not use __MALLOC_PMT in variable
57171         declaration.
57172         (__libc_valloc): Likewise.
57173         (__libc_pvalloc): Likewise.
57174         (__libc_calloc): Likewise.
57175         (__posix_memalign): Likewise.
57177         [BZ #14996]
57178         * math/s_casinh.c: Include <float.h>.
57179         (__casinh): Do not do computation with squaring and square root
57180         for large arguments.
57181         * math/s_casinhf.c: Include <float.h>.
57182         (__casinhf): Do not do computation with squaring and square root
57183         for large arguments.
57184         * math/s_casinhl.c: Include <float.h>.
57185         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57186         (__casinhl): Do not do computation with squaring and square root
57187         for large arguments.
57188         * math/libm-test.inc (casin_test): Add more tests.
57189         (casinh_test): Likewise.
57190         * sysdeps/i386/fpu/libm-test-ulps: Update.
57191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57193 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57195         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57196         (__x86_64_raw_data_cache_size): Likewise.
57197         (__x86_64_data_cache_size_half): Likewise.
57198         (__x86_64_raw_data_cache_size_half): Likewise.
57199         (__x86_64_shared_cache_size): Likewise.
57200         (__x86_64_raw_shared_cache_size): Likewise.
57201         (__x86_64_shared_cache_size_half): Likewise.
57202         (__x86_64_raw_shared_cache_size_half): Likewise.
57203         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57204         to ...
57205         (__x86_data_cache_size): This.
57206         (__x86_64_raw_data_cache_size): Renamed to ...
57207         (__x86_raw_data_cache_size): This.
57208         (__x86_64_data_cache_size_half): Renamed to ...
57209         (__x86_data_cache_size_half): This.
57210         (__x86_64_raw_data_cache_size_half): Renamed to ...
57211         (__x86_raw_data_cache_size_half): This.
57212         (__x86_64_shared_cache_size): Renamed to ...
57213         (__x86_shared_cache_size): This.
57214         (__x86_64_raw_shared_cache_size): Renamed to ...
57215         (__x86_raw_shared_cache_size): This.
57216         (__x86_64_shared_cache_size_half): Renamed to ...
57217         (__x86_shared_cache_size_half): This.
57218         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57219         (__x86_raw_shared_cache_size_half): This.
57220         * sysdeps/x86_64/memcpy.S: Updated.
57221         * sysdeps/x86_64/memset.S: Likewise.
57222         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57223         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57226 2013-01-04  David S. Miller  <davem@davemloft.net>
57228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57230 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57232         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57233         1 to avoid redefinition warning.
57234         (__USE_GNU): Don't define.
57235         (init_signaling_nan): Protoize.
57237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57239 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57241         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57243         (__cpymn): Likewise.
57244         (norm): Remove commented code.
57245         (denorm): Likewise.
57246         (__mp_dbl): Likewise.
57247         (__inv): Likewise.
57248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57249         (__cpymn): Likewise.
57250         (norm): Remove commented code.
57251         (denorm): Likewise.
57252         (__mp_dbl): Likewise.
57253         (__inv): Likewise.
57255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57256         mp_no value for 1.0 and 2.0.
57257         (norm): Use RADIXI instead of radixi.d.
57258         (denorm): Likewise.
57259         (__mul): Use 0.0 instead of zero.d.
57260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57261         mp_no value for 1.0 and 2.0.
57262         (norm): Use RADIXI instead of radixi.d.
57263         (denorm): Likewise.
57264         (__mul): Use 0.0 instead of zero.d.
57266 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57268         [BZ #14994]
57269         * math/s_casinh.c (__casinh): Reduce finite argument to first
57270         quadrant then set signs of results at the end.
57271         * math/s_casinhf.c (__casinhf): Likewise.
57272         * math/s_casinhl.c (__casinhl): Likewise.
57273         * math/libm-test.inc (casin_test): Add more tests.
57274         (casinh_test): Likewise.
57275         * sysdeps/i386/fpu/libm-test-ulps: Update.
57276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57278 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57280         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57282         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57284         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57285         declarations.
57286         (denorm): Likewise.
57287         (__mp_dbl): Likewise.
57288         (__inv): Likewise.
57290         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57291         and adjust the header comment.
57293         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57294         variable name from declaration.
57296 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57299         Initialize COMMON_CPUID_INDEX_7 element.
57300         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57301         (CPUID_RTM): Likewise.
57302         (HAS_RTM): Likewise.
57303         (COMMON_CPUID_INDEX_7): New enum.
57305 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57307         [BZ #14981]
57308         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57309         size is zero, record memory as freed.
57311 2013-01-03  Andreas Jaeger  <aj@suse.de>
57313         * po/ia.po: Add new Interlingua translation.
57315 2012-01-03  Allan McRae  <allan@archlinux.org>
57317         * locale/programs/localedef.c: Fix description of '--posix' flag.
57319 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57321         * NEWS: Update dates in second copyright notice.
57322         * README: Update copyright dates in example.
57323         * manual/libc.texinfo: Update copyright dates.
57324         * scripts/test-installation.pl: Update copyright date in --version
57325         output.
57327         * hurd/ctty-input.c: Fix copyright notice formatting.
57328         * hurd/ctty-output.c: Likewise.
57329         * hurd/dtable.c: Likewise.
57330         * hurd/hurd-raise.c: Likewise.
57331         * hurd/hurdprio.c: Likewise.
57332         * hurd/msgportdemux.c: Likewise.
57333         * misc/sys/file.h: Likewise.
57334         * misc/sys/ioctl.h: Likewise.
57335         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57336         * sysdeps/mach/hurd/chdir.c: Likewise.
57337         * sysdeps/mach/hurd/fchdir.c: Likewise.
57338         * sysdeps/mach/hurd/rename.c: Likewise.
57339         * sysdeps/mach/hurd/rmdir.c: Likewise.
57340         * sysdeps/mach/hurd/seekdir.c: Likewise.
57341         * sysdeps/mach/hurd/setsid.c: Likewise.
57342         * sysdeps/posix/wait3.c: Likewise.
57344         * All files with FSF copyright notices: Update copyright dates
57345         using scripts/update-copyrights.
57346         * intl/plural.c: Regenerated.
57347         * locale/programs/charmap-kw.h: Likewise.
57348         * locale/programs/locfile-kw.h: Likewise.
57350 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57352         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57353         four values.
57355         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57356         calculation loop and add branch prediction.
57358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57359         check access beyond bounds of m1np.
57361         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57362         MPTWO.
57363         (__inv): Remove local variable MPTWO to use the global
57364         constant.
57365         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57366         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57367         variable MPTWO.
57368         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57369         MP3HALFS static const.
57371 2013-01-01  David S. Miller  <davem@davemloft.net>
57373         * po/ca.po: Update from translation team.
57375 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57377         * scripts/update-copyrights: New file.
57378         * Makeconfig: Reformat copyright notice.
57379         * ctype/ctype.h: Likewise.
57380         * debug/swprintf_chk.c: Likewise.
57381         * elf/dl-cache.c: Likewise.
57382         * elf/dl-debug.c: Likewise.
57383         * elf/dl-object.c: Likewise.
57384         * grp/initgroups.c: Likewise.
57385         * hurd/Makefile: Likewise.
57386         * hurd/hurd/signal.h: Likewise.
57387         * hurd/hurdfault.c: Likewise.
57388         * hurd/hurdioctl.c: Likewise.
57389         * hurd/hurdlookup.c: Likewise.
57390         * hurd/intr-msg.c: Likewise.
57391         * iconv/gconv_open.c: Likewise.
57392         * libio/swprintf.c: Likewise.
57393         * locale/lc-ctype.c: Likewise.
57394         * locale/nl_langinfo.c: Likewise.
57395         * mach/Machrules: Likewise.
57396         * mach/Makefile: Likewise.
57397         * malloc/obstack.h: Likewise.
57398         * manual/Makefile: Likewise.
57399         * manual/tsort.awk: Likewise.
57400         * misc/bits/stab.def: Likewise.
57401         * nis/nis_print_group_entry.c: Likewise.
57402         * nis/nis_table.c: Likewise.
57403         * nis/nss_compat/compat-pwd.c: Likewise.
57404         * nis/nss_compat/compat-spwd.c: Likewise.
57405         * po/Makefile: Likewise.
57406         * posix/fnmatch.c: Likewise.
57407         * posix/regex.h: Likewise.
57408         * resolv/Makefile: Likewise.
57409         * resolv/nss_dns/dns-network.c: Likewise.
57410         * resolv/res_hconf.c: Likewise.
57411         * scripts/gen-sorted.awk: Likewise.
57412         * soft-fp/soft-fp.h: Likewise.
57413         * stdio-common/printf.h: Likewise.
57414         * stdlib/monetary.h: Likewise.
57415         * stdlib/random.c: Likewise.
57416         * stdlib/random_r.c: Likewise.
57417         * sysdeps/generic/Makefile: Likewise.
57418         * sysdeps/gnu/Makefile: Likewise.
57419         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57421         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57423         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57426         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57427         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57429         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57430         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57431         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57432         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57433         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57436         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57437         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57439         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57440         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57441         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57442         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57443         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57444         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57445         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57446         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57447         * sysdeps/mach/hurd/errnos.awk: Likewise.
57448         * sysdeps/mach/hurd/fork.c: Likewise.
57449         * sysdeps/mach/hurd/getcwd.c: Likewise.
57450         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57451         * sysdeps/mach/hurd/mmap.c: Likewise.
57452         * sysdeps/mach/hurd/utimes.c: Likewise.
57453         * sysdeps/mach/hurd/xmknod.c: Likewise.
57454         * sysdeps/posix/profil.c: Likewise.
57455         * sysdeps/posix/readdir_r.c: Likewise.
57456         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57457         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57458         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57459         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57461         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57463         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57465         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57466         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57467         * sysdeps/pthread/lio_listio.c: Likewise.
57468         * sysdeps/sparc/dl-procinfo.h: Likewise.
57469         * sysdeps/unix/i386/sysdep.S: Likewise.
57470         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57471         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57472         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57473         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57475         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57476         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57477         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57478         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57479         * sysdeps/wordsize-32/divdi3.c: Likewise.
57480         * time/sys/time.h: Likewise.
57481         * wcsmbs/Makefile: Likewise.
57483 2013-01-01  David S. Miller  <davem@davemloft.net>
57485         * po/fr.po: Update from translation team.
57487         * catgets/gencat.c: Update copyright year.
57488         * csu/version.c: Likewise.
57489         * debug/catchsegv.sh: Likewise.
57490         * debug/pcprofiledump.c: Likewise.
57491         * debug/xtrace.sh: Likewise.
57492         * elf/ldconfig.c: Likewise.
57493         * elf/ldd.bash.in: Likewise.
57494         * elf/pldd.c: Likewise.
57495         * elf/sotruss.ksh: Likewise.
57496         * elf/sprof.c: Likewise.
57497         * iconv/iconv_prog.c: Likewise.
57498         * iconv/iconvconfig.c: Likewise.
57499         * locale/programs/locale.c: Likewise.
57500         * locale/programs/localedef.c: Likewise.
57501         * login/programs/pt_chown.c: Likewise.
57502         * malloc/memusage.sh: Likewise.
57503         * malloc/memusagestat.c: Likewise.
57504         * malloc/mtrace.pl: Likewise.
57505         * nscd/nscd.c: Likewise.
57506         * nss/getent.c: Likewise.
57507         * nss/makedb.c: Likewise.
57508         * posix/getconf.c: Likewise.
57510 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57512         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57513         numbers.
57515 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57517         * math/bits/mathcalls.h (modf): Use __nonnull.
57519 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57521         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57522         (split): Use macro CN instead of the bare value.
57523         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57524         could be used.
57525         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57526         instead of the bare value.
57527         (power1): Likewise.
57529 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57532         __ATAN_TWOM.
57533         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57535         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57536         their values.
57537         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57538         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57539         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57540         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57542 2012-12-28  Andreas Jaeger  <aj@suse.de>
57544         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57545         values are from Linux 3.7.
57547         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57548         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57550 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57552         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57553         TRUE case.
57555         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57556         (norm): Likewise.
57557         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57558         variables with preprocessor constants.
57559         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57560         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57561         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57563 2012-12-27  Bruno Haible  <bruno@clisp.org>
57565         [BZ #14317]
57566         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57567         only if needed.
57569 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57572         and use variable directly.
57573         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57575         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57576         MPONE.
57577         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57579         variable MPONE.
57580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57582         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57583         include directive.  Remove local variable MPONE.
57584         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57585         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57586         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57588 2012-12-25  David S. Miller  <davem@davemloft.net>
57590         * version.h (RELEASE): Set to "development".
57591         (VERSION): Set to "2.17.90".
57592         * NEWS: Add 2.18 section.
57594 2012-12-21  David S. Miller  <davem@davemloft.net>
57596         * po/hr.po: Update from translation team.
57598 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57600         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57602 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57604         * NEWS:  Mention new memcpy for MIPS.
57606 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57608         * manual/contrib.texi (Contributors): Spelling correction.
57610 2012-12-15  David S. Miller  <davem@davemloft.net>
57612         * po/ru.po: Update from translation team.
57614 2012-12-13  David S. Miller  <davem@davemloft.net>
57616         * NEWS: Mention IFUNC testsuite enhancements.
57618         * po/pl.po: Update from translation team.
57619         * po/bg.po: Likewise.
57621         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57622         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57624 2012-12-11  David S. Miller  <davem@davemloft.net>
57626         * po/sv.po: Update from translation team.
57628         * po/vi.po: Update from translation team.
57630         * po/cs.po: Update from translation team.
57632         * po/de.po: Update from translation team.
57633         * po/eo.po: Likewise.
57634         * po/nl.po: Likewise.
57636 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57638         [BZ #14246]
57639         * manual/argp.texi (Argp Helper Functions): Move node to follow
57640         Argp Parsing State.
57642         [BZ #14872]
57643         * manual/conf.texi (Limits on File System Capacity): Mention if
57644         terminating null is included in the max size.
57646 2012-12-10  Andreas Jaeger  <aj@suse.de>
57648         * po/cs.po: Update from translation team.
57650 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57652         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57653         void pointer and cast to uintptr_t.
57654         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57655         path.
57656         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57657         * sysdeps/s390/s390-64/memset.S: Likewise.
57659 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57661         [BZ #14833]
57662         * menual/message.texi (Message Translation): Fix typos.
57663         (Helper programs for gettext): Likewise.
57665 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57667         [BZ #14898]
57668         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57669         Change to -1.
57671 2012-12-07  David S. Miller  <davem@davemloft.net>
57673         * po/libc.pot: Update.
57675 2012-12-07  Richard Henderson  <rth@redhat.com>
57677         [BZ #10114]
57678         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57679         normal/normal case to before the switch.
57680         (_FP_DIV): Likewise.
57682 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57683             Mike Frysinger  <vapier@gentoo.org>
57685         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57686         check for __NR_fadvise64_64.
57688 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57690         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57691         0, not just to plain "0" as a statement.
57692         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57693         with cw.
57695 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57697         * NEWS: Use sourceware.org in Bugzilla URL.
57699 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57702         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57704         * stdio-common/tst-put-error.c (do_test): Add newline to the
57705         padded test to ensure flush.
57707 2012-12-05  Jeff Law  <law@redhat.com>
57709         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57711 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57713         * README: Don't refer to ports add-on as distributed separately.
57714         Mention AArch64 in list of systems supported in the ports add-on.
57716         * LICENSES: Add more non-FSF copyright and license notices.
57718         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57719         ((unused)).
57721         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57723         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57724         10000 as width of padded output.
57726 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57728         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57730         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57731         variable LX with __attribute__ ((unused)).
57732         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57733         Likewise.
57734         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57736         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57737         with __attribute__ ((unused)).
57739 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57741         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57743 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57745         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57746         (CFLAGS-nldbl-acos.c): New variable.
57747         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57748         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57749         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57750         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57751         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57752         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57753         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57754         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57755         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57756         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57757         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57758         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57759         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57760         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57761         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57762         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57763         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57764         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57765         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57766         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57767         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57768         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57769         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57770         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57771         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57772         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57773         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57774         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57775         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57776         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57777         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57778         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57779         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57780         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57781         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57782         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57783         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57784         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57785         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57786         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57787         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57788         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57789         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57790         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57791         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57792         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57793         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57794         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57795         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57796         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57797         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57798         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57799         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57800         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57801         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57802         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57803         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57804         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57805         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57806         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57807         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57808         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57809         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57810         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57811         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57812         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57813         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57814         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57815         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57816         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57817         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57818         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57819         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57820         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57821         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57822         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57823         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57824         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57825         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57826         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57827         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57828         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57829         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57830         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57831         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57832         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57833         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57834         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57835         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57836         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57837         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57838         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57839         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57840         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57841         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57842         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57843         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57846         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57848         [BZ #14914]
57849         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57850         whole low double instead of just low 47 bits when splitting values
57851         into two parts.
57853 2012-12-03  Allan McRae  <allan@archlinux.org>
57855         * manual/stdio.texi (Predefined Printf Handlers): Remove
57856         @hsep and @vsep usage.
57858 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57860         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57861         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57863 2012-12-03  Jeff Law  <law@redhat.com>
57865         * time/sys/time.h (settimeofday): Do not mark TV argument
57866         as __nonnull.
57868 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57870         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57871         when currently writing and seek to current position when not.
57872         * libio/Makefile (tests): Remove bug-fclose1.
57873         * libio/bug-fclose1.c: Delete.
57875 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57877         * manual/arith.texi (feenableexcept): Fix typo.
57878         (fedisableexcept): Likewise.
57880 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57882         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57883         second, differently-typed declaration, rather than a cast.
57885 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57887         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57888         * include/rpc/svc.h: ... here.
57890 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57892         [BZ #13013]
57893         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57894         depending n and resplen2 to catch cases where answer
57895         equals answerp2.
57897 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57899         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57900         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57902 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57904         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57906 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57908         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57910 2012-11-28  Jeff Law  <law@redhat.com>
57912         [BZ #13761]
57913         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57914         dataset_temporary.  Track alloca usage into alloca_used.
57915         If dataset is large allocate and release it via malloc/free.
57917 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57919         [BZ #14197]
57920         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57922 2012-11-28  David S. Miller  <davem@davemloft.net>
57924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57926 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57928         [BZ #14803]
57929         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57930         of pi/2 rounded to nearest to 64 bits.
57931         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57932         nearest to 64 bits.
57933         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57934         bits.
57936 2012-11-28  Jeff Law <law@redhat.com>
57937             Martin Osvald <mosvald@redhat.com>
57939         [BZ #14889]
57940         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57941         * sunrpc/svc.c: Include time.h.
57942         (__svc_accept_failed): New function.
57943         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57944         any reason other than EINTR, call __svc_accept_failed.
57945         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57946         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57948 2012-11-28  Andreas Schwab  <schwab@suse.de>
57950         * scripts/abilist.awk: Also handle indirect functions in .opd
57951         section.
57953 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57955         [BZ #13881]
57956         * sysdeps/x86/fpu/powl_helper.c: New file.
57957         * sysdeps/x86/fpu/Makefile: Likewise.
57958         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57959         (p3): New object.
57960         (__ieee754_powl): Use __powl_helper for finite arguments except
57961         integer exponents below 8.
57962         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57963         (p3): New object.
57964         (__ieee754_powl): Use __powl_helper for finite arguments except
57965         integer exponents below 8.
57966         * math/libm-test.inc (pow_test): Add more tests and enable some
57967         previously disabled tests.
57968         * sysdeps/i386/fpu/libm-test-ulps: Update.
57969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57971 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57972             Carlos O'Donell  <carlos_odonell@mentor.com>
57974         * nss/makedb.c (is_prime): Assert that input is odd and greater
57975         than 4.  Note that fact in a comment too.
57976         (next_prime): Add 4 to input.
57978 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57980         [BZ #11741]
57981         * libio/Makefile (tests): Add test case tst-fwrite-error.
57982         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57983         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57984         * libio/tst-fwrite-error.c: New test case.
57986 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57988         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57989         before casting to void *.
57990         * include/libc-internal.h (__pointer_type): New macro.
57991         (__integer_if_pointer_type_sub): Likewise.
57992         (__integer_if_pointer_type): Likewise.
57993         (cast_to_integer): Likewise.
57994         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57995         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57996         before casting to atomic64_t.
57997         (atomic_exchange_acq): Likewise.
57998         (__arch_exchange_and_add_body): Likewise.
57999         (__arch_add_body): Likewise.
58000         (atomic_add_negative): Likewise.
58001         (atomic_add_zero): Likewise.
58003 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58005         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58006         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58007         (add_fdes): Likewise.
58008         (linear_search_fdes): Likewise.
58009         (binary_search_unencoded_fdes): Likewise.
58011 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58013         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58015 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58017         * configure.in: Autodetect C++ header directories.
58018         * configure: Regenerated.
58020 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58022         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58024 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58028 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58030         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58031         LDBL_MANT_DIG == 106]: Disable some tests.
58032         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58033         Likewise.
58034         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58035         Likewise.
58037         [BZ #14871]
58038         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58039         input for small inputs.  Return +/- pi/2 for large inputs.
58040         * math/libm-test.inc (atan_test): Add more tests.
58042         * sysdeps/generic/unwind-dw2-fde-glibc.c
58043         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58044         __attribute__ ((unused)).
58046         [BZ #14645]
58047         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58048         x * y if x and y are nonzero and z is zero.
58050         [BZ #14811]
58051         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58052         nonzero exponents with absolute value below 0x1p-117 to +/-
58053         0x1p-117.
58055         [BZ #14869]
58056         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58057         up arguments below 2**-450, not just those below 2**-500.
58058         * math/libm-test.inc (hypot_test): Add another test.
58060         [BZ #14868]
58061         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58062         Return a+b for ratio over 2**120, not 2**60.
58063         * math/libm-test.inc (hypot_test): Add another test.
58065         * math/libm-test.inc (clog_test): Use
58066         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58067         (clog10_test): Likewise.
58069         [BZ #6778]
58070         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58072 2012-11-22  Andreas Schwab  <schwab@suse.de>
58074         * sysdeps/i386/fpu/libm-test-ulps: Update.
58076 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58078         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58079         printf output with newline.
58081 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58083         [BZ #14865]
58084         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58085         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58086         -z nodlopen, -z initfirst and -z execstack support.
58087         * configure: Regenerated.
58089         * elf/elf.h (DF_1_NODIRECT): New macro.
58090         (DF_1_IGNMULDEF): Likewise.
58091         (DF_1_NOKSYMS): Likewise.
58092         (DF_1_NOHDR): Likewise.
58093         (DF_1_EDITED): Likewise.
58094         (DF_1_NORELOC): Likewise.
58095         (DF_1_SYMINTPOSE): Likewise.
58096         (DF_1_GLOBAUDIT): Likewise.
58097         (DF_1_SINGLETON): Likewise.
58098         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58099         DT_1_SUPPORTED_MASK bits.
58100         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58102 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58104         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58106 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58108         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58109         macro.
58111         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58112         (sendmmsg): Move declarations...
58113         * socket/sys/socket.h: ... here.
58114         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58115         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58116         include it from...
58117         * socket/recvmmsg.c: ... this new file.
58118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58119         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58120         definition of __sendmmsg hidden.
58121         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58122         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58123         Move ENOSYS stub into and include it from...
58124         * socket/sendmmsg.c: ... this new file.
58125         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58126         (sysdep_routines): Move recvmmsg and sendmmsg...
58127         * socket/Makefile (routines): ... here.
58128         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58129         (GLIBC_PRIVATE): Add __sendmmsg.
58130         * include/sys/socket.h (__sendmmsg): Add declarations.
58131         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58132         sendmmsg.
58134 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58136         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58137         variable I1 with __attribute__ ((unused)).
58138         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58140 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58142         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58143         DUMMY variables with __attribute__ ((unused)).
58145         * bits/byteswap.h: Include <bits/types.h>.
58146         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58148 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58150         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58151         string_t.  Do not manually set errno.
58152         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58153         length with __strnlen.  Make sure to both set errno and return it on
58154         failure.
58156 2012-11-19  David S. Miller  <davem@davemloft.net>
58158         With help from Joseph Myers.
58159         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58160         very large arguments properly.
58161         * math/libm-test.inc (atan_test): New tests.
58162         (atan2_test): New tests.
58163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58166 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58168         [BZ #14856]
58169         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58170         Define to 3.
58172         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58173         [POSIX] (EADDRNOTAVAIL): Likewise.
58174         [POSIX] (EAFNOSUPPORT): Likewise.
58175         [POSIX] (EALREADY): Likewise.
58176         [POSIX] (ECONNABORTED): Likewise.
58177         [POSIX] (ECONNREFUSED): Likewise.
58178         [POSIX] (ECONNRESET): Likewise.
58179         [POSIX] (EDESTADDRREQ): Likewise.
58180         [POSIX] (EDQUOT): Likewise.
58181         [POSIX] (EHOSTUNREACH): Likewise.
58182         [POSIX] (EIDRM): Likewise.
58183         [POSIX] (EISCONN): Likewise.
58184         [POSIX] (ELOOP): Likewise.
58185         [POSIX] (EMULTIHOP): Likewise.
58186         [POSIX] (ENETDOWN): Likewise.
58187         [POSIX] (ENETUNREACH): Likewise.
58188         [POSIX] (ENOBUFS): Likewise.
58189         [POSIX] (ENODATA): Likewise.
58190         [POSIX] (ENOLINK): Likewise.
58191         [POSIX] (ENOMSG): Likewise.
58192         [POSIX] (ENOPROTOOPT): Likewise.
58193         [POSIX] (ENOSR): Likewise.
58194         [POSIX] (ENOSTR): Likewise.
58195         [POSIX] (ENOTCONN): Likewise.
58196         [POSIX] (ENOTSOCK): Likewise.
58197         [POSIX] (EOPNOTSUPP): Likewise.
58198         [POSIX] (EOVERFLOW): Likewise.
58199         [POSIX] (EPROTO): Likewise.
58200         [POSIX] (EPROTONOSUPPORT): Likewise.
58201         [POSIX] (EPROTOTYPE): Likewise.
58202         [POSIX] (ESTALE): Likewise.
58203         [POSIX] (ETIME): Likewise.
58204         [POSIX] (ETXTBSY): Likewise.
58205         [POSIX] (EWOULDBLOCK): Likewise.
58206         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58207         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58208         [POSIX] (SEEK_CUR): Likewise.
58209         [POSIX] (SEEK_END): Likewise.
58210         [POSIX || UNIX98] (mode_t): Do not require.
58211         [POSIX] (off_t): Likewise.
58212         [POSIX] (pid_t): Likewise.
58213         [POSIX] (sys/stat.h): Do not allow header.
58214         [POSIX] (unistd.h): Likewise.
58215         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58216         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58217         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58218         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58219         require.
58220         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58221         sigevent): Specify elements.
58222         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58223         entry.
58224         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58225         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58227         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58228         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58229         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58230         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58231         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58232         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58233         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58234         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58235         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58236         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58237         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58238         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58239         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58240         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58241         Likewise.
58242         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58243         Likewise.
58244         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58245         Likewise.
58246         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58247         Likewise.
58248         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58249         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58250         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58251         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58252         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58253         Specify lower bound on value.
58254         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58255         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58256         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58257         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58258         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58259         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58260         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58261         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58262         value.
58263         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58264         as optional.
58265         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58266         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58267         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58268         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58269         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58270         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58271         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58272         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58273         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58274         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58275         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58276         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58277         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58278         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58279         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58280         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58281         entry.
58282         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58283         optional.
58284         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58285         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58286         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58287         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58288         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58289         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58290         Likewise.
58291         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58292         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58293         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58294         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58295         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58296         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58297         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58298         as optional.
58299         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58300         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58301         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58302         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58303         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58304         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58305         specify as optional.
58306         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58307         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58308         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58309         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58310         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58311         [XPG3] (NL_LANGMAX): Likewise.
58312         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58313         [POSIX || XPG3] (NL_NMAX): Likewise.
58314         [POSIX || XPG3] (NL_SETMAX): Likewise.
58315         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58316         [XPG3] (NZERO): Likewise.
58317         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58318         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58319         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58320         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58321         (REG_ERANGE): Expect.
58322         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58323         optional-constant.
58324         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58325         Use (void) in prototype.
58326         [POSIX] (*_t): Allow.
58327         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58328         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58329         (WRDE_BADVAL): Expect.
58331         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58332         expect.
58333         [XPG3 || XPG4] (O_RSYNC): Likewise.
58334         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58335         Likewise.
58336         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58337         [XPG3 || XPG4] (sigqueue): Likewise.
58338         [XPG3 || XPG4] (sigtimedwait): Likewise.
58339         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58340         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58341         [XPG3 || XPG4] (vsnprintf): Likewise.
58342         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58343         Likewise.
58344         [XPG3 || XPG4] (blksize_t): Likewise.
58345         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58346         Likewise.
58347         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58348         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58349         [XPG3 || XPG4] (struct itimerspec): Likewise.
58350         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58351         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58352         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58353         [XPG3 || XPG4] (clockid_t): Likewise.
58354         [XPG3 || XPG4] (timer_t): Likewise.
58355         [XPG3 || XPG4] (clock_getres): Likewise.
58356         [XPG3 || XPG4] (clock_gettime): Likewise.
58357         [XPG3 || XPG4] (clock_settime): Likewise.
58358         [XPG3 || XPG4] (nanosleep): Likewise.
58359         [XPG3 || XPG4] (timer_create): Likewise.
58360         [XPG3 || XPG4] (timer_delete): Likewise.
58361         [XPG3 || XPG4] (timer_gettime): Likewise.
58362         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58363         [XPG3 || XPG4] (timer_settime): Likewise.
58364         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58365         [XPG3 || XPG4] (getlogin_r): Likewise.
58366         [XPG3 || XPG4] (pread): Likewise.
58367         [XPG3 || XPG4] (pthread_atfork): Likewise.
58368         [XPG3 || XPG4] (pwrite): Likewise.
58370         [BZ #14835]
58371         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58372         <bits/siginfo.h>.
58374 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58376         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58377         finalizing MALLSTREAM.
58379         * sysdeps/mach/hurd/syncfs.c: New file.
58381 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58383         [BZ #14719]
58384         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58385         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58386         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58387         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58388         (_nss_dns_gethostbyname4_r): Likewise.
58389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58390         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58392 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58394         [BZ #13763]
58395         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58397 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58399         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58400         * elf/cache.c (print_entry): Print ",AArch64" for
58401         FLAG_AARCH64_LIB64
58403         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58404         * elf/cache.c (print_entry): Print ",hard-float" for
58405         FLAG_ARM_LIBHF.
58407 2012-11-18  David S. Miller  <davem@davemloft.net>
58409         With help from Joseph Myers.
58410         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58411         cutoff to 2**-13.
58412         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58413         cutoff to 2**-25.
58414         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58415         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58416         small.
58417         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58418         * math/libm-test.inc (y0_test): New tests.
58419         (y1_test): New tests.
58420         * sysdeps/i386/fpu/libm-test-ulps: Update.
58421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58424 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58426         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58427         64-bit targets.
58428         * configure: Regenerated.
58430 2012-11-17  David S. Miller  <davem@davemloft.net>
58432         [BZ #14811]
58433         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58434         nonzero exponents with absolute value below 0x1p-128 to +/-
58435         0x1p-128.
58437 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58439         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58441         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58443         * posix/getconf-speclist.c: New file.
58444         * posix/posix-envs.def: Likewise.
58445         * posix/confstr.c (START_ENV_GROUP): New macro.
58446         (END_ENV_GROUP): Likewise.
58447         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58448         (KNOWN_PRESENT_ENV_STRING): Likewise.
58449         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58450         (UNKNOWN_ENVIRONMENT): Likewise.
58451         (confstr): Include posix-envs.def instead of handling
58452         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58453         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58454         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58455         (END_ENV_GROUP): Likewise.
58456         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58457         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58458         (UNKNOWN_ENVIRONMENT): Likewise.
58459         (__sysconf): Include posix-envs.def instead of handling associated
58460         cases directly here.
58461         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58462         preprocessing getconf-speclist.c rather than running getconf or
58463         generating empty file.
58465 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58467         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58469 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58471         [BZ #14672]
58472         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58474 2012-11-16  David S. Miller  <davem@davemloft.net>
58476         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58477         smaller than LDBL_EPSILON/2.0L, just return xm1.
58479 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58481         * elf/tst-array1.c (init): Set constructor priority to 1000.
58482         (fini): Set destructor priority to 1000.
58483         * elf/tst-array2dep.c: Likewise.
58485 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58487         [BZ #11741]
58488         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58489         (_IO_new_file_xsputn): Also return EOF if none of the input
58490         data was written when overflow failed.
58491         * libio/iopadn.c (_IO_padn): Likewise.
58492         * libio/iowpadn.c (_IO_wpadn): Likewise.
58493         * stdio-common/tst-put-error.c: Add copyright notice.
58494         (do_test): Add case for printing padded string.
58495         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58496         _IO_padn returned error.
58497         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58498         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58499         return EOF.
58501 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58503         * libio/libioP.h: Add comment note that the references to C++
58504         bits are now obsolete.
58506 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58508         * math/libm-test.inc (check_complex): Use asprintf.
58510 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58512         * debug/pcprofiledump.c (print_version): Update copyright year.
58513         * malloc/memusagestat.c (print_version): Likewise.
58515 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58517         [BZ #14831]
58518         * elf/Makefile (tests): Add tst-audit8.
58519         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58520         ($(objpfx)tst-audit8.out): New target.
58521         (tst-audit8-ENV): New variable.
58522         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58523         audit if l_reloc_result is NULL.
58524         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58525         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58526         * elf/tst-audit8.c: New file.
58528 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58530         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58531         * misc/Makefile (CFLAGS-select.c): Define.
58532         * posix/Makefile (CFLAGS-pause.c): Define.
58534 2012-11-13  David S. Miller  <davem@davemloft.net>
58536         * crypt/Makefile: Move test targets after toplevel Rules
58537         inclusion.  Grab any necessary sysdep routines when linking.
58538         * crypt/md5.c (md5_process_block): Remove define, we will always
58539         name it __md5_process_block.
58540         (md5_finish_ctx): Update md5_process_block call.
58541         (md5_stream): Likewise.
58542         (md5_process_bytes): Likewise.
58543         (md5_process_block): Rename to __md5_process_block and move to ...
58544         * crypt/md5-block.c: ... here.
58545         * crypt/sha256.c (sha256_process_block): Move to ...
58546         * crypt/sha256-block.c: ... here.
58547         * crypt/sha512.c (sha512_process_block): Move to ...
58548         * crypt/sha512-block.c: ... here.
58549         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58550         path.
58551         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58552         * sysdeps/sparc/sparc64/multiarch/Makefile
58553         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58554         crypt subdir.
58555         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58556         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58557         multiarch changes.
58558         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58559         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58560         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58561         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58562         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58563         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58564         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58565         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58566         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58567         file.
58568         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58569         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58570         file.
58571         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58573 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58575         * timezone/tzselect.ksh: Update from tzcode git revision
58576         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58577         * timezone/zdump.c: Likewise.
58578         * timezone/zic.c: Likewise.
58579         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58580         in TZVERSION setting, not $(PKGVERSION).
58581         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58582         REPORT_BUGS_TO settings.
58584         [BZ #14838]
58585         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58586         macro.
58588 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58590         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58591         detection to immediately after _FP_ROUND().
58592         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58593         bits are 0.
58595 2012-11-11  David S. Miller  <davem@davemloft.net>
58597         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58598         inttypes.h
58599         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58600         __close rather than their public counterparts.
58602 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58604         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58605         file.
58606         [UNIX98] (sem_timedwait): Do not expect.
58607         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58608         [XPG4 || UNIX98] (sockatmark): Do not expect.
58609         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58610         (clock_getcpuclockid): Do not expect.
58611         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58612         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58613         Do not expect.
58614         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58615         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58616         [UNIX98] (vwscanf): Likewise.
58617         [UNIX98] (vswscanf): Likewise.
58619 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58621         * timezone/version.h: Remove file.
58622         * timezone/README: Do not refer to version.h.
58623         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58624         $(objpfx)version.h.
58625         ($(objpfx)zdump.o): Likewise.
58626         ($(objpfx)version.h): New target.
58628         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58629         2012i.
58630         * timezone/README: Don't mention modification to tzselect.ksh.
58631         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58632         work on unmodified tzselect.ksh.  Substitute version numbers in
58633         tzselect.ksh.
58635         * Makefile (format-me): Remove.
58636         (INSTALL): Adjust indentation.  Use commands directly instead of
58637         using $(format-me).
58639         * aclocal.m4 (ACX_PKGVERSION): New macro.
58640         (ACX_BUGURL): Likewise.
58641         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58642         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58643         (REPORT_BUGS_TO): Likewise.
58644         * configure: Regenerated.
58645         * config.h.in (PKGVERSION): New macro.
58646         (REPORT_BUGS_TO): Likewise.
58647         * config.make.in (PKGVERSION): New variable.
58648         (PKGVERSION_TEXI): Likewise.
58649         (REPORT_BUGS_TO): Likewise.
58650         (REPORT_BUGS_TEXI): Likewise.
58651         * Makefile (format-me): Use -I$(common-objpfx)manual.
58652         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58653         ($(common-objpfx)manual/%): New target.
58654         (manual/%): Remove target.
58655         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58656         (print_version): Use PKGVERSION.
58657         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58658         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58659         and REPORT_BUGS_TO.
58660         ($(objpfx)xtrace): Likewise.
58661         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58662         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58663         (print_version): Use PKGVERSION.
58664         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58665         (do_version): Use PKGVERSION.
58666         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58667         REPORT_BUGS_TO.
58668         (common-ldd-rewrite): Likewise.
58669         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58670         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58671         (print_version): Use PKGVERSION.
58672         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58673         * elf/pldd.c (argp_program_bug_address): Remove variable.
58674         (more_help): New function.
58675         (argp): Use more_help.
58676         (print_version): Use PKGVERSION.
58677         * elf/sln.c (main): Use PKGVERSION.
58678         (usage): Use REPORT_BUGS_TO.
58679         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58680         (top level): Use PKGVERSION.
58681         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58682         (print_version): Use PKGVERSION.
58683         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58684         (print_version): Use PKGVERSION.
58685         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58686         (print_version): Use PKGVERSION.
58687         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58688         (print_version): Use PKGVERSION.
58689         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58690         (print_version): Use PKGVERSION.
58691         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58692         (print_version): Use PKGVERSION.
58693         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58694         and BUGURL.
58695         ($(objpfx)memusage): Likewise.
58696         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58697         (do_version): Use PKGVERSION.
58698         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58699         (print_version): Use PKGVERSION.
58700         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58701         ($PKGVERSION): New variable.
58702         ($REPORT_BUGS_TO): Likewise.
58703         (usage): Use $REPORT_BUGS_TO.
58704         (top level): Use $PKGVERSION.
58705         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58706         ($(objpfx)pkgvers.texi): New rule.
58707         ($(objpfx)stamp-pkgvers): Likewise.
58708         * manual/install.texi: Include pkgvers.texi.
58709         (--with-pkgversion): Document new configure option.
58710         (--with-bugurl): Likewise.
58711         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58712         than necessarily for this particular distribution.  Use
58713         REPORT_BUGS_TO for where to report bugs.
58714         * INSTALL: Regenerated.
58715         * manual/libc.texinfo: Include pkgvers.texi.
58716         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58717         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58718         (print_version): Use PKGVERSION.
58719         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58720         (print_version): Use PKGVERSION.
58721         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58722         (print_version): Use PKGVERSION.
58723         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58724         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58725         macro.
58726         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58727         (print_version): Use PKGVERSION.
58728         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58729         (print_version): Use PKGVERSION.
58730         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58731         and PKGVERSION.
58733         * timezone/checktab.awk: Update from tzcode 2012i.
58734         * timezone/ialloc.c: Likewise.
58735         * timezone/private.h: Likewise.
58736         * timezone/scheck.c: Likewise.
58737         * timezone/tzfile.h: Likewise.
58738         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58739         (TZVERSION): Hardcode tzcode version number.
58740         * timezone/zdump.c: Update from tzcode 2012i.
58741         * timezone/zic.c: Likewise.
58742         * timezone/version.h: New file.
58743         * timezone/README: Describe version.h.  Update upstream location.
58745         [BZ #14824]
58746         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58747         (mktemp): Enable declaration.
58748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58750         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58751         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58752         Likewise.
58753         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58754         Likewise.
58755         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58756         Likewise.
58757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58758         Likewise.
58759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58760         Likewise.
58761         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58762         Likewise.
58764         [BZ #14821]
58765         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58766         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58767         for copies of such integer values.
58768         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58769         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58771 2012-11-09  Andreas Jaeger  <aj@suse.de>
58773         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58774         definitions and declarations that are provided by
58775         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58777 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58779         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58780         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58781         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58782         definition.
58784 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58786         * elf/elf.h: Update comment before AArch64 relocations.
58788 2012-11-07  David S. Miller  <davem@davemloft.net>
58790         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58791         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58792         (__start_context): Declare.
58793         (__makecontext_ret): Delete.
58794         (__makecontext): Hook up __start_context instead of
58795         __makecontext_ret.
58796         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58797         (sysdep_routines): Add __start_context when in stdlib.
58799 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58801         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58802         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58803         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58804         hardcoded "nm".
58805         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58806         (READELF): New variable.  Use it instead of hardcoded "readelf".
58808 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58810         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58811         * sysdeps/x86/Makefile: Here.
58812         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58813         * sysdeps/x86/tst-xmmymm.sh: This.
58815 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58817         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58818         expectations.
58819         [UNIX98] (pthread_barrier_t): Do not expect.
58820         [UNIX98] (pthread_barrierattr_t): Likewise.
58821         [UNIX98] (pthread_spinlock_t): Likewise.
58822         [UNIX98] (pthread_barrier_destroy): Likewise.
58823         [UNIX98] (pthread_barrier_init): Likewise.
58824         [UNIX98] (pthread_barrier_wait): Likewise.
58825         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58826         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58827         [UNIX98] (pthread_barrierattr_init): Likewise.
58828         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58829         [UNIX98] (pthread_getcpuclockid): Likewise.
58830         [UNIX98] (pthread_mutex_timedlock): Likewise.
58831         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58832         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58833         [UNIX98] (pthread_sigmask): Likewise.
58834         [UNIX98] (pthread_spin_destroy): Likewise.
58835         [UNIX98] (pthread_spin_init): Likewise.
58836         [UNIX98] (pthread_spin_lock): Likewise.
58837         [UNIX98] (pthread_spin_trylock): Likewise.
58838         [UNIX98] (pthread_spin_unlock): Likewise.
58839         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58840         Do not expect.
58841         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58842         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58843         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58844         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58845         [XPG3 || XPG4] (pthread_key_t): Likewise.
58846         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58847         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58848         [XPG3 || XPG4] (pthread_once_t): Likewise.
58849         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58850         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58851         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58852         [XPG3 || XPG4] (pthread_t): Likewise.
58854         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58855         not expect.
58856         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58858         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58859         Change function return type to int.
58861         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58862         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58863         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58864         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58865         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58866         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58867         [!POSIX] (posix_madvise): Likewise.
58868         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58869         && !UNIX98].
58870         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58871         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58872         (mode_t): Likewise.
58873         (posix_mem_offset): Likewise.
58874         (posix_typed_mem_get_info): Likewise.
58875         (posix_typed_mem_open): Likewise.
58877         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58878         Change condition to [XOPEN2K8].
58880         * conform/conformtest.pl: Preprocess allow-header data with -x c
58881         instead of from stdin.
58882         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58883         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58884         [C99-based standards] (cerfc): Likewise.
58885         [C99-based standards] (cexp2): Likewise.
58886         [C99-based standards] (cexpm1): Likewise.
58887         [C99-based standards] (clog10): Likewise.
58888         [C99-based standards] (clog1p): Likewise.
58889         [C99-based standards] (clog2): Likewise.
58890         [C99-based standards] (clgamma): Likewise.
58891         [C99-based standards] (ctgamma): Likewise.
58892         [C99-based standards] (cerff): Likewise.
58893         [C99-based standards] (cerfcf): Likewise.
58894         [C99-based standards] (cexp2f): Likewise.
58895         [C99-based standards] (cexpm1f): Likewise.
58896         [C99-based standards] (clog10f): Likewise.
58897         [C99-based standards] (clog1pf): Likewise.
58898         [C99-based standards] (clog2f): Likewise.
58899         [C99-based standards] (clgammaf): Likewise.
58900         [C99-based standards] (ctgammaf): Likewise.
58901         [C99-based standards] (cerfl): Likewise.
58902         [C99-based standards] (cerfcl): Likewise.
58903         [C99-based standards] (cexp2l): Likewise.
58904         [C99-based standards] (cexpm1l): Likewise.
58905         [C99-based standards] (clog10l): Likewise.
58906         [C99-based standards] (clog1pl): Likewise.
58907         [C99-based standards] (clog2l): Likewise.
58908         [C99-based standards] (clgammal): Likewise.
58909         [C99-based standards] (ctgammal): Likewise.
58910         * conform/data/inttypes.h-data [C99-based standards]: Include
58911         stdint.h-data.  Remove all expectations for stdint.h contents.
58912         [C99-based standards] (PRI*): Do not allow.
58913         [C99-based standards] (SCN*): Likewise.
58914         [C99-based standards] (*_t): Likewise.
58915         [C99-based-standards] (PRId8): Expect macro.
58916         [C99-based-standards] (PRIi8): Likewise.
58917         [C99-based-standards] (PRIo8): Likewise.
58918         [C99-based-standards] (PRIu8): Likewise.
58919         [C99-based-standards] (PRIx8): Likewise.
58920         [C99-based-standards] (PRIX8): Likewise.
58921         [C99-based-standards] (SCNd8): Likewise.
58922         [C99-based-standards] (SCNi8): Likewise.
58923         [C99-based-standards] (SCNo8): Likewise.
58924         [C99-based-standards] (SCNu8): Likewise.
58925         [C99-based-standards] (SCNx8): Likewise.
58926         [C99-based-standards] (PRIdLEAST8): Likewise.
58927         [C99-based-standards] (PRIiLEAST8): Likewise.
58928         [C99-based-standards] (PRIoLEAST8): Likewise.
58929         [C99-based-standards] (PRIuLEAST8): Likewise.
58930         [C99-based-standards] (PRIxLEAST8): Likewise.
58931         [C99-based-standards] (PRIXLEAST8): Likewise.
58932         [C99-based-standards] (SCNdLEAST8): Likewise.
58933         [C99-based-standards] (SCNiLEAST8): Likewise.
58934         [C99-based-standards] (SCNoLEAST8): Likewise.
58935         [C99-based-standards] (SCNuLEAST8): Likewise.
58936         [C99-based-standards] (SCNxLEAST8): Likewise.
58937         [C99-based-standards] (PRIdFAST8): Likewise.
58938         [C99-based-standards] (PRIiFAST8): Likewise.
58939         [C99-based-standards] (PRIoFAST8): Likewise.
58940         [C99-based-standards] (PRIuFAST8): Likewise.
58941         [C99-based-standards] (PRIxFAST8): Likewise.
58942         [C99-based-standards] (PRIXFAST8): Likewise.
58943         [C99-based-standards] (SCNdFAST8): Likewise.
58944         [C99-based-standards] (SCNiFAST8): Likewise.
58945         [C99-based-standards] (SCNoFAST8): Likewise.
58946         [C99-based-standards] (SCNuFAST8): Likewise.
58947         [C99-based-standards] (SCNxFAST8): Likewise.
58948         [C99-based-standards] (PRId16): Likewise.
58949         [C99-based-standards] (PRIi16): Likewise.
58950         [C99-based-standards] (PRIo16): Likewise.
58951         [C99-based-standards] (PRIu16): Likewise.
58952         [C99-based-standards] (PRIx16): Likewise.
58953         [C99-based-standards] (PRIX16): Likewise.
58954         [C99-based-standards] (SCNd16): Likewise.
58955         [C99-based-standards] (SCNi16): Likewise.
58956         [C99-based-standards] (SCNo16): Likewise.
58957         [C99-based-standards] (SCNu16): Likewise.
58958         [C99-based-standards] (SCNx16): Likewise.
58959         [C99-based-standards] (PRIdLEAST16): Likewise.
58960         [C99-based-standards] (PRIiLEAST16): Likewise.
58961         [C99-based-standards] (PRIoLEAST16): Likewise.
58962         [C99-based-standards] (PRIuLEAST16): Likewise.
58963         [C99-based-standards] (PRIxLEAST16): Likewise.
58964         [C99-based-standards] (PRIXLEAST16): Likewise.
58965         [C99-based-standards] (SCNdLEAST16): Likewise.
58966         [C99-based-standards] (SCNiLEAST16): Likewise.
58967         [C99-based-standards] (SCNoLEAST16): Likewise.
58968         [C99-based-standards] (SCNuLEAST16): Likewise.
58969         [C99-based-standards] (SCNxLEAST16): Likewise.
58970         [C99-based-standards] (PRIdFAST16): Likewise.
58971         [C99-based-standards] (PRIiFAST16): Likewise.
58972         [C99-based-standards] (PRIoFAST16): Likewise.
58973         [C99-based-standards] (PRIuFAST16): Likewise.
58974         [C99-based-standards] (PRIxFAST16): Likewise.
58975         [C99-based-standards] (PRIXFAST16): Likewise.
58976         [C99-based-standards] (SCNdFAST16): Likewise.
58977         [C99-based-standards] (SCNiFAST16): Likewise.
58978         [C99-based-standards] (SCNoFAST16): Likewise.
58979         [C99-based-standards] (SCNuFAST16): Likewise.
58980         [C99-based-standards] (SCNxFAST16): Likewise.
58981         [C99-based-standards] (PRId32): Likewise.
58982         [C99-based-standards] (PRIi32): Likewise.
58983         [C99-based-standards] (PRIo32): Likewise.
58984         [C99-based-standards] (PRIu32): Likewise.
58985         [C99-based-standards] (PRIx32): Likewise.
58986         [C99-based-standards] (PRIX32): Likewise.
58987         [C99-based-standards] (SCNd32): Likewise.
58988         [C99-based-standards] (SCNi32): Likewise.
58989         [C99-based-standards] (SCNo32): Likewise.
58990         [C99-based-standards] (SCNu32): Likewise.
58991         [C99-based-standards] (SCNx32): Likewise.
58992         [C99-based-standards] (PRIdLEAST32): Likewise.
58993         [C99-based-standards] (PRIiLEAST32): Likewise.
58994         [C99-based-standards] (PRIoLEAST32): Likewise.
58995         [C99-based-standards] (PRIuLEAST32): Likewise.
58996         [C99-based-standards] (PRIxLEAST32): Likewise.
58997         [C99-based-standards] (PRIXLEAST32): Likewise.
58998         [C99-based-standards] (SCNdLEAST32): Likewise.
58999         [C99-based-standards] (SCNiLEAST32): Likewise.
59000         [C99-based-standards] (SCNoLEAST32): Likewise.
59001         [C99-based-standards] (SCNuLEAST32): Likewise.
59002         [C99-based-standards] (SCNxLEAST32): Likewise.
59003         [C99-based-standards] (PRIdFAST32): Likewise.
59004         [C99-based-standards] (PRIiFAST32): Likewise.
59005         [C99-based-standards] (PRIoFAST32): Likewise.
59006         [C99-based-standards] (PRIuFAST32): Likewise.
59007         [C99-based-standards] (PRIxFAST32): Likewise.
59008         [C99-based-standards] (PRIXFAST32): Likewise.
59009         [C99-based-standards] (SCNdFAST32): Likewise.
59010         [C99-based-standards] (SCNiFAST32): Likewise.
59011         [C99-based-standards] (SCNoFAST32): Likewise.
59012         [C99-based-standards] (SCNuFAST32): Likewise.
59013         [C99-based-standards] (SCNxFAST32): Likewise.
59014         [C99-based-standards] (PRId64): Likewise.
59015         [C99-based-standards] (PRIi64): Likewise.
59016         [C99-based-standards] (PRIo64): Likewise.
59017         [C99-based-standards] (PRIu64): Likewise.
59018         [C99-based-standards] (PRIx64): Likewise.
59019         [C99-based-standards] (PRIX64): Likewise.
59020         [C99-based-standards] (SCNd64): Likewise.
59021         [C99-based-standards] (SCNi64): Likewise.
59022         [C99-based-standards] (SCNo64): Likewise.
59023         [C99-based-standards] (SCNu64): Likewise.
59024         [C99-based-standards] (SCNx64): Likewise.
59025         [C99-based-standards] (PRIdLEAST64): Likewise.
59026         [C99-based-standards] (PRIiLEAST64): Likewise.
59027         [C99-based-standards] (PRIoLEAST64): Likewise.
59028         [C99-based-standards] (PRIuLEAST64): Likewise.
59029         [C99-based-standards] (PRIxLEAST64): Likewise.
59030         [C99-based-standards] (PRIXLEAST64): Likewise.
59031         [C99-based-standards] (SCNdLEAST64): Likewise.
59032         [C99-based-standards] (SCNiLEAST64): Likewise.
59033         [C99-based-standards] (SCNoLEAST64): Likewise.
59034         [C99-based-standards] (SCNuLEAST64): Likewise.
59035         [C99-based-standards] (SCNxLEAST64): Likewise.
59036         [C99-based-standards] (PRIdFAST64): Likewise.
59037         [C99-based-standards] (PRIiFAST64): Likewise.
59038         [C99-based-standards] (PRIoFAST64): Likewise.
59039         [C99-based-standards] (PRIuFAST64): Likewise.
59040         [C99-based-standards] (PRIxFAST64): Likewise.
59041         [C99-based-standards] (PRIXFAST64): Likewise.
59042         [C99-based-standards] (SCNdFAST64): Likewise.
59043         [C99-based-standards] (SCNiFAST64): Likewise.
59044         [C99-based-standards] (SCNoFAST64): Likewise.
59045         [C99-based-standards] (SCNuFAST64): Likewise.
59046         [C99-based-standards] (SCNxFAST64): Likewise.
59047         [C99-based-standards] (PRIdMAX): Likewise.
59048         [C99-based-standards] (PRIiMAX): Likewise.
59049         [C99-based-standards] (PRIoMAX): Likewise.
59050         [C99-based-standards] (PRIuMAX): Likewise.
59051         [C99-based-standards] (PRIxMAX): Likewise.
59052         [C99-based-standards] (PRIXMAX): Likewise.
59053         [C99-based-standards] (SCNdMAX): Likewise.
59054         [C99-based-standards] (SCNiMAX): Likewise.
59055         [C99-based-standards] (SCNoMAX): Likewise.
59056         [C99-based-standards] (SCNuMAX): Likewise.
59057         [C99-based-standards] (SCNxMAX): Likewise.
59058         [C99-based-standards] (PRIdPTR): Likewise.
59059         [C99-based-standards] (PRIiPTR): Likewise.
59060         [C99-based-standards] (PRIoPTR): Likewise.
59061         [C99-based-standards] (PRIuPTR): Likewise.
59062         [C99-based-standards] (PRIxPTR): Likewise.
59063         [C99-based-standards] (PRIXPTR): Likewise.
59064         [C99-based-standards] (SCNdPTR): Likewise.
59065         [C99-based-standards] (SCNiPTR): Likewise.
59066         [C99-based-standards] (SCNoPTR): Likewise.
59067         [C99-based-standards] (SCNuPTR): Likewise.
59068         [C99-based-standards] (SCNxPTR): Likewise.
59069         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59070         allow.
59071         * conform/data/stdint.h-data: Update comments to clarify
59072         requirements.
59073         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59074         type.
59075         [C99-based standards] (INT8_MAX): Likewise.
59076         [C99-based standards] (INT16_MIN): Likewise.
59077         [C99-based standards] (INT16_MAX): Likewise.
59078         [C99-based standards] (INT32_MIN): Likewise.
59079         [C99-based standards] (INT32_MAX): Likewise.
59080         [C99-based standards] (INT64_MIN): Likewise.
59081         [C99-based standards] (INT64_MAX): Likewise.
59082         [C99-based standards] (UINT8_MAX): Likewise.
59083         [C99-based standards] (UINT16_MAX): Likewise.
59084         [C99-based standards] (UINT32_MAX): Likewise.
59085         [C99-based standards] (UINT64_MAX): Likewise.
59086         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59087         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59088         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59089         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59090         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59091         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59092         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59093         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59094         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59095         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59096         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59097         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59098         [C99-based standards] (INT_FAST8_MIN): Likewise.
59099         [C99-based standards] (INT_FAST8_MAX): Likewise.
59100         [C99-based standards] (INT_FAST16_MIN): Likewise.
59101         [C99-based standards] (INT_FAST16_MAX): Likewise.
59102         [C99-based standards] (INT_FAST32_MIN): Likewise.
59103         [C99-based standards] (INT_FAST32_MAX): Likewise.
59104         [C99-based standards] (INT_FAST64_MIN): Likewise.
59105         [C99-based standards] (INT_FAST64_MAX): Likewise.
59106         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59107         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59108         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59109         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59110         [C99-based standards] (INTPTR_MIN): Likewise.
59111         [C99-based standards] (INTPTR_MAX): Likewise.
59112         [C99-based standards] (UINTPTR_MAX): Likewise.
59113         [C99-based standards] (INTMAX_MIN): Likewise.
59114         [C99-based standards] (INTMAX_MAX): Likewise.
59115         [C99-based standards] (UINTMAX_MAX): Likewise.
59116         [C99-based standards] (PTRDIFF_MIN): Likewise.
59117         [C99-based standards] (PTRDIFF_MAX): Likewise.
59118         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59119         [C99-based standards] (SIZE_MAX): Likewise.
59120         [C99-based standards] (WCHAR_MAX): Likewise.
59121         [C99-based standards] (WINT_MAX): Likewise.
59122         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59123         constraint on value.
59124         [C99-based standards] (WCHAR_MIN): Likewise.
59125         [C99-based standards] (WINT_MIN): Likewise.
59126         [C99-based standards] (*_t): Allow.
59127         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59128         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59129         Include math.h-data and complex.h-data.  Remove all expectations
59130         of math.h and complex.h contents.
59131         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59132         at end of line.
59133         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59134         (struct tm): Expect tag.
59135         [C99-based-standards] (wcstof): Expect function.
59136         [C99-based-standards] (wcstold): Likewise.
59137         [C99-based-standards] (wcstoll): Likewise.
59138         [C99-based-standards] (wcstoull): Likewise.
59139         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59140         macro-int-constant.  Specify type.
59141         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59142         constraint on value.
59143         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59144         Specify type.
59145         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59146         Specify value.
59147         [ISO C standards]: Do not allow headers.
59148         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59149         wcs[abcdefghijklmnopqrstuvwxyz]*.
59150         [ISO C standards] (*_t): Do not allow.
59151         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59152         Expect function.
59153         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59154         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59155         Specify type.
59156         [ISO C standards]: Do not allow headers.
59157         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59158         is[abcdefghijklmnopqrstuvwxyz]*.
59159         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59160         to[abcdefghijklmnopqrstuvwxyz]*.
59161         [ISO C standards] (*_t): Do not allow.
59162         * conform/data/stdalign.h-data: New file.
59163         * conform/data/stdbool.h-data: Likewise.
59164         * conform/data/stdnoreturn.h-data: Likewise.
59166 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59168         [BZ #14815]
59169         * manual/filesys.texi (Directory Entries): Typo fix.
59170         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59172 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59174         * elf/elf.h (EM_AARCH64): New macro.
59175         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59176         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59177         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59178         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59179         (R_AARCH64_TLSDESC): Likewise.
59180         (NT_ARM_TLS): Likewise.
59181         (NT_ARM_HW_BREAK): Likewise.
59182         (NT_ARM_HW_WATCH): Likewise.
59184 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59186         [BZ #14811]
59187         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59188         (__ieee754_powl): Saturate nonzero exponents with absolute value
59189         below 0x1p-79 to +/- 0x1p-79.
59190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59191         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59192         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59193         nonzero exponents with absolute value below 0x1p-32 to +/-
59194         0x1p-32.
59195         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59196         (__ieee754_powl): Saturate nonzero exponents with absolute value
59197         below 0x1p-79 to +/- 0x1p-79.
59198         * math/libm-test.inc (pow_test): Add more tests.
59200 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59202         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59203         _dl_s390_cap_flags with kernel. Increase string length.
59204         (_dl_s390_platforms): Add z196 and zEC12.
59206 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59208         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59209         Change XOPEN21K to XOPEN2K.
59211 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59213         * string/memmove.c: Use memcpy when possible.
59215 2012-11-06  Andreas Jaeger  <aj@suse.de>
59217         * po/eo.po: Update from translation team.
59219 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59221         [BZ #14793]
59222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59223         exponent and small x and y exponents, scale x or y up.  Increase
59224         by 2 the exponent used in scaling up.
59225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59227         * math/libm-test.inc (fma_test): Add more tests.
59228         (fma_test_towardzero): Likewise.
59229         (fma_test_downward): Likewise.
59230         (fma_test_upward): Likewise.
59232 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59234         [BZ #14805]
59235         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59236         fenv_t *.
59238         [BZ #14801]
59239         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59240         namespace for names of struct fields.
59241         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59242         fenv_t fields.
59243         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59244         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59246 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59248         [BZ #3665]
59249         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59251 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59253         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59254         PTR_DEMANGLE.
59256         [BZ #5246]
59257         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59258         PTR_DEMANGLE.
59260 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59262         [BZ #14797]
59263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59264         definitely overflow as x * y not x * y + z.
59265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59267         * math/libm-test.inc (fma_test): Add more tests.
59268         (fma_test_towardzero): Likewise.
59269         (fma_test_downward): Likewise.
59270         (fma_test_upward): Likewise.
59272 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59274         [BZ #157]
59276         * include/stub-tag.h: Remove file.
59277         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59278         '#include' of it.
59279         * manual/maint.texi (Porting): Don't reference it.
59280         * Makerules ($(objpfx)stubs): Likewise.
59281         * dirent/closedir.c: Don't include <stub-tag.h>.
59282         * dirent/dirfd.c: Likewise.
59283         * dirent/fdopendir.c: Likewise.
59284         * dirent/getdents.c: Likewise.
59285         * dirent/getdents64.c: Likewise.
59286         * dirent/opendir.c: Likewise.
59287         * dirent/readdir.c: Likewise.
59288         * dirent/readdir64.c: Likewise.
59289         * dirent/readdir64_r.c: Likewise.
59290         * dirent/readdir_r.c: Likewise.
59291         * dirent/rewinddir.c: Likewise.
59292         * dirent/seekdir.c: Likewise.
59293         * dirent/telldir.c: Likewise.
59294         * gmon/profil.c: Likewise.
59295         * grp/setgroups.c: Likewise.
59296         * inet/if_index.c: Likewise.
59297         * io/access.c: Likewise.
59298         * io/chdir.c: Likewise.
59299         * io/chmod.c: Likewise.
59300         * io/chown.c: Likewise.
59301         * io/close.c: Likewise.
59302         * io/dup.c: Likewise.
59303         * io/dup2.c: Likewise.
59304         * io/dup3.c: Likewise.
59305         * io/euidaccess.c: Likewise.
59306         * io/faccessat.c: Likewise.
59307         * io/fchdir.c: Likewise.
59308         * io/fchmod.c: Likewise.
59309         * io/fchmodat.c: Likewise.
59310         * io/fchown.c: Likewise.
59311         * io/fchownat.c: Likewise.
59312         * io/fcntl.c: Likewise.
59313         * io/flock.c: Likewise.
59314         * io/fstatfs.c: Likewise.
59315         * io/fstatfs64.c: Likewise.
59316         * io/fstatvfs.c: Likewise.
59317         * io/fstatvfs64.c: Likewise.
59318         * io/futimens.c: Likewise.
59319         * io/fxstat.c: Likewise.
59320         * io/fxstat64.c: Likewise.
59321         * io/fxstatat.c: Likewise.
59322         * io/fxstatat64.c: Likewise.
59323         * io/getcwd.c: Likewise.
59324         * io/isatty.c: Likewise.
59325         * io/lchmod.c: Likewise.
59326         * io/lchown.c: Likewise.
59327         * io/link.c: Likewise.
59328         * io/linkat.c: Likewise.
59329         * io/lseek.c: Likewise.
59330         * io/lseek64.c: Likewise.
59331         * io/lxstat64.c: Likewise.
59332         * io/mkdir.c: Likewise.
59333         * io/mkdirat.c: Likewise.
59334         * io/mkfifo.c: Likewise.
59335         * io/mkfifoat.c: Likewise.
59336         * io/open.c: Likewise.
59337         * io/open64.c: Likewise.
59338         * io/openat.c: Likewise.
59339         * io/openat64.c: Likewise.
59340         * io/pipe.c: Likewise.
59341         * io/pipe2.c: Likewise.
59342         * io/poll.c: Likewise.
59343         * io/posix_fadvise.c: Likewise.
59344         * io/posix_fadvise64.c: Likewise.
59345         * io/posix_fallocate.c: Likewise.
59346         * io/posix_fallocate64.c: Likewise.
59347         * io/read.c: Likewise.
59348         * io/readlink.c: Likewise.
59349         * io/readlinkat.c: Likewise.
59350         * io/rmdir.c: Likewise.
59351         * io/sendfile.c: Likewise.
59352         * io/sendfile64.c: Likewise.
59353         * io/statfs.c: Likewise.
59354         * io/statfs64.c: Likewise.
59355         * io/statvfs.c: Likewise.
59356         * io/statvfs64.c: Likewise.
59357         * io/symlink.c: Likewise.
59358         * io/symlinkat.c: Likewise.
59359         * io/ttyname.c: Likewise.
59360         * io/ttyname_r.c: Likewise.
59361         * io/umask.c: Likewise.
59362         * io/unlink.c: Likewise.
59363         * io/unlinkat.c: Likewise.
59364         * io/utime.c: Likewise.
59365         * io/utimensat.c: Likewise.
59366         * io/write.c: Likewise.
59367         * io/xmknod.c: Likewise.
59368         * io/xmknodat.c: Likewise.
59369         * io/xstat.c: Likewise.
59370         * io/xstat64.c: Likewise.
59371         * login/getpt.c: Likewise.
59372         * login/grantpt.c: Likewise.
59373         * login/unlockpt.c: Likewise.
59374         * math/e_acoshl.c: Likewise.
59375         * math/e_acosl.c: Likewise.
59376         * math/e_asinl.c: Likewise.
59377         * math/e_atan2l.c: Likewise.
59378         * math/e_atanhl.c: Likewise.
59379         * math/e_coshl.c: Likewise.
59380         * math/e_expl.c: Likewise.
59381         * math/e_fmodl.c: Likewise.
59382         * math/e_gammal_r.c: Likewise.
59383         * math/e_hypotl.c: Likewise.
59384         * math/e_j0l.c: Likewise.
59385         * math/e_j1l.c: Likewise.
59386         * math/e_jnl.c: Likewise.
59387         * math/e_lgammal_r.c: Likewise.
59388         * math/e_log10l.c: Likewise.
59389         * math/e_log2l.c: Likewise.
59390         * math/e_logl.c: Likewise.
59391         * math/e_powl.c: Likewise.
59392         * math/e_rem_pio2l.c: Likewise.
59393         * math/e_sinhl.c: Likewise.
59394         * math/e_sqrtl.c: Likewise.
59395         * math/fclrexcpt.c: Likewise.
59396         * math/fedisblxcpt.c: Likewise.
59397         * math/feenablxcpt.c: Likewise.
59398         * math/fegetenv.c: Likewise.
59399         * math/fegetexcept.c: Likewise.
59400         * math/fegetround.c: Likewise.
59401         * math/feholdexcpt.c: Likewise.
59402         * math/fesetenv.c: Likewise.
59403         * math/fesetround.c: Likewise.
59404         * math/feupdateenv.c: Likewise.
59405         * math/fgetexcptflg.c: Likewise.
59406         * math/fraiseexcpt.c: Likewise.
59407         * math/fsetexcptflg.c: Likewise.
59408         * math/ftestexcept.c: Likewise.
59409         * math/k_cosl.c: Likewise.
59410         * math/k_rem_pio2l.c: Likewise.
59411         * math/k_sinl.c: Likewise.
59412         * math/k_tanl.c: Likewise.
59413         * math/s_asinhl.c: Likewise.
59414         * math/s_atanl.c: Likewise.
59415         * math/s_cbrtl.c: Likewise.
59416         * math/s_erfl.c: Likewise.
59417         * math/s_expm1l.c: Likewise.
59418         * math/s_log1pl.c: Likewise.
59419         * math/s_tanhl.c: Likewise.
59420         * misc/acct.c: Likewise.
59421         * misc/brk.c: Likewise.
59422         * misc/chflags.c: Likewise.
59423         * misc/chroot.c: Likewise.
59424         * misc/fchflags.c: Likewise.
59425         * misc/fgetxattr.c: Likewise.
59426         * misc/flistxattr.c: Likewise.
59427         * misc/fremovexattr.c: Likewise.
59428         * misc/fsetxattr.c: Likewise.
59429         * misc/fsync.c: Likewise.
59430         * misc/ftruncate.c: Likewise.
59431         * misc/futimes.c: Likewise.
59432         * misc/futimesat.c: Likewise.
59433         * misc/getdomain.c: Likewise.
59434         * misc/getdtsz.c: Likewise.
59435         * misc/gethostid.c: Likewise.
59436         * misc/gethostname.c: Likewise.
59437         * misc/getloadavg.c: Likewise.
59438         * misc/getpagesize.c: Likewise.
59439         * misc/getsysstats.c: Likewise.
59440         * misc/getxattr.c: Likewise.
59441         * misc/gtty.c: Likewise.
59442         * misc/ioctl.c: Likewise.
59443         * misc/lgetxattr.c: Likewise.
59444         * misc/listxattr.c: Likewise.
59445         * misc/llistxattr.c: Likewise.
59446         * misc/lremovexattr.c: Likewise.
59447         * misc/lsetxattr.c: Likewise.
59448         * misc/lutimes.c: Likewise.
59449         * misc/madvise.c: Likewise.
59450         * misc/mincore.c: Likewise.
59451         * misc/mlock.c: Likewise.
59452         * misc/mlockall.c: Likewise.
59453         * misc/mmap.c: Likewise.
59454         * misc/mprotect.c: Likewise.
59455         * misc/msync.c: Likewise.
59456         * misc/munlock.c: Likewise.
59457         * misc/munlockall.c: Likewise.
59458         * misc/munmap.c: Likewise.
59459         * misc/preadv.c: Likewise.
59460         * misc/preadv64.c: Likewise.
59461         * misc/ptrace.c: Likewise.
59462         * misc/pwritev.c: Likewise.
59463         * misc/pwritev64.c: Likewise.
59464         * misc/readv.c: Likewise.
59465         * misc/reboot.c: Likewise.
59466         * misc/remap_file_pages.c: Likewise.
59467         * misc/removexattr.c: Likewise.
59468         * misc/revoke.c: Likewise.
59469         * misc/select.c: Likewise.
59470         * misc/setdomain.c: Likewise.
59471         * misc/setegid.c: Likewise.
59472         * misc/seteuid.c: Likewise.
59473         * misc/sethostid.c: Likewise.
59474         * misc/sethostname.c: Likewise.
59475         * misc/setregid.c: Likewise.
59476         * misc/setreuid.c: Likewise.
59477         * misc/setxattr.c: Likewise.
59478         * misc/sstk.c: Likewise.
59479         * misc/stty.c: Likewise.
59480         * misc/swapoff.c: Likewise.
59481         * misc/swapon.c: Likewise.
59482         * misc/sync.c: Likewise.
59483         * misc/syncfs.c: Likewise.
59484         * misc/syscall.c: Likewise.
59485         * misc/truncate.c: Likewise.
59486         * misc/ualarm.c: Likewise.
59487         * misc/usleep.c: Likewise.
59488         * misc/ustat.c: Likewise.
59489         * misc/utimes.c: Likewise.
59490         * misc/vhangup.c: Likewise.
59491         * misc/writev.c: Likewise.
59492         * posix/_exit.c: Likewise.
59493         * posix/alarm.c: Likewise.
59494         * posix/execve.c: Likewise.
59495         * posix/fexecve.c: Likewise.
59496         * posix/fork.c: Likewise.
59497         * posix/fpathconf.c: Likewise.
59498         * posix/getaddrinfo.c: Likewise.
59499         * posix/getegid.c: Likewise.
59500         * posix/geteuid.c: Likewise.
59501         * posix/getgid.c: Likewise.
59502         * posix/getgroups.c: Likewise.
59503         * posix/getlogin.c: Likewise.
59504         * posix/getlogin_r.c: Likewise.
59505         * posix/getpgid.c: Likewise.
59506         * posix/getpid.c: Likewise.
59507         * posix/getppid.c: Likewise.
59508         * posix/getresgid.c: Likewise.
59509         * posix/getresuid.c: Likewise.
59510         * posix/getsid.c: Likewise.
59511         * posix/getuid.c: Likewise.
59512         * posix/glob64.c: Likewise.
59513         * posix/nanosleep.c: Likewise.
59514         * posix/pathconf.c: Likewise.
59515         * posix/pause.c: Likewise.
59516         * posix/posix_madvise.c: Likewise.
59517         * posix/pread.c: Likewise.
59518         * posix/pread64.c: Likewise.
59519         * posix/pwrite.c: Likewise.
59520         * posix/pwrite64.c: Likewise.
59521         * posix/sched_getaffinity.c: Likewise.
59522         * posix/sched_getp.c: Likewise.
59523         * posix/sched_gets.c: Likewise.
59524         * posix/sched_primax.c: Likewise.
59525         * posix/sched_primin.c: Likewise.
59526         * posix/sched_rr_gi.c: Likewise.
59527         * posix/sched_setaffinity.c: Likewise.
59528         * posix/sched_setp.c: Likewise.
59529         * posix/sched_sets.c: Likewise.
59530         * posix/sched_yield.c: Likewise.
59531         * posix/setgid.c: Likewise.
59532         * posix/setlogin.c: Likewise.
59533         * posix/setpgid.c: Likewise.
59534         * posix/setresgid.c: Likewise.
59535         * posix/setresuid.c: Likewise.
59536         * posix/setsid.c: Likewise.
59537         * posix/setuid.c: Likewise.
59538         * posix/sleep.c: Likewise.
59539         * posix/spawni.c: Likewise.
59540         * posix/sysconf.c: Likewise.
59541         * posix/times.c: Likewise.
59542         * posix/wait.c: Likewise.
59543         * posix/wait3.c: Likewise.
59544         * posix/wait4.c: Likewise.
59545         * posix/waitpid.c: Likewise.
59546         * resolv/gai_sigqueue.c: Likewise.
59547         * resource/getpriority.c: Likewise.
59548         * resource/getrlimit.c: Likewise.
59549         * resource/getrusage.c: Likewise.
59550         * resource/nice.c: Likewise.
59551         * resource/setpriority.c: Likewise.
59552         * resource/setrlimit.c: Likewise.
59553         * resource/ulimit.c: Likewise.
59554         * rt/aio_cancel.c: Likewise.
59555         * rt/aio_fsync.c: Likewise.
59556         * rt/aio_read.c: Likewise.
59557         * rt/aio_sigqueue.c: Likewise.
59558         * rt/aio_suspend.c: Likewise.
59559         * rt/aio_write.c: Likewise.
59560         * rt/clock_getres.c: Likewise.
59561         * rt/clock_gettime.c: Likewise.
59562         * rt/clock_nanosleep.c: Likewise.
59563         * rt/clock_settime.c: Likewise.
59564         * rt/lio_listio.c: Likewise.
59565         * rt/mq_close.c: Likewise.
59566         * rt/mq_getattr.c: Likewise.
59567         * rt/mq_notify.c: Likewise.
59568         * rt/mq_open.c: Likewise.
59569         * rt/mq_receive.c: Likewise.
59570         * rt/mq_send.c: Likewise.
59571         * rt/mq_setattr.c: Likewise.
59572         * rt/mq_timedreceive.c: Likewise.
59573         * rt/mq_timedsend.c: Likewise.
59574         * rt/mq_unlink.c: Likewise.
59575         * rt/shm_open.c: Likewise.
59576         * rt/shm_unlink.c: Likewise.
59577         * rt/timer_create.c: Likewise.
59578         * rt/timer_delete.c: Likewise.
59579         * rt/timer_getoverr.c: Likewise.
59580         * rt/timer_gettime.c: Likewise.
59581         * rt/timer_settime.c: Likewise.
59582         * setjmp/__longjmp.c: Likewise.
59583         * setjmp/setjmp.c: Likewise.
59584         * signal/kill.c: Likewise.
59585         * signal/killpg.c: Likewise.
59586         * signal/raise.c: Likewise.
59587         * signal/sigaction.c: Likewise.
59588         * signal/sigaltstack.c: Likewise.
59589         * signal/sigblock.c: Likewise.
59590         * signal/sigignore.c: Likewise.
59591         * signal/sigintr.c: Likewise.
59592         * signal/signal.c: Likewise.
59593         * signal/sigpause.c: Likewise.
59594         * signal/sigpending.c: Likewise.
59595         * signal/sigqueue.c: Likewise.
59596         * signal/sigreturn.c: Likewise.
59597         * signal/sigset.c: Likewise.
59598         * signal/sigsetmask.c: Likewise.
59599         * signal/sigstack.c: Likewise.
59600         * signal/sigsuspend.c: Likewise.
59601         * signal/sigtimedwait.c: Likewise.
59602         * signal/sigvec.c: Likewise.
59603         * signal/sigwait.c: Likewise.
59604         * signal/sigwaitinfo.c: Likewise.
59605         * signal/sysv_signal.c: Likewise.
59606         * socket/accept.c: Likewise.
59607         * socket/accept4.c: Likewise.
59608         * socket/bind.c: Likewise.
59609         * socket/connect.c: Likewise.
59610         * socket/getpeername.c: Likewise.
59611         * socket/getsockname.c: Likewise.
59612         * socket/getsockopt.c: Likewise.
59613         * socket/isfdtype.c: Likewise.
59614         * socket/listen.c: Likewise.
59615         * socket/recv.c: Likewise.
59616         * socket/recvfrom.c: Likewise.
59617         * socket/recvmsg.c: Likewise.
59618         * socket/send.c: Likewise.
59619         * socket/sendmsg.c: Likewise.
59620         * socket/sendto.c: Likewise.
59621         * socket/setsockopt.c: Likewise.
59622         * socket/shutdown.c: Likewise.
59623         * socket/sockatmark.c: Likewise.
59624         * socket/socket.c: Likewise.
59625         * socket/socketpair.c: Likewise.
59626         * stdio-common/ctermid.c: Likewise.
59627         * stdio-common/cuserid.c: Likewise.
59628         * stdio-common/remove.c: Likewise.
59629         * stdio-common/rename.c: Likewise.
59630         * stdio-common/renameat.c: Likewise.
59631         * stdio-common/tempname.c: Likewise.
59632         * stdlib/getcontext.c: Likewise.
59633         * stdlib/makecontext.c: Likewise.
59634         * stdlib/setcontext.c: Likewise.
59635         * stdlib/swapcontext.c: Likewise.
59636         * stdlib/system.c: Likewise.
59637         * streams/fattach.c: Likewise.
59638         * streams/fdetach.c: Likewise.
59639         * streams/getmsg.c: Likewise.
59640         * streams/getpmsg.c: Likewise.
59641         * streams/putmsg.c: Likewise.
59642         * streams/putpmsg.c: Likewise.
59643         * sysdeps/unix/bsd/getpt.c: Likewise.
59644         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59645         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59646         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59648         Likewise.
59649         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59650         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59651         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59652         * sysvipc/msgctl.c: Likewise.
59653         * sysvipc/msgget.c: Likewise.
59654         * sysvipc/msgrcv.c: Likewise.
59655         * sysvipc/msgsnd.c: Likewise.
59656         * sysvipc/semctl.c: Likewise.
59657         * sysvipc/semget.c: Likewise.
59658         * sysvipc/semop.c: Likewise.
59659         * sysvipc/semtimedop.c: Likewise.
59660         * sysvipc/shmat.c: Likewise.
59661         * sysvipc/shmctl.c: Likewise.
59662         * sysvipc/shmdt.c: Likewise.
59663         * sysvipc/shmget.c: Likewise.
59664         * termios/tcdrain.c: Likewise.
59665         * termios/tcflow.c: Likewise.
59666         * termios/tcflush.c: Likewise.
59667         * termios/tcgetattr.c: Likewise.
59668         * termios/tcgetpgrp.c: Likewise.
59669         * termios/tcsendbrk.c: Likewise.
59670         * termios/tcsetattr.c: Likewise.
59671         * termios/tcsetpgrp.c: Likewise.
59672         * time/adjtime.c: Likewise.
59673         * time/clock.c: Likewise.
59674         * time/getitimer.c: Likewise.
59675         * time/gettimeofday.c: Likewise.
59676         * time/setitimer.c: Likewise.
59677         * time/settimeofday.c: Likewise.
59678         * time/stime.c: Likewise.
59679         * time/time.c: Likewise.
59681 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59683         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59684         /usr/old/bin.
59686         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59687         instead of spaces.
59688         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59690 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59692         [BZ #14796]
59693         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59694         FE_TONEAREST before applying Dekker multiplication and Knuth
59695         addition.  Clear inexact exceptions and check for exact zero
59696         results afterwards.
59697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59698         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59700         * math/libm-test.inc (fma_test): Add more tests.
59701         (fma_test_towardzero): Likewise.
59702         (fma_test_downward): Likewise.
59703         (fma_test_upward): Likewise.
59704         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59705         function.
59706         (libc_fesetround): New macro.
59707         (libc_fesetroundf): Likewise.
59708         (libc_fesetroundl): Likewise.
59709         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59710         function.
59711         (libc_fesetround_387): Likewise.
59712         (libc_fesetroundf): New macro.
59713         (libc_fesetround): Likewise.
59714         (libc_fesetroundl): Likewise.
59715         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59716         function.
59717         (libc_fesetroundf): New macro.
59718         (libc_fesetround): Likewise.
59719         (libc_fesetroundl): Likewise.
59720         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59721         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59722         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59723         libm_hidden_ver.
59724         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59725         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59726         libm_hidden_def.
59727         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59728         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59729         libm_hidden_ver.
59730         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59731         libm_hidden_def.
59733         [BZ #3439]
59734         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59735         integer constant usable in #if and use that to give value to enum
59736         constant.
59737         (FE_DIVBYZERO): Likewise.
59738         (FE_UNDERFLOW): Likewise.
59739         (FE_OVERFLOW): Likewise.
59740         (FE_INVALID): Likewise.
59741         (FE_INVALID_SNAN): Likewise.
59742         (FE_INVALID_ISI): Likewise.
59743         (FE_INVALID_IDI): Likewise.
59744         (FE_INVALID_ZDZ): Likewise.
59745         (FE_INVALID_IMZ): Likewise.
59746         (FE_INVALID_COMPARE): Likewise.
59747         (FE_INVALID_SOFTWARE): Likewise.
59748         (FE_INVALID_SQRT): Likewise.
59749         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59750         (FE_TONEAREST): Likewise.
59751         (FE_TOWARDZERO): Likewise.
59752         (FE_UPWARD): Likewise.
59753         (FE_DOWNWARD): Likewise.
59754         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59755         (FE_DIVBYZERO): Likewise.
59756         (FE_OVERFLOW): Likewise.
59757         (FE_UNDERFLOW): Likewise.
59758         (FE_INEXACT): Likewise.
59759         (FE_TONEAREST): Likewise.
59760         (FE_DOWNWARD): Likewise.
59761         (FE_UPWARD): Likewise.
59762         (FE_TOWARDZERO): Likewise.
59763         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59764         (FE_UNDERFLOW): Likewise.
59765         (FE_OVERFLOW): Likewise.
59766         (FE_DIVBYZERO): Likewise.
59767         (FE_INVALID): Likewise.
59768         (FE_TONEAREST): Likewise.
59769         (FE_TOWARDZERO): Likewise.
59770         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59771         (FE_OVERFLOW): Likewise.
59772         (FE_UNDERFLOW): Likewise.
59773         (FE_DIVBYZERO): Likewise.
59774         (FE_INEXACT): Likewise.
59775         (FE_TONEAREST): Likewise.
59776         (FE_TOWARDZERO): Likewise.
59777         (FE_UPWARD): Likewise.
59778         (FE_DOWNWARD): Likewise.
59779         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59780         (FE_DIVBYZERO): Likewise.
59781         (FE_OVERFLOW): Likewise.
59782         (FE_UNDERFLOW): Likewise.
59783         (FE_INEXACT): Likewise.
59784         (FE_TONEAREST): Likewise.
59785         (FE_DOWNWARD): Likewise.
59786         (FE_UPWARD): Likewise.
59787         (FE_TOWARDZERO): Likewise.
59789 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59791         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59793 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59795         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59796         commands.  Quote $PWD.
59797         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59798         -x" by "export".
59799         (remove_newlines): Remove.
59801 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59803         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59804         * stdlib/stdlib.h (atof): Moved to ...
59805         * include/bits/stdlib-float.h: Here.  New file.
59806         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59807         * stdlib/bits/stdlib-float.h: New file.
59808         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59809         -mno-sse -mno-mmx.
59810         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59811         <xmmintrin.h>.
59813 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59815         * conform/conformtest.pl (@headers): Add fenv.h.
59816         * conform/data/fenv.h-data: New file.
59817         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59818         include of <math/fenv.h>.
59820         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59821         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59822         && !UNIX98].  Enables tests for XOPEN2K8.
59823         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59824         POSIX2008]: Likewise.
59826         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59827         (struct rusage): Do not expect type or its members.
59829         [BZ #3439]
59830         * math/math.h (FP_NAN): Define macro to integer constant usable in
59831         #if and use that to give value to enum constant.
59832         (FP_INFINITE): Likewise.
59833         (FP_ZERO): Likewise.
59834         (FP_SUBNORMAL): Likewise.
59835         (FP_NORMAL): Likewise.
59837 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59839         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59840         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59841         arguments.
59843 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59845         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59846         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59847         autoconf-time if not.
59848         * configure.in: Remove AC_PREREQ.
59850 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59852         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59853         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59854         of the internal implementation.
59856 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59858         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59859         except include of <misc/sys/syslog.h>.
59861 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59864         function returns with a NULL context exit with zero.
59866 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59868         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59870 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59872         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59873         (run_program_cmd): This.
59874         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59875         (tst_langinfo): New variable.  Use it.
59877 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59879         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59880         floating point opcodes.
59882 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59884         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59885         variable.
59887         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59889         * sysdeps/mach/hurd/powerpc: Remove directory.
59890         * sysdeps/mach/powerpc: Likewise.
59892 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59894         * scripts/check-local-headers.sh: Ignore c++ headers.
59896 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59898         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59899         __libc_cleanup_region_start argument.
59901 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59903         [BZ #14784]
59904         [BZ #14785]
59905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59906         x * y using scaling, not as x * y + z.
59907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59909         * math/libm-test.inc (fma_test): Add more tests.
59910         (fma_test_towardzero): Likewise.
59911         (fma_test_downward): Likewise.
59912         (fma_test_upward): Likewise.
59914 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59916         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59918 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59920         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59921         New variable.
59923 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59925         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59927 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59930         Fix sort order.
59931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59932         Likewise.
59934 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59937         Fix the order of the list for glibc 2.17.
59938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59939         Likewise.
59941 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59945 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59947         [BZ #14610]
59948         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59949         for low part of x being zero before using __atanl (y).
59950         * math/libm-test.inc (atan2_test): Add another test.
59952         * manual/install.texi (Configuring and compiling): Document
59953         general use of test-wrapper and test-wrapper-env.
59954         * INSTALL: Regenerated.
59956         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59957         (__fma): Do not extract and scale down low bits on after-rounding
59958         systems when result rounded to normal precision would have normal
59959         exponent.
59960         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59961         (__fmal): Do not extract and scale down low bits on after-rounding
59962         systems when result rounded to normal precision would have normal
59963         exponent.
59964         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59965         (__fmal): Do not extract and scale down low bits on after-rounding
59966         systems when result rounded to normal precision would have normal
59967         exponent.
59968         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59969         macro.
59970         (fma_test): Add more tests.
59971         (fma_test_towardzero): Likewise.
59972         (fma_test_downward): Likewise.
59973         (fma_test_upward): Likewise.
59975 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59977         * sysdeps/i386/tininess.h: Renamed to ...
59978         * sysdeps/x86/tininess.h: This.
59979         * sysdeps/x86_64/tininess.h: Removed.
59981 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59983         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59984         input.  Use $(build-program-cmd).
59985         ($(objpfx)tst-array1-static.out): Likewise.
59986         ($(objpfx)tst-array2.out): Likewise.
59987         ($(objpfx)tst-array3.out): Likewise.
59988         ($(objpfx)tst-array4.out): Likewise.
59989         ($(objpfx)tst-array5.out): Likewise.
59990         ($(objpfx)tst-array5-static.out): Likewise.
59992 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59994         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59995         if defined.
59997         * nss/nsswitch.h (nss_interface_function): Provide new
59998         macro for use with NSS functions.
59999         * grp/initgroups.c: Use new macro.
60000         * nss/getXXbyYY.c: Likewise.
60001         * nss/getXXbyYY_r.c: Likewise.
60002         * nss/getXXent.c: Likewise.
60003         * nss/getXXent_r.c: Likewise.
60004         * sysdeps/posix/getaddrinfo.c: Likewise.
60006 2012-10-30  Andreas Jaeger  <aj@suse.de>
60008         * po/ru.po: Update Russion translation from translation project.
60010 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60012         [BZ #14152]
60013         [BZ #14783]
60014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60015         result and shift together with sticky bit instead of replicating
60016         round-to-nearest rounding.
60017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60019         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60020         missing underflow exceptions.
60021         (fma_test_towardzero): Add more tests.
60022         (fma_test_downward): Likewise.
60023         (fma_test_upward): Likewise.
60025         [BZ #14047]
60026         * sysdeps/generic/tininess.h: New file.
60027         * sysdeps/i386/tininess.h: Likewise.
60028         * sysdeps/sh/tininess.h: Likewise.
60029         * sysdeps/x86_64/tininess.h: Likewise.
60030         * stdlib/tst-strtod-underflow.c: Likewise.
60031         * stdlib/tst-tininess.c: Likewise.
60032         * stdlib/strtod_l.c: Include <tininess.h>.
60033         (round_and_return): Do not set errno for exact underflow cases.
60034         Force an underflow exception when setting errno for underflow.
60035         Determine underflow based on rounding to normal precision if
60036         TININESS_AFTER_ROUNDING.
60037         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60038         ERANGE for exact underflow cases.
60039         * stdlib/Makefile (tests): Add tst-tininess and
60040         tst-strtod-underflow.
60041         ($(objpfx)tst-tininess): Use $(link-libm).
60042         ($(objpfx)tst-strtod-underflow): Likewise.
60044 2012-10-30  Andreas Jaeger  <aj@suse.de>
60046         [BZ#14767]
60047         * elf/Makefile (tests): Remove conditional for have-initfini-array
60048         since this is now always required and the variable does not exist
60049         anymore.
60050         (tests-static): Likewise.
60051         (modules-names): Likewise.
60053         * po/eo.po: Add Esperanto translation from translation project.
60055         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60056         merged with constructor/destructor.
60057         (init_array): Likewise.
60058         * elf/tst-array2dep.c (fini_array): Likewise.
60059         (init_array): Likewise.
60061 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60063         * manual/message.texi: Delete @cartouche tags.
60065 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60067         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60068         EOPNOTSUPP.
60069         * sysdeps/mach/hurd/fsync.c: Likewise.
60071         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60072         [_POSIX_REALTIME_SIGNALS]: Change condition to
60073         [_POSIX_REALTIME_SIGNALS > 0].
60075 2012-10-27  Andreas Jaeger  <aj@suse.de>
60077         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60078         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60079         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60080         [__WORDSIZE != 64]: Likewise.
60082 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60084         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60085         *  iconvdata/tst-tables.sh: Likewise.
60087 2012-10-25  David S. Miller  <davem@davemloft.net>
60089         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60090         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60091         of strtoull.
60093         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60094         ifunc-impl-list.c
60095         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60096         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60097         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60098         file.
60100 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60103         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60104         __getdirentries.
60106 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60107             Jim Blandy  <jimb@codesourcery.com>
60109         * scripts/cross-test-ssh.sh: New file.
60110         * manual/install.texi (Configuring and compiling): Document use of
60111         cross-test-ssh.sh.
60112         * INSTALL: Regenerated.
60114 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60116         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60117         EOPNOTSUPP.
60119 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60121         * Makeconfig (run-program-prefix): Fix comment.
60123 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60124             Jim Blandy  <jimb@codesourcery.com>
60126         * Makeconfig (test-wrapper): New variable,
60127         (test-wrapper-env): Likewise.
60128         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60129         (run-built-tests): Define to yes.
60130         (run-program-prefix): Use $(test-wrapper).
60131         (built-program-cmd): Likewise.
60132         * Rules (make-test-out): Use $(test-wrapper-env) and
60133         $(host-built-program-cmd).
60134         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60135         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60136         tst-pathopt.sh.
60137         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60138         $(test-wrapper-env) to tst-rtld-load-self.sh.
60139         ($(objpfx)order2.out): Use $(test-wrapper).
60140         ($(objpfx)tst-initorder.out): Likewise.
60141         ($(objpfx)tst-initorder2.out): Likewise.
60142         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60143         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60144         (test_wrapper_env): New variable.  Use it to run ld.so.
60145         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60146         Use it to run ld.so.
60147         (test_wrapper_env): Likewise.
60148         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60149         $(test-wrapper) to run-iconv-test.sh.
60150         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60151         (ICONV): Use $test_wrapper.
60152         * posix/Makefile ($(objpfx)globtest.out): Pass
60153         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60154         globtest.sh, not $(run-program-prefix).
60155         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60156         (test_wrapper): Likewise.
60157         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60158         set together with run_via_rtld_prefix.
60159         (run_program_prefix): Define in terms of test_wrapper and
60160         run_via_rtld_prefix.
60162 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60164         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60165         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60166         Targets removed.
60168         [BZ #14743]
60169         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60170         Declare __clock_getres, __clock_gettime, __clock_settime,
60171         __clock_nanosleep, and __clock_getcpuclockid.
60172         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60173         Remove librt_hidden_def (clock_gettime).
60174         * sysdeps/unix/clock_gettime.c: Likewise.
60175         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60176         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60177         * rt/clock_getres.c: Define __clock_getres as an alias.
60178         * sysdeps/posix/clock_getres.c: Likewise.
60179         * rt/clock_settime.c: Define __clock_settime as an alias.
60180         * sysdeps/unix/clock_settime.c: Likewise.
60181         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60182         * sysdeps/unix/clock_nanosleep.c: Likewise.
60183         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60184         * rt/clock-compat.c: New file.
60185         * rt/Makefile (librt-routines): Add clock-compat and move
60186         $(clock-routines) to ...
60187         (routines): ... here, new variable.
60188         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60189         Don't add get_clockfreq here.
60190         * rt/Versions (libc: GLIBC_2.17): New version set.
60191         Add clock_* symbols here.
60192         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60194         (GLIBC_2.17): Add clock_* symbols.
60195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60197         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60199         Likewise.
60200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60201         Likewise.
60202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60206         * NEWS: Mention the move.
60208         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60209         Use __open, __read, __close rather than their public counterparts.
60210         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60211         (__get_clockfreq_via_cpuinfo): Likewise.
60212         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60213         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60215         * config.h.in (HAVE_IFUNC): New #undef.
60216         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60217         was successful.
60218         * configure: Regenerated.
60220 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60222         * configure.in: Move READELF check to start of file.
60223         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60224         libc_cv_asm_gnu_indirect_function in the process.
60225         * configure: Regenerated.
60227 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60229         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60230         send the output to /dev/null.
60231         (libc_cv_cc_with_libunwind): Likewise.
60232         (libc_cv_as_noexecstack): Likewise.
60233         * configure: Regenerate.
60235 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60237         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60239         * posix/globtest.sh (TMPDIR): Do not set.
60240         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60241         (testout): Likewise.
60243 2012-10-24  Andreas Jaeger  <aj@suse.de>
60245         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60246         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60247         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60248         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60249         posix_fadvise64, posix_fallocate64.
60251         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60252         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60253         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60254         Likewise.
60255         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60256         Likewise.
60257         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60260         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60261         <bits/fcntl-linux.h>.
60262         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60265         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60266         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60267         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60268         [__WORDSIZE != 64]: Likewise.
60270 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60272         * Makeconfig (run-built-tests): New variable.
60273         * Rules [$(cross-compiling) = yes]: Change condition to
60274         [$(run-built-tests) = no].
60275         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60276         to [$(run-built-tests) = yes].
60277         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60278         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60279         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60280         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60281         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60282         * io/Makefile [$(cross-compiling) = no]: Likewise.
60283         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60284         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60285         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60286         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60287         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60288         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60289         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60290         * string/Makefile [$(cross-compiling) = no]: Likewise.
60292         * posix/Makefile ($(objpfx)globtest.out): Pass
60293         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60294         $(rtld-installed-name).
60295         * posix/globtest.sh (elf_objpfx): Remove variable.
60296         (rtld_installed_name): Likewise.
60297         (library_path): Likewise.
60298         (run_program_prefix): New variable.  Use for running globtest
60299         binary.
60301 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60302             Joseph Myers  <joseph@codesourcery.com>
60304         * Makeconfig (host-built-program-cmd): New variable.
60305         * elf/Makefile (tst-stackguard1-ARGS): Use
60306         $(host-built-program-cmd).
60307         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60308         (tst-spawn-ARGS): Likewise.
60309         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60311 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60312             Jim Blandy  <jimb@codesourcery.com>
60314         * Makeconfig (run-via-rtld-prefix): New variable.
60315         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60316         (built-program-cmd): Likewise.
60318 2012-10-22  Andreas Jaeger  <aj@suse.de>
60320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60321         __O_RSYNC if it exists, otherwise to O_SYNC.
60323 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60324             Joseph Myers  <joseph@codesourcery.com>
60326         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60327         /dev/null.
60328         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60329         from /dev/null
60330         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60331         /dev/null.
60333 2012-10-22  Andreas Jaeger  <aj@suse.de>
60335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60336         Define always.
60337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60340         bits/fcntl-linux.h.
60342         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60343         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60345         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60346         to __O_LARGEFILE.
60347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60348         to __O_LARGEFILE.
60350 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60351             Joseph Myers  <joseph@codesourcery.com>
60353         * config.make.in (NM): New variable.
60355 2012-10-21  Andreas Jaeger  <aj@suse.de>
60357         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60358         definitions and declarations that are provided by
60359         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60361 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60363         [BZ #14683]
60364         * elf/Makefile (tests-static): Add tst-leaks1-static.
60365         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60366         ($(objpfx)tst-leaks1-static): New rule.
60367         ($(objpfx)tst-leaks1-static-mem): Likewise.
60368         (tst-leaks1-static-ENV): New macro.
60369         * elf/dl-open.c (dl_open_worker): Check the main application
60370         only if SHARED is defined.
60371         * elf/tst-leaks1-static.c: New file.
60373 2012-10-20  Andreas Jaeger  <aj@suse.de>
60375         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60376         generic values for Linux.
60377         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60378         and declarations that are provided by <bits/fcntl-linux.h> and
60379         include <bits/fcntl-linux.h>.
60380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60383 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60385         * io/fcntl.h: Move include of <bits/types.h> to the top and
60386         include it unconditionally.
60388 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60390         * wcsmbs/Makefile (tests-ifunc): New variable.
60391         (tests): Add $(tests-ifunc).
60392         * wcsmbs/test-wcschr-ifunc.c: New file.
60393         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60394         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60395         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60396         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60397         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60399         * string/Makefile (tests-ifunc): New variable.
60400         (tests): Add $(tests-ifunc).
60401         * string/test-memccpy.c (TEST_NAME): New macro.
60402         * string/test-memchr.c (TEST_NAME): Likewise.
60403         * string/test-memcmp.c (TEST_NAME): Likewise.
60404         * string/test-memcpy.c (TEST_NAME): Likewise.
60405         * string/test-memmem.c (TEST_NAME): Likewise.
60406         * string/test-memmove.c (TEST_NAME): Likewise.
60407         * string/test-memset.c (TEST_NAME): Likewise.
60408         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60409         * string/test-stpcpy.c (TEST_NAME): Likewise.
60410         * string/test-stpncpy.c (TEST_NAME): Likewise.
60411         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60412         * string/test-strcasestr.c (TEST_NAME): Likewise.
60413         * string/test-strcat.c (TEST_NAME): Likewise.
60414         * string/test-strchr.c (TEST_NAME): Likewise.
60415         * string/test-strcmp.c(TEST_NAME): Likewise.
60416         * string/test-strcpy.c (TEST_NAME): Likewise.
60417         * string/test-strcspn.c (TEST_NAME): Likewise.
60418         * string/test-strlen.c (TEST_NAME): Likewise.
60419         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60420         * string/test-strncmp.c (TEST_NAME): Likewise.
60421         * string/test-strncpy.c (TEST_NAME): Likewise.
60422         * string/test-strnlen.c (TEST_NAME): Likewise.
60423         * string/test-strpbrk.c (TEST_NAME): Likewise.
60424         * string/test-strrchr.c (TEST_NAME): Likewise.
60425         * string/test-strspn.c (TEST_NAME): Likewise.
60426         * string/test-strstr.c (TEST_NAME): Likewise.
60427         * string/test-bcopy-ifunc.c: New file.
60428         * string/test-bzero-ifunc.c: Likewise.
60429         * string/test-memccpy-ifunc.c: Likewise.
60430         * string/test-memchr-ifunc.c: Likewise.
60431         * string/test-memcmp-ifunc.c: Likewise.
60432         * string/test-memcpy-ifunc.c: Likewise.
60433         * string/test-memmem-ifunc.c: Likewise.
60434         * string/test-memmove-ifunc.c: Likewise.
60435         * string/test-mempcpy-ifunc.c: Likewise.
60436         * string/test-memset-ifunc.c: Likewise.
60437         * string/test-rawmemchr-ifunc.c: Likewise.
60438         * string/test-stpcpy-ifunc.c: Likewise.
60439         * string/test-stpncpy-ifunc.c: Likewise.
60440         * string/test-strcasecmp-ifunc.c: Likewise.
60441         * string/test-strcasestr-ifunc.c: Likewise.
60442         * string/test-strcat-ifunc.c: Likewise.
60443         * string/test-strchr-ifunc.c: Likewise.
60444         * string/test-strchrnul-ifunc.c: Likewise.
60445         * string/test-strcmp-ifunc.c: Likewise.
60446         * string/test-strcpy-ifunc.c: Likewise.
60447         * string/test-strcspn-ifunc.c: Likewise.
60448         * string/test-strlen-ifunc.c: Likewise.
60449         * string/test-strncasecmp-ifunc.c: Likewise.
60450         * string/test-strncat-ifunc.c: Likewise.
60451         * string/test-strncmp-ifunc.c: Likewise.
60452         * string/test-strncpy-ifunc.c: Likewise.
60453         * string/test-strnlen-ifunc.c: Likewise.
60454         * string/test-strpbrk-ifunc.c: Likewise.
60455         * string/test-strrchr-ifunc.c: Likewise.
60456         * string/test-strspn-ifunc.c: Likewise.
60457         * string/test-strstr-ifunc.c: Likewise.
60459         * debug/Makefile (tests-ifunc): New variable.
60460         (tests): Add $(tests-ifunc).
60461         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60462         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60463         * debug/test-stpcpy_chk-ifunc.c: New file.
60464         * debug/test-strcpy_chk-ifunc.c: Likewise.
60466 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60468         [BZ #13601]
60469         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60470         header is not read in.
60472 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60474         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60475         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60476         directly.  Pass built executable to script as
60477         $(built-program-cmd).
60478         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60479         $testprogram without using LD_LIBRARY_PATH and $ldso.
60481         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60482         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60483         $(rtld-installed-name).
60484         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60485         (rtld_installed_name): Likewise.
60486         (library_path): Likewise.
60487         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60488         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60489         $(run-program-prefix) to tst-tables.sh.
60490         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60491         it to run tst-table-from and tst-table-to.
60492         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60493         Pass it to tst-table.sh.
60494         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60495         $(run-program-prefix) to tst-gettext.sh.
60496         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60497         tst-translit.sh.
60498         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60499         tst-gettext2.sh.
60500         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60501         to run tst-gettext.
60502         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60503         to run tst-gettext2.
60504         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60505         to run tst-translit.
60506         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60507         $(run-program-prefix) to tst-mtrace.sh.
60508         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60509         to run tst-mtrace.
60510         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60511         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60512         $(rtld-installed-name).
60513         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60514         (rtld_installed_name): Likewise.
60515         (run_program_prefix): New variable.  Use it to run wordexp-test.
60517         * Makeconfig (ARCH): Remove all definitions.
60518         (machine): Likewise.
60519         [ARCH]: Remove conditional code.
60520         [!objdir]: Give error.
60521         [!objdir] (objpfx): Remove.
60522         [!objdir] (common-objpfx): Likewise.
60523         [!objdir] (common-objdir): Likewise.
60524         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60525         AC_CONFIG_FILES call.
60526         * configure: Regenerated.
60528         [BZ #13888]
60529         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60530         or TMPDIR.
60531         (testout): Likewise.
60533         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60534         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60535         $(rtld-installed-name).
60536         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60537         (rtld_installed_name): Likwise.
60538         (runit): Remove function.
60539         (run_getconf): New variable,  Use it for running getconf binary.
60541 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60543         [BZ #14716]
60544         * string/test-memmem.c (check_result): New function.
60545         (do_one_test): Use it.
60546         (check1): New function.
60547         (test_main): Use it.
60549 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60551         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60553 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60555         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60556         (_G_LSEEK64): Likewise.
60557         (_G_MMAP64): Likewise.
60558         (_G_FSTAT64): Likewise.
60559         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60560         (_G_LSEEK64): Likewise.
60561         (_G_MMAP64): Likewise.
60562         (_G_FSTAT64): Likewise.
60563         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60564         unconditional.  Call __mmap64 directly.
60565         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60566         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60567         __lseek64 directly.
60568         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60569         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60570         __mmap64 directly.
60571         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60572         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60573         __lseek64 directly.
60574         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60575         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60576         __lseek64 directly.
60577         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60578         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60579         __lseek64 directly.
60580         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60581         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60582         __fxstat64 directly.
60583         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60584         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60585         unconditional.
60586         (freopen64) [!_G_OPEN64]: Remove conditional code.
60587         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60588         unconditional.
60589         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60590         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60591         unconditional.
60592         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60593         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60594         unconditional.
60595         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60596         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60597         unconditional.
60598         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60599         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60600         unconditional.
60601         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60602         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60603         unconditional.
60604         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60605         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60606         unconditional.
60607         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60609 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60611         [BZ #12140]
60612         * manual/memory.texi (Malloc Tunable Parameters): Add note
60613         about free list pointers overwriting some perturb bytes.
60614         Wording suggested by Roland McGrath.
60616 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60618         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60619         (lgamma_test): Likewise.
60620         (tgamma_test): Likewise.
60622 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60624         [BZ #14700]
60625         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60626         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60628 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60630         * NEWS: Mention BZ #14716.
60631         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60632         when removing AVAILABLE1_USES_J macro.
60634 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60636         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60637         (__bswap_64): __uint64_t for unsigned 64-bit int.
60639 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60641         * include/string.h (memmem): Declare libc hidden alias.
60642         * string/memmem.c (memmem): Define libc hidden alias.
60643         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60644         __read, __close instead of open, read, close.
60646 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60648         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60649         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60650         global and hidden.
60651         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60652         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60653         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60654         Likewise.
60655         (__rawmemchr_sse2): Likewise.
60656         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60657         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60658         (__strchr_sse2): Likewise.
60659         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60660         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60661         (__strcasecmp_sse2): Likewise.
60662         (__strncasecmp_sse2): Likewise.
60663         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60664         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60665         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60666         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60667         (__strrchr_sse2): Likewise.
60668         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60669         ifunc-impl-list.c.
60670         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60671         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60672         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60673         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60674         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60675         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60676         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60677         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60678         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60679         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60680         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60681         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60682         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60683         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60684         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60685         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60686         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60687         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60688         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60689         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60690         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60691         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60692         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60693         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60694         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60695         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60696         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60697         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60698         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60699         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60701         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60702         global and hidden.
60703         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60704         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60705         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60706         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60707         Likewise.
60708         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60709         Likewise.
60710         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60711         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60712         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60713         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60714         ifunc-impl-list.c.
60715         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60716         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60717         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60718         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60719         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60720         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60721         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60722         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60723         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60724         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60725         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60726         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60727         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60728         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60729         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60730         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60731         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60732         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60733         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60734         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60735         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60736         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60737         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60738         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60739         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60740         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60741         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60742         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60743         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60744         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60745         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60746         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60747         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60748         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60749         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60750         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60751         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60752         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60753         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60754         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60755         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60757         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60758         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60759         * include/ifunc-impl-list.h: New file.
60760         * misc/ifunc-impl-list.c: Likewise.
60761         * misc/Makefile (routines): Add ifunc-impl-list.
60762         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60763         * string/test-string.h: Include <ifunc-impl-list.h>.
60764         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60765         TEST_NAME]: New variables.
60766         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60767         are defined.
60768         (test_init): Call __libc_ifunc_impl_list to initialize
60769         func_list if TEST_IFUNC and TEST_NAME are defined.
60771         * string/Makefile (strop-tests): Add bcopy and bzero.
60772         * string/test-bcopy.c: New file.
60773         * string/test-bzero.c: Likewise.
60774         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60775         defined.
60776         * string/test-memset.c: Support bzero test if TEST_BZERO is
60777         defined.
60778         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60779         __libc_memmove.
60780         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60781         __libc_memset.
60782         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60783         of memset.
60785 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60787         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60788         * configure: Regenerated.
60790         * Makeconfig (+link-static-before-libc): Don't include
60791         $(link-static-libc).
60793         * libio/libio.h (_IO_pos_t): Remove.
60795 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60797         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60798         McGrath.
60800 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60802         * crypt/crypt-entry.c: Include fips-private.h.
60803         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60804         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60805         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60806         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60808 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60810         * crypt/crypt-private.h: Include stdbool.h.
60811         (_ufc_setup_salt_r): Return bool.
60812         * crypt/crypt-entry.c: Include errno.h.
60813         (__crypt_r): Return NULL with EINVAL for bad salt.
60814         * crypt/crypt_util.c (bad_for_salt): New.
60815         (_ufc_setup_salt_r): Check that salt is long enough and within
60816         the specified alphabet.
60817         * crypt/badsalttest.c: New file.
60818         * crypt/Makefile (tests): Add it.
60819         ($(objpfx)badsalttest): New.
60821 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60823         * NEWS: Add entry for BZ #14602.
60825 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60827         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60828         type-generic.
60829         * math/libm-test.inc: Update comment listing what functions and
60830         macros are tested.
60831         (isgreater_test): New function.
60832         (isgreaterequal_test): Likewise.
60833         (isless_test): Likewise.
60834         (islessequal_test): Likewise.
60835         (islessgreater_test): Likewise.
60836         (isunordered_test): Likewise.
60837         (main): Call the new functions.
60839 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60841         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60842         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60843         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60844         * sysdeps/i386/configure: Regenerated.
60845         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60846         * sysdeps/mach/configure: Regenerated.
60847         * sysdeps/mach/hurd/configure: Regenerated.
60848         * sysdeps/powerpc/configure: Regenerated.
60849         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60850         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60851         * sysdeps/s390/s390-32/configure: Regenerated.
60852         * sysdeps/s390/s390-64/configure: Regenerated.
60853         * sysdeps/sh/configure: Regenerated.
60854         * sysdeps/sparc/configure: Regenerated.
60855         * sysdeps/unix/sysv/linux/configure: Regenerated.
60856         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60857         * sysdeps/x86_64/configure: Regenerated.
60859         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60860         defined.  Don't check if MAP is NULL.
60862 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60864         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60865         (_G_stat64): Likewise.
60866         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60867         (_G_stat64): Likewise.
60868         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60869         instead of struct _G_stat64.
60870         * libio/fileops.c (mmap_remap_check): Likewise.
60871         (decide_maybe_mmap): Likewise.
60872         (_IO_new_file_seekoff): Likewise.
60873         (_IO_file_stat): Likewise.
60874         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60875         _G_off64_t.
60876         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60877         instead of struct _G_stat64.
60878         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60880 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60882         [BZ #14602]
60883         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60884         Replace with ...
60885         (CHECK_EOL): New macro.
60886         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60887         CHECK_EOL.
60888         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60889         Replace with CHECK_EOL.
60890         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60891         Replace with CHECK_EOL.
60893 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60895         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60896         type-generic.
60897         * math/libm-test.inc: Update comment listing what functions and
60898         macros are tested.
60899         (finite_test): New function.
60900         (isinf_test): Likewise.
60901         (isnan_test): Likewise.
60902         (fpclassify_test): Test subnormal input.
60903         (isfinite_test): Likewise.
60904         (isnormal_test): Likewise.
60905         (main): Call the new functions.
60907 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60909         [BZ #14660]
60910         * Makerules (%.dynsym): Force C locale when running
60911         $(OBJDUMP) --dynamic-syms.
60913 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60915         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60916         <stdint.h>.
60918 2012-10-06  David S. Miller  <davem@davemloft.net>
60920         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60921         upper 32-bits of the length value in %o2 since we use branch-on-register
60922         tests which consider the entire 64-bit register.
60924 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60926         * string/test-strstr.c (check2): Add a test for page boundary.
60928 2012-10-05  David S. Miller  <davem@davemloft.net>
60930         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60931         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60932         file.
60933         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60934         sysdep_routines.
60935         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60936         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60937         and bzero when HWCAP_SPARC_CRYPTO is present.
60939 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60941         [BZ #14602]
60942         * string/test-strstr.c (check2): New function.
60943         (test_main): Call check2.
60945         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60946         and bug-strchr1.
60947         * string/bug-strcasestr1.c (do_test): Moved to ...
60948         * string/test-strcasestr.c (check1): Here.  New function.
60949         (do_one_test): Break out result checking code into ...
60950         (check_result): This.  New function.
60951         (do_one_test): Call check_result.
60952         (test_main): Call check1.
60953         * string/bug-strchr1.c (do_test): Moved to ...
60954         * string/test-strchr.c (check1): Here.  New function.
60955         (do_one_test): Break out result checking code into ...
60956         (check_result): This.  New function.
60957         (do_one_test): Call check_result.
60958         (test_main): Call check1.
60959         * string/bug-strstr1.c (main): Moved to ...
60960         * string/test-strstr.c (check1): Here.  New function.
60961         (do_one_test): Break out result checking code into ...
60962         (check_result): This.  New function.
60963         (do_one_test): Call check_result.
60964         (test_main): Call check1.
60965         * string/bug-strcasestr1.c: Removed.
60966         * string/bug-strchr1.c: Likewise.
60967         * string/bug-strstr1.c: Likewise.
60969         * elf/Makefile (dl-routines): Add hwcaps.
60970         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60971         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60972         (_dl_important_hwcaps): Moved to ...
60973         * elf/dl-hwcaps.c: Here.  New file.
60974         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60976         [BZ #14557]
60977         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60978         if IS_IN_rtld isn't defined.
60980         * elf/dl-support.c (_dl_sysinfo_map): New.
60981         Include "get-dynamic-info.h" and "setup-vdso.h".
60982         (_dl_non_dynamic_init): Call setup_vdso.
60983         * elf/dynamic-link.h: Don't include <assert.h>.
60984         (elf_get_dynamic_info): Moved to ...
60985         * elf/get-dynamic-info.h: Here.  New file.
60986         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60987         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60988         * elf/setup-vdso.h: Here.  New file.
60989         * elf/rtld.c: Include "setup-vdso.h".
60990         (dl_main): Call setup_vdso.
60992 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60994         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60995         creal in comment listing functions tested.  List finite, isinf,
60996         isnan, isless, islessequal, isgreater, isgreaterequal,
60997         islessgreater, isunordered, lgamma_r and pow10 as functions and
60998         macros not tested.  Mention which functions not tested are aliases
60999         for other functions.  Fix typo.  Note that signs of NaNs are not
61000         tested.
61002         * scripts/config.guess: Update from config.git.
61003         * scripts/config.sub: Likewise.
61005 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61007         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61008         * misc/madvise.c (madvise): Renamed to __madvise.
61009         Make madvise a weak alias.
61010         * include/sys/mman.h: Declare __madvise.
61011         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61012         * sysdeps/unix/syscalls.list
61013         (madvise): Make __madvise the strong name, and madvise a weak alias.
61014         * sysdeps/unix/sysv/linux/syscalls.list
61015         (madvise, mmap): Remove redundant entries.
61016         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61017         * malloc/malloc.c (mtrim): Likewise.
61018         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61020 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61022         * sysdeps/mach/hurd/dl-cache.c: File removed.
61023         * config.h.in (USE_LDCONFIG): New #undef.
61024         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61025         * configure: Regenerated.
61026         * elf/Makefile (dl-routines): Add dl-cache only under
61027         [$(use-ldconfig) = yes].
61028         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61029         cache on [USE_LDCONFIG].
61030         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61031         [USE_LDCONFIG].
61032         * elf/rtld.c (dl_main): Likewise.
61034 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61036         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61037         _SC_LEVEL4_CACHE_LINESIZE.
61039 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61041         * sysdeps/unix/bsd/confstr.h: File removed.
61043 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61045         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61046         sys/sdt-config.h.
61048 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61050         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61051         Make 'mapoff' field ElfW(Off) rather than off_t.
61053 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61055         * nscd/Makefile: Remove nscd-cflags and all its users.
61056         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61057         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61059         [BZ #10631]
61060         * malloc.c (malloc_printerr): Clarify error message.
61062 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61064         [BZ #14648]
61065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61066         Set bit_FMA_Usable if FMA is supported.
61067         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61068         macro.
61069         (bit_FMA4_Usable): Updated.
61070         (index_FMA_Usable): New macro.
61071         (CPUID_FMA): Likewise.
61072         (HAS_FMA): Defined with bit_FMA_Usable.
61074 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61076         * bits/types.h (__swblk_t): Type removed.
61077         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61078         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61080         (__SWBLK_T_TYPE): Likewise.
61081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61082         (__SWBLK_T_TYPE): Likewise.
61083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61084         (__SWBLK_T_TYPE): Likewise.
61085         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61086         (__SWBLK_T_TYPE): Likewise.
61088 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61089             Honza Horak <hhorak@redhat.com>
61091         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61092         (xdr_mapname): Use YPMAXMAP as maxsize.
61093         (xdr_peername): Use YPMAXPEER as maxsize.
61094         (xdr_keydat): Use YPAXRECORD as maxsize.
61095         (xdr_valdat): Use YPMAXRECORD as maxsize.
61097 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61099         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61101         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61102         * csu/init-first.c: ... here.
61103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61104         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61105         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61106         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61107         * sysdeps/i386/init-first.c: File removed.
61108         * sysdeps/sh/init-first.c: File removed.
61110 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61112         [BZ #14645]
61113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61114         if x * y might underflow to zero and z is zero.
61115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61117         * math/libm-test.inc (min_subnorm_value): New variable.
61118         (fma_test): Add more tests.
61119         (fma_test_towardzero): Likewise.
61120         (fma_test_downward): Likewise.
61121         (fma_test_upward): Likewise.
61122         (initialize): Set min_subnorm_value.
61124 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61126         [BZ #14638]
61127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61128         0 + 0.
61129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61130         mode for addition resulting in exact zero.
61131         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61133         exact 0 + 0.
61134         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61135         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61136         * math/libm-test.inc (fma_test): Add more tests.
61137         (fma_test_towardzero): New function.
61138         (fma_test_downward): Likewise.
61139         (fma_test_upward): Likewise.
61140         (main): Call the new functions.
61142 2012-09-28  David S. Miller  <davem@davemloft.net>
61144         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61146 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61148         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61149         instead of SIGALRM.
61151         * sysdeps/gnu/_G_config.h: Moved to ...
61152         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61153         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61154         * sysdeps/generic/_G_config.h: ... here.
61156         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61158         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61160         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61161         Conditionalize target on [libnss_test1.so-version].
61163         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61165         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61166         (elfobjdir): Move out of conditionals.
61168         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61169         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61170         (__nss_lookup_function): Conditionalize label remove_from_tree on
61171         [!DO_STATIC_NSS || SHARED], matching its only use.
61173 2012-09-28  David S. Miller  <davem@davemloft.net>
61175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61176         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61177         file.
61178         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61179         sysdep_routines.
61180         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61182         when HWCAP_SPARC_CRYPTO is present.
61184 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61186         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61188 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61190         [BZ #6530]
61191         * stdio-common/vfprintf.c (process_string_arg): Revert
61192         2000-07-22 change.
61194 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61196         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61197         for testcase.
61198         * stdio-common/tst-sprintf.c: Include <locale.h>
61199         (main): Test sprintf's handling of incomplete multibyte
61200         characters.
61202 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61204         * elf/dl-runtime.c (VERSYMIDX): Removed.
61205         * elf/dl-version.c (VERSYMIDX): Likewise.
61206         * elf/do-rel.h (VERSYMIDX): Likewise.
61207         (VALIDX): Likewise.
61208         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61209         * elf/rtld.c (VALIDX): Likewise.
61210         (ADDRIDX): Likewise.
61211         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61212         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61213         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61214         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61215         (VALIDX): Likewise.
61216         (ADDRIDX): Likewise.
61218 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61220         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61222 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61224         [BZ #11438]
61225         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61226         to global scope.
61227         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61228         addresses are in the same scope as 192.0.2/24.
61229         * posix/gai.conf: Document new scope table defaults.
61231 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61233         [BZ #5298]
61234         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61235         for ftell.  Compute offsets from write pointers instead.
61236         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61238 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61240         [BZ #14543]
61241         * libio/Makefile (tests): New test case tst-fseek.
61242         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61243         combination works in wide mode.
61244         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61245         state when the external buffer state changes.
61247 2012-09-27  David S. Miller  <davem@davemloft.net>
61249         [BZ #14376]
61250         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61251         pass reloc->r_addend in as the 'high' argument to
61252         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61256 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61258         * rt/tst-aio2.c: Include <pthread.h>.
61259         * rt/tst-aio3.c: Likewise.
61261 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61263         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61265 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61267         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61268         contents on [SHARED].
61270 2012-09-26  Marek Polacek  <polacek@redhat.com>
61272         [BZ #14530]
61273         [BZ #13741]
61274         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61275         for C++ and GCC <4.3 as well as for non GCC compilers.
61277 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61281 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61283         * Makefile.in (all, install): Declare with .PHONY.
61284         Reported by Michael Hope <michael.hope@linaro.org>.
61286 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61288         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61289         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61290         system header.
61291         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61292         Likewise.
61293         (sydep_routines): Add the new and the internal functions.
61294         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61295         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61297         (GLIBC_2.17): Add the new function.
61298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61299         (GLIBC_2.17): Likewise.
61300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61301         (GLIBC_2.17): Likewise.
61302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61303         (GLIBC_2.17): Likewise.
61304         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61306 2012-09-25  Alan Modra  <amodra@gmail.com>
61308         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61309         Add release barrier before setting once_control to say
61310         initialisation is done.  Add hints on lwarx.  Use macro in
61311         place of isync.
61312         (clear_once_control): Add release barrier.
61314 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61316         [BZ #13629]
61317         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61318         specially.
61319         * math/s_clog10.c (__clog10): Likewise.
61320         * math/s_clog10f.c (__clog10f): Likewise.
61321         * math/s_clog10l.c (__clog10l): Likewise.
61322         * math/s_clogf.c (__clogf): Likewise.
61323         * math/s_clogl.c (__clogl): Likewise.
61324         * math/Makefile (libm-calls): Add x2y2m1.
61325         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61326         (__x2y2m1): Likewise.
61327         (__x2y2m1l): Likewise.
61328         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61329         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61330         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61331         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61332         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61333         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61334         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61335         * sysdeps/i386/fpu/libm-test-ulps: Update.
61336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61338         [BZ #14621]
61339         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61340         int as type of variable DEPTH.
61341         (glob): Use size_t instead of int as type of variables NEWCOUNT
61342         and OLD_PATHC.
61344 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61346         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61347         Add s_sincosf-sse2.
61348         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61349         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61350         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61351         macros for using routine as __sincosf_ia32.
61352         Use macro for function declaration and weak_alias.
61353         * sysdeps/i386/fpu/libm-test-ulps: Update.
61355         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61358         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61359         subnormal argument.
61360         * math/s_cexpf.c (__cexpf): Likewise.
61361         * math/s_csinf.c (__csinf): Likewise.
61362         * math/s_csinhf.c (__csinhf): Likewise.
61363         * math/s_ctanf.c (__ctanf): Likewise.
61364         * math/s_ctanhf.c (__ctanhf): Likewise.
61365         * math/s_ccosh.c (__ccoshf): Likewise.
61366         * math/s_cexp.c (__cexpl): Likewise.
61367         * math/s_csin.c (__csin): Likewise.
61368         * math/s_csinh.c (__csinh): Likewise.
61369         * math/s_ctan.c (__ctan): Likewise.
61370         * math/s_ctanh.c (ctanh): Likewise.
61371         * math/s_ccoshl.c (__ccoshl): Likewise.
61372         * math/s_cexpl.c (__cexpl): Likewise.
61373         * math/s_csinl.c (__csinl): Likewise.
61374         * math/s_csinhl.c (__csinhl): Likewise.
61375         * math/s_ctanl.c (__ctanl): Likewise.
61376         * math/s_ctanhl.c (__ctanhl): Likewise.
61378 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61380         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61381         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61382         (_IO_off_t): Define to __off_t, not _G_off_t.
61383         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61384         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61385         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61386         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61387         type of __dummy and __dummy2 fields.
61388         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61389         (_G_ssize_t): Likewise.
61390         (_G_off_t): Likewise.
61391         (_G_pid_t): Likewise.
61392         (_G_uid_t): Likewise.
61393         (_G_wchar_t): Likewise.
61394         (_G_wint_t): Likewise.
61395         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61396         (_G_ssize_t): Likewise.
61397         (_G_off_t): Likewise.
61398         (_G_pid_t): Likewise.
61399         (_G_uid_t): Likewise.
61400         (_G_wchar_t): Likewise.
61401         (_G_wint_t): Likewise.
61402         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61403         (_G_ssize_t): Likewise.
61404         (_G_off_t): Likewise.
61405         (_G_pid_t): Likewise.
61406         (_G_uid_t): Likewise.
61407         (_G_wchar_t): Likewise.
61408         (_G_wint_t): Likewise.
61410 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61412         * malloc/arena.c: Include malloc-sysdep.h.
61413         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61414         is sufficient to shrink the heap or an unmap is needed.
61415         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61416         new function check_may_shrink_heap.
61417         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61418         new function check_may_shrink_heap.
61420 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61422         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61423         comments.
61425 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61427         * catgets/test-gencat.sh: Add "set -e".
61428         * elf/tst-pathopt.sh: Likewise.
61429         * grp/tst_fgetgrent.sh: Likewise.
61430         * iconvdata/run-iconv-test.sh: Likewise.
61431         * intl/tst-gettext.sh: Likewise.
61432         * intl/tst-gettext2.sh: Likewise.
61433         * intl/tst-gettext4.sh: Likewise.
61434         * intl/tst-gettext6.sh: Likewise.
61435         * intl/tst-translit.sh: Likewise.
61436         * io/ftwtest-sh: Likewise.
61437         * libio/test-freopen.sh: Likewise.
61438         * malloc/tst-mtrace.sh: Likewise.
61439         * posix/globtest.sh: Likewise.
61440         * posix/tst-getconf.sh: Likewise.
61441         * posix/wordexp-tst.sh: Likewise.
61442         * stdio-common/tst-printf.sh: Likewise.
61443         * stdio-common/tst-unbputc.sh: Likewise.
61444         * stdlib/tst-fmtmsg.sh: Likewise.
61445         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61446         * catgets/Makefile: Do not specify -e option when running
61447         testsuite shell scripts.
61448         * elf/Makefile: Likewise.
61449         * grp/Makefile: Likewise.
61450         * iconvdata/Makefile: Likewise.
61451         * intl/Makefile: Likewise.
61452         * io/Makefile: Likewise.
61453         * libio/Makefile: Likewise.
61454         * malloc/Makefile: Likewise.
61455         * posix/Makefile: Likewise.
61456         * stdio-common/Makefile: Likewise.
61457         * stdlib/Makefile: Likewise.
61458         * sysdeps/x86_64/Makefile: Likewise.
61460         * io/ftwtest-sh: Add copyright header.
61461         * posix/globtest.sh: Likewise.
61462         * posix/tst-getconf.sh: Likewise.
61463         * posix/wordexp-tst.sh: Likewise.
61464         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61466 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61468         [BZ #13679]
61469         * Makeconfig (+link): Defined as $(+link-static) if
61470         $(build-shared) isn't yes.
61471         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61472         isn't yes.
61473         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61475         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61477         [BZ #14562]
61478         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61479         new chunk size with MALLOC_ALIGN_MASK.
61481 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61483         [BZ #5044]
61484         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61485         <rounding-mode.h>.
61486         (__printf_fphex): Determine rounding using get_rounding_mode and
61487         round_away.
61488         * stdio-common/tst-printf-round.c (struct hex_test): New
61489         structure.
61490         (hex_tests): New variable.
61491         (test_hex_in_one_mode): New function.
61492         (do_test): Also run tests for hex float output.
61494 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61496         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61497         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61498         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61499         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61500         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61501         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61502         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61503         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61505 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61507         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61508         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61509         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61510         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61512 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61514         [BZ #14579]
61515         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61516         mode only.
61517         * elf/tst-rtld-load-self.sh: New test.
61518         * elf/Makefile: Run it.
61520 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61522         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61523         (tst-writev-ENV): Remove.
61524         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61526 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61528         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61530 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61532         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61533         unconditional.
61534         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61535         Likewise.
61536         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61537         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61538         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61539         Likewise.
61541 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61543         [BZ #14587]
61544         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61545         * config.make.in (have-cpp-asm-debuginfo): Removed.
61546         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61547         * configure: Regenerated.
61549 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61551         [BZ #5044]
61552         * stdio-common/printf_fp.c: Include <stdbool.h> and
61553         <rounding-mode.h>.
61554         (___printf_fp): Determine rounding using get_rounding_mode and
61555         round_away.
61556         * stdio-common/tst-printf-round.c: New file.
61557         * stdio-common/Makefile (tests): Add tst-printf-round.
61558         (link-libm): New variable.
61559         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61561 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61563         [BZ #14576]
61564         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61565         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61566         Likewise.
61567         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61568         Likewise.
61570 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61572         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61573         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61574         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61575         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61577 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61579         [BZ #14518]
61580         * include/rounding-mode.h: New file.
61581         * sysdeps/generic/get-rounding-mode.h: Likewise.
61582         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61583         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61584         (MAX_VALUE): New macro.
61585         (MIN_VALUE): Likewise.
61586         (overflow_value): New function.
61587         (underflow_value): Likewise.
61588         (round_and_return): Use overflow_value and underflow_value to
61589         determine return values in overflow and underflow cases.  Use
61590         round_away to determine rounding depending on rounding mode.
61591         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61592         determine return values in overflow and underflow cases.
61593         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61594         (struct test_results): New structure.
61595         (struct test): Use struct test_results to store expected results
61596         for all rounding modes.
61597         (TEST): Include expected results for all rounding modes.
61598         (test_in_one_mode): New function.
61599         (do_test): Use test_in_one_mode to compute and check results.
61600         Check results for all rounding modes.
61601         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61602         $(link-libm).
61604 2012-12-09  Allan McRae  <allan@archlinux.org>
61606         * sysdeps/i386/fpu/libm-test-ulps: Update
61608 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61610         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61611         (_G_int32_t): Likewise.
61612         (_G_uint16_t): Likewise.
61613         (_G_uint32_t): Likewise.
61614         (_G_HAVE_BOOL): Likewise.
61615         (_G_HAVE_ATEXIT): Likewise.
61616         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61617         (_G_HAVE_IO_FILE_OPEN): Likewise.
61618         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61619         (_G_int32_t): Likewise.
61620         (_G_uint16_t): Likewise.
61621         (_G_uint32_t): Likewise.
61622         (_G_HAVE_BOOL): Likewise.
61623         (_G_HAVE_ATEXIT): Likewise.
61624         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61625         (_G_HAVE_IO_FILE_OPEN): Likewise.
61626         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61627         (_G_int32_t): Likewise.
61628         (_G_uint16_t): Likewise.
61629         (_G_uint32_t): Likewise.
61630         (_G_HAVE_BOOL): Likewise.
61631         (_G_HAVE_ATEXIT): Likewise.
61632         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61633         (_G_HAVE_IO_FILE_OPEN): Likewise.
61635 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61637         * csu/libc-tls.c: Update copyright years.
61639 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61641         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61642         [!_G_USING_THUNKS]: Remove conditional code.
61643         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61644         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61646         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61647         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61648         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61649         (_G_VTABLE_LABEL_PREFIX): Likewise.
61650         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61651         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61652         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61653         (_G_VTABLE_LABEL_PREFIX): Likewise.
61654         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61655         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61656         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61657         (_G_VTABLE_LABEL_PREFIX): Likewise.
61658         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61660 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61662         * libio/Makefile: Include ../Makeconfig before tests.
61663         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61664         only if $(build-shared) is yes.
61666         * iconv/gconv_db.c: Update copyright years.
61668 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61670         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61671         unwind info if defined PIC. Fix special cases description.
61672         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61674         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61675         DP_HI_MASK entry.
61676         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61678 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61680         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61682         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61683         is NULL.
61685         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61686         (LDLIBS-tst-chk4): This.
61687         (LDFLAGS-tst-chk5): Renamed to ...
61688         (LDLIBS-tst-chk5): This.
61689         (LDFLAGS-tst-chk6): Renamed to ...
61690         (LDLIBS-tst-chk6): This.
61691         (LDFLAGS-tst-lfschk4): Renamed to ...
61692         (LDLIBS-tst-lfschk4): This.
61693         (LDFLAGS-tst-lfschk5): Renamed to ...
61694         (LDLIBS-tst-lfschk5): This.
61695         (LDFLAGS-tst-lfschk6): Renamed to ...
61696         (LDLIBS-tst-lfschk6): This.
61698         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61699         on $(common-objpfx)soversions.mk.
61701 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61703         [BZ #10014]
61704         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61705         example host name.
61707 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61709         * malloc/arena.c (arena_get_retry): New function that gets
61710         another arena for the caller to try its request on.
61711         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61712         current arena cannot fulfill the request.
61713         (__libc_memalign): Likewise.
61714         (__libc_memalign): Likewise.
61715         (__libc_pvalloc): Likewise.
61716         (__libc_calloc): Likewise.
61718 2012-09-05  John Tobey  <john.tobey@gmail.com>
61720         [BZ #13542]
61721         * manual/arith.texi (Operations on Complex): Fix description
61722         of carg branch cut.
61724 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61726         [BZ #10014]
61727         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61728         host name.
61730         [BZ #10038]
61731         * manual/memory.texi (Memory): Make order of menu items match
61732         order of sections.
61734 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61736         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61737         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61738         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61740 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61742         * csu/libc-tls.c (static_dtv): Renamed to ...
61743         (_dl_static_dtv): This.  Make it global.
61744         (_dl_initial_dtv): Removed.
61745         (__libc_setup_tls): Updated.
61746         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61747         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61748         DL_INITIAL_DTV.
61750 2012-09-06  Petr Machata  <pmachata@redhat.com>
61752         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61753         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61754         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61755         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61757 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61759         [BZ #14545]
61760         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61761         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61762         freeing dtv[-1].
61764 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61766         [BZ #14544]
61767         * Makeconfig (link-static-before-libc): Replace $(+prector)
61768         with $(+prectorT).
61769         (link-static-after-libc): Replace $(+postctor) with
61770         $(+postctorT).
61771         (link-bounded): Replace $(+prector)/$(+postctor) with
61772         $(+prectorT)/$(+postctorT).
61773         (+prectorT): New macro.
61774         (+postctorT): Likewise.
61776 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61778         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61779         (round_str): Handle values above the maximum for IBM long double
61780         as inexact.
61781         * stdlib/tst-strtod-round.c (tests): Regenerated.
61783 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61785         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61786         assembler flag.
61787         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61788         zarch_nohighgprs around the zarch optimized routines.
61789         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61790         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61791         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61792         for zarch.
61794 2012-09-05  David S. Miller  <davem@davemloft.net>
61796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61798         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61799         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61800         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61801         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61802         entries.
61804 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61806         * malloc/arena.c: Fold copyright years.
61807         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61809 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61811         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61813 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61815         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61817 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61819         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61820         change internal state upon failure.
61822 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61824         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61825         * malloc/memusage.c (mmap): Likewise.
61826         (mmap64, mremap): Likewise.  Adjust name in comment.
61828 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61830         * libio/fileops.c: Fix typos in comments.
61831         * libio/oldfileops.c: Likewise.
61832         * libio/wfileops.c: Likewise.
61834 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61836         [BZ #1349]
61837         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61838         (tst-malloc-usable-ENV): Set environment for test case.
61839         * malloc/hooks.c (malloc_check_get_size): New function to get
61840         requested size.
61841         * malloc/malloc.c (musable): Use malloc_check_get_size.
61842         * malloc/tst-malloc-usable.c: New test case.
61844 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61846         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61848 2012-09-05  Allan McRae  <allan@archlinux.org>
61850         [BZ #13966]
61851         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61852         determine header location.
61853         * configure: Regenerated.
61855 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61857         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61858         float format.
61859         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61860         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61861         format.
61862         (test): Regenerate.
61864 2012-09-04  David S. Miller  <davem@davemloft.net>
61866         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61867         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61868         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61870 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61872         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61873         failures.
61875         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61877 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61879         [BZ #9914]
61880         * libio/iogetdelim.c: Include <limits.h>.
61881         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61882         + len + 1 would overflow.
61884 2012-09-03  Andreas Jaeger  <aj@suse.de>
61886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61887         * sysdeps/i386/fpu/libm-test-ulps: Update.
61889 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61891         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61892         Add s_sinf-sse2, s_conf-sse2.
61894         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61895         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61896         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61897         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61899         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61900         for using routine as __sinf_ia32.
61901         Use macro for function declaration and weak_alias.
61902         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61903         for using routine as __cosf_ia32.
61904         Use macro for function declaration and weak_alias.
61906         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61907         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61909         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61910         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61913         * math/libm-test.inc (cos_test): Add more test cases.
61914         (sin_test): Likewise.
61915         (sincos_test): Likewise.
61917 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61919         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61920         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61921         hidden.
61922         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61924 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61926         [BZ #14538]
61927         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61928         first element of the GOT.
61929         (elf_machine_load_address): Return the difference between
61930         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61932 2012-09-01  Allan McRae  <allan@archlinux.org>
61934         [BZ #13412]
61935         * configure.in (AWK): Require gawk version 3.0 or later.
61936         * configure: Regenerated.
61938 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61940         * sysdeps/unix/sysv/linux/kernel-features.h
61941         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61943         [__NR_clock_getres]: Make code unconditional.
61944         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61945         (clock_getcpuclockid): Remove code left unreachable by removal of
61946         conditionals.
61947         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61948         code unconditional.
61949         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61950         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61951         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61952         Make code unconditional.
61953         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61954         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61955         * sysdeps/unix/sysv/linux/clock_settime.c
61956         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61957         conditional code.
61958         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61959         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61961 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61963         [BZ #14476]
61964         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61965         scripts/test-installation.pl.
61967         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61968         and $ld_so_version if it is set.
61970 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61972         [BZ #14516]
61973         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61974         failure if reading from procfs failed.
61975         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61977 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61979         * sysdeps/unix/sysv/linux/kernel-features.h
61980         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61981         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61982         Remove conditional code.
61983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61984         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61985         Remove conditional code.
61986         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61987         * sysdeps/unix/sysv/linux/i386/fxstat.c
61988         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61989         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61990         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61991         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61992         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61993         * sysdeps/unix/sysv/linux/i386/lxstat.c
61994         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61995         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61996         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61997         Remove conditional code.
61998         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61999         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62000         Remove conditional code.
62001         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62002         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62003         <kernel-features.h>.
62004         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62005         Remove.
62006         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62007         Remove conditional code.
62008         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62009         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62010         Remove conditional.
62012 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62014         [BZ #5400]
62015         * NEWS: Add fixed bug number.
62017 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62019         [BZ #14519]
62020         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62021         underflowing exponent in case of negative sign.
62022         * stdlib/tst-strtod-round-data: Add more tests.
62023         * stdlib/tst-strtod-round.c (tests): Regenerated.
62025         [BZ #3479]
62026         * stdlib/strtod_l.c (NDIG): Remove.
62027         (HEXNDIG): Likewise.
62028         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62029         smallest representable value.
62030         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62031         lie within an exact representation of 1/2 ulp of the result.
62032         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62033         unconditionally.
62034         (TENS_P9_IDX): Define unconditionally.
62035         (TENS_P9_SIZE): Likewise.
62036         (TENS_P10_IDX): Likewise.
62037         (TENS_P10_SIZE): Likewise.
62038         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62039         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62040         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62041         entries for 10^2^13 and 10^2^14.
62042         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62043         (TENS_P13_IDX): Define.
62044         (TENS_P13_SIZE): Likewise.
62045         (TENS_P14_IDX): Likewise.
62046         (TENS_P14_SIZE): Likewise.
62047         (_fpioconst_pow10): Change array size to
62048         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62049         unconditional.
62050         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62051         1024]: Add entries for 10^2^13 and 10^2^14.
62052         [LAST_POW10 > _LAST_POW10]: Remove #error.
62053         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62054         (_fpioconst_pow10): Change array size to
62055         FPIOCONST_POW10_ARRAY_SIZE.
62056         * stdlib/gen-fpioconst.c: New file.
62057         * stdlib/gen-tst-strtod-round.c: Likewise.
62058         * stdlib/tst-strtod-round-data: Likewise.
62059         * stdlib/tst-strtod-round.c: Likewise.
62060         * stdlib/Makefile (tests): Add tst-strtod-round.
62062         [BZ #14459]
62063         * stdlib/strtod_l.c: Include <stdint.h>.
62064         (NDEBUG): Do not define.
62065         (round_and_return): Change EXPONENT parameter to type intmax_t.
62066         Rearrange calculations to avoid internal overflow possibilities.
62067         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62068         Rearrange calculations to avoid internal overflow possibilities.
62069         Assert that number fits inside MPNSIZE limbs.
62070         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62071         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62072         calculations and add assertions to avoid internal overflow
62073         possibilities.  Add casts to avoid signed/unsigned operations.
62074         * stdlib/tst-strtod-overflow.c: New file.
62075         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62077 2012-08-25  Marek Polacek  <polacek@redhat.com>
62079         * time/time.h: Fix some typos in comments.
62081 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62083         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62084         * posix/tst-rfc3484-2.c: Likewise.
62085         * posix/tst-rfc3484-3.c: Likewise.
62087 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62089         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62090         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62092 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62094         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62095         #include of fxstatat64.c.
62097 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62099         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62100         * shadow/getspent_r.c: Likewise.
62101         * shadow/getspnam.c: Likewise.
62102         * shadow/getspnam_r.c: Likewise.
62103         * gshadow/getsgent.c: Likewise.
62104         * gshadow/getsgent_r.c: Likewise.
62105         * gshadow/getsgnam.c: Likewise.
62106         * gshadow/getsgnam_r.c: Likewise.
62107         * inet/getnetbyad.c: Likewise.
62108         * inet/getnetbyad_r.c: Likewise.
62109         * inet/getnetbynm.c: Likewise.
62110         * inet/getnetbynm_r.c: Likewise.
62111         * inet/getnetent.c: Likewise.
62112         * inet/getnetent_r.c: Likewise.
62113         * inet/getproto.c: Likewise.
62114         * inet/getproto_r.c: Likewise.
62115         * inet/getprtent.c: Likewise.
62116         * inet/getprtent_r.c: Likewise.
62117         * inet/getprtname.c: Likewise.
62118         * inet/getprtname_r.c: Likewise.
62119         * inet/getrpcbyname.c: Likewise.
62120         * inet/getrpcbyname_r.c: Likewise.
62121         * inet/getrpcbynumber.c: Likewise.
62122         * inet/getrpcbynumber_r.c: Likewise.
62123         * inet/getrpcent.c: Likewise.
62124         * inet/getrpcent_r.c: Likewise.
62125         * inet/getaliasent.c: Likewise.
62126         * inet/getaliasent_r.c: Likewise.
62127         * inet/getaliasname.c: Likewise.
62128         * inet/getaliasname_r.c: Likewise.
62129         * nscd/getgrgid_r.c: Likewise.
62130         * nscd/getgrnam_r.c: Likewise.
62131         * nscd/gethstbyad_r.c: Likewise.
62132         * nscd/gethstbynm3_r.c: Likewise.
62133         * nscd/getpwnam_r.c: Likewise.
62134         * nscd/getpwuid_r.c: Likewise.
62135         * nscd/getsrvbynm_r.c: Likewise.
62136         * nscd/getsrvbypt_r.c: Likewise.
62137         * nscd/gai.c: Likewise.
62139         * configure.in (build_nscd): New substituted variable, set
62140         by --disable-build-nscd and defaults to $use_nscd.
62141         * configure: Regenerated.
62142         * config.make.in (build-nscd): New substituted variable.
62143         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62144         Change conditional to require [$(build-nscd) = yes] as well.
62145         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62147         [BZ# 13696]
62148         * configure.in (use_nscd): New substituted variable, set by
62149         --disable-nscd.  If enabled, define USE_NSCD.
62150         * configure: Regenerated.
62151         * config.h.in: Add USE_NSCD.
62152         * config.make.in (use-nscd): New substituted variable.
62153         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62154         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62155         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62156         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62157         (CFLAGS-getgrnam_r.c): Likewise.
62158         (CFLAGS-initgroups.c): Likewise.
62159         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62160         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62161         Variables removed.
62162         * inet/getnetgrent_r.c
62163         (nscd_setnetgrent): New function, broken out of ...
62164         (setnetgrent): ... here.  Call it.
62165         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62166         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62167         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62168         * nscd/Makefile (routines, aux): Move definitions after include of
62169         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62170         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62171         Conditionalize on [USE_NSCD].
62172         (is_nscd, nscd_init_cb): Likewise.
62173         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62174         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62175         * nss/nss_db/db-init.c: Likewise.
62176         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62177         [USE_NSCD].
62178         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62179         (make_request): Use it.
62180         (cache_valid_p): New function.
62181         (__check_pf): Use it.
62182         * NEWS: Add item for --disable-nscd.
62184 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62186         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62187         to support sed >= 4.2.1-20-ga9bf076.
62188         * configure: Regenerated.
62190 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62192         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62193         Conditionalize whole body on [IREL].
62195 2012-08-22  Jeff Law <law@redhat.com>
62197         [BZ #14505]
62198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62199         if the family is PF_UNSPEC.
62201 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62203         * Makerules (lib-version): Rename from V.
62204         (install-lib-nosubdir): Change V to lib-version.
62206 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62208         [BZ #14252]
62209         * powerpc32/power6/wcschr.c: New file.
62210         * powerpc32/power6/wcscpy.c: New file.
62211         * powerpc32/power6/wcsrchr.c: New file.
62212         * powerpc64/power6/wcschr.c: New file.
62213         * powerpc64/power6/wcscpy.c: New file.
62214         * powerpc64/power6/wcsrchr.c: New file.
62216 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62218         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62219         (two_way_short_needle): Use it.
62220         * string/strstr.c (AVAILABLE1_USES_J): Define.
62221         * string/strcasestr.c: Likewise.
62223         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62224         array references.
62225         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62227         [BZ #11607]
62228         * NEWS: Add an entry.
62229         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62230         define their defaults.
62231         (two_way_short_needle): Detect end-of-string on-the-fly.
62232         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62233         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62234         * string/bug-strcasestr1.c: New test.
62235         * string/Makefile: Run it.
62237 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62239         [BZ #11607]
62240         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62241         the first character.
62243 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62245         * csu/elf-init.c (__libc_csu_irel): Function removed.
62246         * csu/libc-start.c (apply_irel): New function.
62247         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62249 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62251         * sysdeps/unix/sysv/linux/kernel-features.h
62252         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62253         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62254         <kernel-features.h>.
62255         [__NR_fadvise64_64]: Make code unconditional.
62256         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62257         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62258         !__NR_fadvise64_64)]: Likewise.
62259         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62260         !__NR_fadvise64_64))]: Likewise.
62261         [__NR_fadvise64]: Make code unconditional.
62262         [!__NR_fadvise64]: Remove conditional code.
62263         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62264         <kernel-features.h>.
62265         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62266         unconditional.
62267         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62268         conditional code.
62269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62270         not include <kernel-features.h>.
62271         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62272         unconditional.
62273         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62274         conditional code.
62275         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62276         include <kernel-features.h>.
62277         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62278         unconditional.
62279         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62280         conditional code.
62282 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62285         slight instruction rearrangements per scrollpipe analysis.
62286         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62288 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62290         * manual/syslog.texi (syslog; vsyslog, closelog):
62291         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62292         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62294         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62295         DSOCAPS to match condition on defining it.
62297 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62299         * sysdeps/unix/sysv/linux/kernel-features.h
62300         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62302         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62303         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62305         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62306         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62308         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62309         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62311         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62312         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62314         * sysdeps/unix/sysv/linux/kernel-features.h
62315         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62316         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62317         unconditional.
62318         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62319         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62320         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62321         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62322         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62323         Make code unconditional.
62324         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62325         (__mmap64) [!__NR_mmap2]: Likewise.
62326         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62327         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62328         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62329         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62330         [__NR_mmap2]: Make code unconditional.
62331         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62332         (__mmap64) [!__NR_mmap2]: Likewise.
62334 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62336         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62338 2012-08-18  Andreas Jaeger  <aj@suse.de>
62340         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62342 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62344         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62345         * include/unistd.h (__have_sock_cloexec): Likewise.
62346         (__have_pipe2): Likewise.
62347         (__have_dup3): Likewise.
62349 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62351         [BZ #9685]
62352         * include/unistd.h (__have_pipe2): Change define into an extern int.
62353         (__have_dup3): Likewise.
62354         * socket/have_sock_cloexec.c: Include fcntl.h.
62355         (__have_pipe2): New variable.
62356         (__have_dup3): Likewise.
62358 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62360         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62362 2012-08-17  Marek Polacek  <polacek@redhat.com>
62364         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62365         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62367 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62369         * configure.in: Add AC_SUBST for sysheaders.
62370         * configure: Regenerated.
62371         * config.make.in (sysheaders): New substituted variable.
62373         * sysdeps/unix/mkfifo.c: Moved ...
62374         * sysdeps/posix/mkfifo.c: ... here.
62375         * sysdeps/unix/mkfifoat.c: Moved ...
62376         * sysdeps/posix/mkfifoat.c: ... here.
62378         * sysdeps/unix/utime.c: Moved ...
62379         * sysdeps/posix/utime.c: ... here.
62381         * sysdeps/unix/time.c: Moved ...
62382         * sysdeps/posix/time.c: ... here.
62383         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62384         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62386         * sysdeps/unix/nice.c: Moved ...
62387         * sysdeps/posix/nice.c: ... here.
62389         * sysdeps/unix/alarm.c: Moved ...
62390         * sysdeps/posix/alarm.c: ... here.
62392         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62394 2012-08-17  Jeff Law <law@redhat.com>
62396         * intl/Makefile (codeset_mo): New variable.
62397         ($(codeset_mo)): New target.
62398         (tst-codeset.out): Depend on that.  Remove explicit rule.
62399         (tst-gettext3.out, tst-gettext5.out): Likewise.
62400         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62401         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62402         * intl/tst-codeset.sh: Remove.
62403         * intl/tst-gettext3.sh: Likewise.
62404         * intl/tst-gettext5.sh: Likewise.
62406 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62408         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62409         * sysdeps/unix/syscalls.list: ... here.
62411         * sysdeps/posix/getaddrinfo.c
62412         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62413         (gaiconf_init, gaiconf_reload): Use them.
62414         [!_STATBUF_ST_NSEC]
62415         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62416         Define using time_t rather than struct timespec.
62418         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62419         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62420         Macros removed.
62421         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62422         [!NO_THREADS].
62423         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62424         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62425         Likewise.
62427         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62428         __libc_cleanup_push argument.
62430         * bits/param.h: New file.
62431         * misc/sys/param.h: New file.
62432         * include/sys/param.h: New file.
62433         * misc/Makefile (headers): Add bits/param.h.
62434         * sysdeps/generic/sys/param.h: File removed.
62435         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62436         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62437         * sysdeps/mach/hurd/bits/param.h: New file.
62438         * sysdeps/mach/hurd/sys/param.h: File removed.
62440         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62441         last change.
62443         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62444         [_IO_MTSAFE_IO].
62445         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62446         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62447         New macros.
62449         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62450         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62451         rather than -D_IO_MTSAFE_IO conditionally.
62452         * stdio-common/Makefile (CPPFLAGS): Likewise.
62453         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62454         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62455         Use $(libio-mtsafe).
62456         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62457         of -D_IO_MTSAFE_IO.
62458         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62459         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62460         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62461         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62462         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62463         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62464         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62465         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62466         (CFLAGS-fread_u_chk.c): Likewise.
62467         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62468         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62469         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62470         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62471         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62472         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62473         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62474         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62475         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62477         * libio/Makefile: Test [$(libc-reentrant) = yes]
62478         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62480         * Makeconfig
62481         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62482         * sysdeps/pthread/configure: File removed.
62483         * sysdeps/pthread/Makeconfig: New file.
62484         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62485         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62487 2012-08-16  Gary Benson  <gbenson@redhat.com>
62489         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62490         unmapping the first object in a namespace.
62492 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62494         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62495         (__internal_setnetgrent): ... this.  Add internal_function to
62496         definition.  Add libc_hidden_def.
62497         (setnetgrent): Update caller.
62498         (internal_endnetgrent): Renamed to ...
62499         (__internal_endnetgrent): ... this.  Add internal_function to
62500         definition.  Add libc_hidden_def.
62501         (endnetgrent): Update caller.
62502         (internal_getnetgrent_r): Renamed to ...
62503         (__internal_getnetgrent_r): ... this.  Add internal_function to
62504         definition.  Add libc_hidden_def.
62505         (__getnetgrent_r): Update caller.
62506         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62508 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62510         * stdlib/longlong.h: Update from GCC.
62512 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62514         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62515         on _QL, which is set by umul_ppmm but never used.
62516         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62517         variables, which are set by GMP macros but never used.
62518         * stdio-common/_itowa.c (_itowa): Likewise.
62519         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62520         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62522 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62524         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62525         struct La_sh_regs is not constant.
62526         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62527         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62528         and struct La_sparc64_regs are not constant.
62530 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62532         * sysdeps/unix/sysv/linux/kernel-features.h
62533         (__ASSUME_POSIX_TIMERS): Remove.
62534         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62535         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62536         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62537         Make code unconditional.
62538         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62539         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62540         Make code unconditional.
62541         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62542         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62543         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62544         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62545         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62546         Make code unconditional.
62547         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62548         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62549         (__libc_missing_posix_timers): Remove.
62551 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62553         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62554         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62556         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62558         * elf/dl-sym.c: Include <stdlib.h>.
62560         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62561         constants, which avoids warnings in 32-bit builds.
62563         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62564         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62566         * misc/lseek.c: File moved to ...
62567         * io/lseek.c: ... here.
62569         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62571         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62572         shifting LEN more than 31 bits at once.
62574 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62576         [BZ #14195]
62577         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62578         segmentation fault for a case of two empty input strings.
62579         * string/test-strncasecmp.c (check1): Renamed to...
62580         (bz12205): ...this.
62581         (bz14195): Add new testcase for two empty input strings and N > 0.
62582         (test_main): Call new testcase, adapt for renamed function.
62584 2012-08-15  Andreas Jaeger  <aj@suse.de>
62586         [BZ #14090]
62587         * crypt/md5test2.c: New test, based on test supplied by Serge
62588         Belyshev <belyshev@depni.sinp.msu.ru>.
62589         * crypt/Makefile (xtests): Add md5test-giant..
62590         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62592 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62594         [BZ #14090]
62595         * crypt/md5.c (md5_process_block): Don't assume the buffer
62596         length is less than 2**32.
62597         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62598         length is less than 2**64.
62600 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62602         * string/str-two-way.h: Include <sys/param.h>.
62603         (MAX): Macro removed.
62605         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62606         Move #define and #undef of memmove to just before and after
62607         including <string.h>.
62609         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62610         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62611         and after including <string.h>.  Move declarations of
62612         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62613         to before #include "string/memmove.c".
62615         * include/dirent.h: Declare __getdirentries.
62617         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62618         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62620 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62622         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62623         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62624         * sysdeps/i386/configure: Regenerated.
62625         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62626         STABS_CURRENT_FILE, and STABS_FUN.
62627         (END): Remove call to STABS_FUN_END.
62628         (STABS_CURRENT_FILE1): Delete.
62629         (STABS_CURRENT_FILE): Likewise.
62630         (STABS_FUN): Likewise.
62631         (STABS_FUN_END): Likewise.
62632         (STABS_FUN2): Likewise.
62633         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62634         * sysdeps/x86_64/configure: Regenerated.
62636 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62638         * elf/dl-open.c: Include <atomic.h>.
62639         * elf/dl-lookup.c: Likewise.
62641 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62643         * sysdeps/unix/sysv/linux/kernel-features.h
62644         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62645         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62646         unconditionally.
62647         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62648         unconditionally.
62649         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62650         condition on __ASSUME_CLONE_THREAD_FLAGS.
62652 2012-08-14  Andreas Jaeger  <aj@suse.de>
62654         * sysdeps/i386/fpu/libm-test-ulps: Update.
62656 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62658         * include/atomic.h (atomic_exchange_and_add): Split into ...
62659         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62660         New atomic macros.
62662 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62666 2012-08-13  Jeff Law <law@redhat.com>
62668         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62669         null byte in the output string.
62671 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62673         * sysdeps/unix/sysv/linux/kernel-features.h
62674         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62675         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62676         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62677         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62678         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62679         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62680         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62682 2012-08-09  Jeff Law <law@redhat.com>
62684         [BZ #13939]
62685         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62686         When avoid_arena is set, don't retry in the that arena.  Pick the
62687         next one, whatever it might be.
62688         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62689         (arena_lock): Pass in new parameter to arena_get2.
62690         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62691         arena_get2.
62692         (__libc_malloc): Unify retrying after main arena failure with
62693         __libc_memalign version.
62694         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62696 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62698         [BZ #14166]
62699         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62700         to __redirect_strstr.
62701         (__strstr_sse42): Use typeof __redirect_strstr.
62702         (__strstr_ia32): Likewise.
62703         (__libc_strstr): New prototype.
62704         (strstr): Renamed to ...
62705         (__libc_strstr): This.
62706         (strstr): New strong alias of __libc_strstr.
62707         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62708         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62709         __redirect_time.
62710         Include <time.h>.
62711         (__libc_time): New prototype.
62712         (time_ifunc): Replace time with __libc_time.
62713         (time): New strong alias and hidden definition of __libc_time.
62714         (__GI_time): Remove strong alias.
62715         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62716         Include <stddef.h>.
62717         (memmove): Redefined to __redirect_memmove.
62718         (__memmove_sse2): Use typeof __redirect_memmove.
62719         (__memmove_ssse3): Likewise.
62720         (__memmove_ssse3_back): Likewise.
62721         (__libc_memmove): New prototype.
62722         (memmove): Renamed to ...
62723         (__libc_memmove): This.
62724         (memmove): New strong alias of __libc_memmove.
62726 2012-08-08  Mark Salter  <msalter@redhat.com>
62728         * elf/elf.h
62729         (R_MN10300_TLS_GD): Define.
62730         (R_MN10300_TLS_LD): Likewise.
62731         (R_MN10300_TLS_LDO): Likewise.
62732         (R_MN10300_TLS_GOTIE): Likewise.
62733         (R_MN10300_TLS_IE): Likewise.
62734         (R_MN10300_TLS_LE): Likewise.
62735         (R_MN10300_TLS_DTPMOD): Likewise.
62736         (R_MN10300_TLS_DTPOFF): Likewise.
62737         (R_MN10300_TLS_TPOFF): Likewise.
62738         (R_MN10300_SYM_DIFF): Likewise.
62739         (R_MN10300_ALIGN): Likewise.
62740         (R_MN10300_NUM): Update.
62742 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62744         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62745         Remove.
62747 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62749         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62751         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62752         sysdeps/unix -> sysdeps/posix move.
62753         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62755 2012-08-07      Allan McRae     <allan@archlinux.org>
62757         [BZ #14303]
62758         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62759         (SUNOS_CPP): Likewise.
62760         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62761         not found.
62762         (open_input): Call CPP using execvp.
62764 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62766         * sysdeps/unix/sysv/linux/kernel-features.h
62767         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62768         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62769         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62770         (__ASSUME_WAITID_SYSCALL): Likewise.
62771         * sysdeps/unix/sysv/linux/dl-execstack.c
62772         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62773         code unconditional.
62774         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62775         conditional code.
62776         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62777         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62778         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62779         code.
62780         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62781         unconditional.
62782         [__ASSUME_WAITID_SYSCALL]: Likewise.
62783         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62785 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62787         * sysdeps/unix/closedir.c: Renamed to ...
62788         * sysdeps/posix/closedir.c: ... here.
62789         * sysdeps/unix/dirfd.c: Renamed to ...
62790         * sysdeps/posix/dirfd.c: ... here.
62791         * sysdeps/unix/dirstream.h: Renamed to ...
62792         * sysdeps/posix/dirstream.h: ... here.
62793         * sysdeps/unix/fdopendir.c: Renamed to ...
62794         * sysdeps/posix/fdopendir.c: ... here.
62795         * sysdeps/unix/opendir.c: Renamed to ...
62796         * sysdeps/posix/opendir.c: ... here.
62797         * sysdeps/unix/readdir.c: Renamed to ...
62798         * sysdeps/posix/readdir.c: ... here.
62799         * sysdeps/unix/readdir_r.c: Renamed to ...
62800         * sysdeps/posix/readdir_r.c: ... here.
62801         * sysdeps/unix/rewinddir.c: Renamed to ...
62802         * sysdeps/posix/rewinddir.c: ... here.
62803         * sysdeps/unix/seekdir.c: Renamed to ...
62804         * sysdeps/posix/seekdir.c: ... here.
62805         * sysdeps/unix/telldir.c: Renamed to ...
62806         * sysdeps/posix/telldir.c: ... here.
62807         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62808         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62809         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62810         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62812         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62813         * bits/fcntl.h: ... here.
62815         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62816         not 0.
62817         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62818         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62819         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62820         (struct flock): Move l_start, l_len to the beginning.
62821         Use __pid_t for l_pid.
62822         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62823         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62824         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62825         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62826         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62827         [__USE_LARGEFILE64] (struct flock64): New type.
62828         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62830         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62831         * bits/dirent.h: ... here.
62833         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62834         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62836 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62838         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62839         Change from 2.6.0 to 2.6.16.
62840         * sysdeps/unix/sysv/linux/configure: Regenerated.
62841         * sysdeps/unix/sysv/linux/kernel-features.h
62842         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62843         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62844         version.
62845         (__ASSUME_UTIMES): Likewise.
62846         (__ASSUME_CLONE_STOPPED): Remove.
62847         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62848         architectures, not kernel version.
62849         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62850         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62851         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62852         (__ASSUME_WAITID_SYSCALL): Likewise.
62853         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62854         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62855         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62856         refer to older versions.
62858 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62860         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62861         Define alphasort64 as an alias.
62862         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62863         Define versionsort64 as an alias.
62864         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62865         Define scandir64 as an alias.
62866         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62867         Define scandirat64 as an alias.
62868         * dirent/alphasort64.c (alphasort64):
62869         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62870         * dirent/versionsort64.c: Likewise.
62871         * dirent/scandir64.c: Likewise.
62872         * dirent/scandirat64.c: Likewise.
62873         * sysdeps/wordsize-64/alphasort.c: File removed.
62874         * sysdeps/wordsize-64/alphasort64.c: File removed.
62875         * sysdeps/wordsize-64/scandir.c: File removed.
62876         * sysdeps/wordsize-64/scandir64.c: File removed.
62877         * sysdeps/wordsize-64/scandirat.c: File removed.
62878         * sysdeps/wordsize-64/scandirat64.c: File removed.
62879         * sysdeps/wordsize-64/versionsort.c: File removed.
62880         * sysdeps/wordsize-64/versionsort64.c: File removed.
62881         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62882         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62883         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62884         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62885         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62886         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62887         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62888         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62890         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62892         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62893         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62894         [defined __arch64__ || defined __sparcv9]
62895         (__INO_T_MATCHES_INO64_T): New macro.
62896         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62897         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62898         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62899         * sysdeps/unix/sysv/linux/bits/dirent.h
62900         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62901         (_DIRENT_MATCHES_DIRENT64): New macro.
62903         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62904         Define lockf64 as an alias.
62905         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62906         Define fseeko64 as an alias.
62907         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62908         Define ftello64 as an alias.
62909         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62910         Define _IO_fgetpos64 and fgetpos64 as aliases.
62911         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62912         Define _IO_fsetpos64 and fsetpos64 as aliases.
62913         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62914         Conditionalize body on this.
62915         * libio/fseeko64.c: Likewise.
62916         * libio/ftello64.c: Likewise.
62917         * libio/iofgetpos64.c: Likewise.
62918         * libio/iofsetpos64.c: Likewise.
62919         * sysdeps/wordsize-64/lockf.c: File removed.
62920         * sysdeps/wordsize-64/lockf64.c: File removed.
62921         * sysdeps/wordsize-64/fseeko.c: File removed.
62922         * sysdeps/wordsize-64/fseeko64.c: File removed.
62923         * sysdeps/wordsize-64/ftello.c: File removed.
62924         * sysdeps/wordsize-64/ftello64.c: File removed.
62925         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62926         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62927         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62928         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62929         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62930         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62931         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62932         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62933         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62934         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62935         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62936         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62938         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62940         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62942         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62943         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62944         [defined __arch64__ || defined __sparcv9]
62945         (__OFF_T_MATCHES_OFF64_T): New macro.
62946         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62947         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62949         (__OFF_T_MATCHES_OFF64_T): New macro.
62951 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62953         * stdlib/secure-getenv.c (__secure_getenv): Replace
62954         GLIBC_2_16 with GLIBC_2_17.
62956 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62958         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62961 2012-08-03  David S. Miller  <davem@davemloft.net>
62963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62965 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62967         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62968         Remove.
62969         (__ASSUME_CORRECT_SI_PID): Likewise.
62970         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62971         (__ASSUME_TMPFS_NAME): Likewise.
62972         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62973         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62974         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62975         (HAVE_AUX_SECURE): Make definition unconditional.
62976         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62977         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62979 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62981         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62982         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62983         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62984         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62985         __eloop_threshold instead of SYMLOOP_MAX.
62987         * sysdeps/generic/eloop-threshold.h: New file.
62988         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62989         of MAXSYMLINKS.
62990         * elf/chroot_canon.c (chroot_canon): Likewise.
62992 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62994         [BZ #13717]
62995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62996         Change to 2.6.0 everywhere.
62997         * sysdeps/unix/sysv/linux/configure: Regenerated.
62998         * sysdeps/unix/sysv/linux/kernel-features.h
62999         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63000         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63001         kernel versions.
63002         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63003         (__ASSUME_FUTEX_REQUEUE): Remove.
63004         (__ASSUME_STATFS64): Define unconditionally.
63005         (__ASSUME_AT_SECURE): Likewise.
63006         (__ASSUME_CORRECT_SI_PID): Likewise.
63007         (__ASSUME_TGKILL): Define without depending on kernel version for
63008         i386.
63009         (__ASSUME_UTIMES): Likewise.
63010         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63011         kernel version.
63012         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63013         (__ASSUME_TMPFS_NAME): Likewise.
63014         * README: Update reference to Linux kernel versions.
63016 2012-08-02  Marek Polacek  <polacek@redhat.com>
63018         [BZ# 14150]
63019         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63020         libc_cv_asm_type_prefix with %.
63021         * configure: Regenerated.
63022         * include/libc-symbols.h: Remove comment about
63023         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63024         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63025         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63026         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63027         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63028         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63029         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63030         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63031         * elf/tst-unique2mod1.c: Likewise.
63032         * elf/tst-unique1mod2.c: Likewise.
63033         * elf/tst-unique1mod1.c: Likewise.
63034         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63035         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63036         Replace ASM_TYPE_DIRECTIVE with .type.
63037         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63038         * sysdeps/i386/sysdep.h: Likewise.
63039         * sysdeps/x86_64/sysdep.h: Likewise.
63040         * sysdeps/sh/sysdep.h: Likewise.
63041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63042         Do not define ASM_TYPE_DIRECTIVE.
63043         * sysdeps/powerpc/sysdep.h: Likewise.
63044         * sysdeps/powerpc/powerpc32/sysdep.h:
63045         Replace ASM_TYPE_DIRECTIVE with .type.
63046         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63047         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63048         * sysdeps/i386/fpu/e_powf.S: Likewise.
63049         * sysdeps/i386/fpu/e_expl.S: Likewise.
63050         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63051         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63052         * sysdeps/i386/fpu/e_pow.S: Likewise.
63053         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63054         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63055         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63056         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63057         * sysdeps/i386/fpu/e_log2.S: Likewise.
63058         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63059         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63060         * sysdeps/i386/fpu/e_powl.S: Likewise.
63061         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63062         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63063         * sysdeps/i386/fpu/e_logl.S: Likewise.
63064         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63065         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63066         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63067         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63068         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63069         * sysdeps/i386/fpu/e_log.S: Likewise.
63070         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63071         * sysdeps/i386/fpu/e_logf.S: Likewise.
63072         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63073         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63074         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63075         * sysdeps/i386/fpu/e_log10.S: Likewise.
63076         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63077         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63078         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63079         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63080         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63081         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63082         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63083         * sysdeps/i386/i686/strtok.S: Likewise.
63084         * sysdeps/i386/i386-mcount.S: Likewise.
63085         * sysdeps/i386/strtok.S: Likewise.
63086         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63087         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63088         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63089         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63090         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63091         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63092         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63093         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63094         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63095         * sysdeps/x86_64/_mcount.S: Likewise.
63096         * sysdeps/x86_64/strtok.S: Likewise.
63097         * sysdeps/sh/_mcount.S: Likewise.
63099 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63101         * libio/iofopen.c: Include <fcntl.h>.
63102         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63103         (_IO_fopen64, fopen64): Define as aliases.
63104         * libio/iofopen64.c: Include <fcntl.h>.
63105         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63106         Conditionalize body on this.
63107         * sysdeps/wordsize-64/iofopen.c: File removed.
63108         * sysdeps/wordsize-64/iofopen64.c: File removed.
63110 2012-08-01  Marek Polacek  <polacek@redhat.com>
63112         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63113         Use dlfcn directly instead of a variable.
63114         (binfmt-subdir): Do not define.
63115         (dlfcn): Likewise.
63117 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63120         Remove all definitions.
63121         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63122         <kernel-features.h>.
63123         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63124         (miss_F_GETOWN_EX): Remove all definitions.
63125         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63126         macro definition.
63127         [!__ASSUME_FCNTL64]: Remove conditional code.
63128         [__ASSUME_FCNTL64]: Make code unconditional.
63129         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63130         <kernel-features.h>.
63131         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63132         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63133         (lockf64) [__NR_fcntl64]: Make code unconditional.
63134         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63136         * sysdeps/unix/sysv/linux/kernel-features.h
63137         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63138         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63139         Make code unconditional.
63140         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63141         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63143         [__NR_vfork]: Make code unconditional.
63144         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63145         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63147         [__NR_vfork]: Make code unconditional.
63148         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63149         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63151 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63153         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63154         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63156         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63157         Define mkstemp64 as an alias.
63158         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63159         Define mkstemps64 as an alias.
63160         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63161         Define mkostemp64 as an alias.
63162         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63163         Define mkostemps64 as an alias.
63164         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63165         Conditionalize body on this.
63166         * misc/mkostemp64.c: Likewise.
63167         * misc/mkostemps64.c: Likewise.
63168         * misc/mkstemps64.c: Likewise.
63169         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63170         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63171         * sysdeps/wordsize-64/mkostemp.c: File removed.
63172         * sysdeps/wordsize-64/mkstemp.c: File removed.
63173         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63174         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63175         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63176         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63178         [BZ #14138]
63179         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63180         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63181         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63182         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63184         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63185         compat_symbol macros from <shlib-compat.h> rather than the underlying
63186         default_symbol_version and symbol_version macros, so that DEFAULT
63187         lines in shlib-versions are respected.
63188         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63190 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63192         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63193         Declare with warn_unused_result.
63194         (setgid, setregid, setegid, setresgid): Likewise.
63195         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63196         Likewise.
63197         * WUR-REPORT: Remove set*id functions.
63199 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63201         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63203 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63205         [BZ #10191]
63206         * include/sys/socket.h (__libc_accept, __libc_accept4):
63207         Add attribute_hidden.
63208         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63210         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63211         use of PTR_MANGLE.
63212         * inet/getnetgrent_r.c (setup): Likewise.
63214         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63216 2012-07-31  David S. Miller  <davem@davemloft.net>
63218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63220 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63222         [BZ #13629]
63223         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63224         value between 1.0 and 2.0 and smaller part has absolute value less
63225         than 1.0.
63226         * math/s_clog10.c (__clog10): Likewise.
63227         * math/s_clog10f.c (__clog10f): Likewise.
63228         * math/s_clog10l.c (__clog10l): Likewise.
63229         * math/s_clogf.c (__clogf): Likewise.
63230         * math/s_clogl.c (__clogl): Likewise.
63231         * math/libm-test.inc (clog_test): Add more tests.
63232         (clog10_test): Likewise.
63233         * sysdeps/i386/fpu/libm-test-ulps: Update.
63234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63236 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63238         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63239         Exit with zero in case no suitable GID is found, and write a
63240         message to standard error.
63242 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63244         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63245         rather than to 1.
63246         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63247         (MAXPATHLEN): Removed.
63248         (NOGROUP, NODEV): New macros.
63249         (setbit, clrbit, isset, isclr): New macros.
63250         (howmany, roundup, powerof2): New macros.
63251         (DEV_BSIZE): New macro.
63253         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63254         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63256         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63257         definition on [!__NO_LONG_DOUBLE_MATH].
63259         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63260         PTR_MANGLE and PTR_DEMANGLE.
63262         * socket/accept4.c (accept4): Rename to __libc_accept4.
63263         Define accept4 as a weak alias.
63265         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63266         on [_DIRENT_HAVE_D_TYPE].
63267         * io/ftw.c (ftw_dir): Likewise.
63269         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63271         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63273         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63274         Use the BSD numbers rather than the arbitrary ones we had.
63275         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63276         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63277         (SIGXCPU, SIGXFSZ): New macros.
63278         (_NSIG): Now 32.
63280         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63281         initializer on [_LIBC_REENTRANT].
63283         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63284         definitions inside [_POSIX_MAPPED_FILES].
63286         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63288         * dirent/opendir.c: Include <fcntl.h>.
63290         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63291         (__libc_getspecific): Likewise.
63292         (__libc_key_create): Likewise.
63294         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63295         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63296         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63297         (tmpfile64): Define as alias.
63298         * sysdeps/wordsize-64/tmpfile.c: File removed.
63299         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63300         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63301         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63303         * stdio-common/vfscanf.c: Include <stdbool.h>.
63304         * nss/makedb.c: Likewise.
63305         * stdio-common/_i18n_number.h: Likewise.
63306         * argp/argp-help.c: Likewise.
63307         * posix/wordexp.c: Likewise.
63308         * sysdeps/posix/spawni.c: Likewise.
63309         * nss/nss_files/files-initgroups.c: Likewise.
63310         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63311         * nss/nss_files/files-initgroups.c: Likewise.
63312         * nss/nss_db/db-netgrp.c: Likewise.
63313         * nss/nss_db/db-initgroups.c: Likewise.
63314         * io/fchmodat.c: Include <sys/stat.h>.
63316         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63317         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63319         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63320         [HAVE_MMAP].
63322         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63323         Add multiple inclusion protection.
63325 2012-07-27  David S. Miller  <davem@davemloft.net>
63327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63329 2012-07-27  Gary Benson  <gbenson@redhat.com>
63331         [BZ #14298]
63332         * elf/rtld.c: Include <stap-probe.h>.
63333         (dl_main): Added static probes "init_start" and "init_complete".
63334         * elf/dl-load.c: Include <stap-probe.h>.
63335         (lose): Take new parameter "nsid".
63336         Added static probe "map_failed".
63337         (_dl_map_object_from_fd): Pass namespace id to lose.
63338         Added static probe "map_start".
63339         (open_verify): Pass namespace id to lose.
63340         * elf/dl-open.c: Include <stap-probe.h>.
63341         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63342         and "reloc_complete".
63343         * elf/dl-close.c: Include <stap-probe.h>.
63344         (_dl_close_worker): Added static probes "unmap_start" and
63345         "unmap_complete".
63346         * elf/rtld-debugger-interface.txt: New file documenting the above.
63348 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63350         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63351         rather than a string variable.
63352         * sunrpc/rpc_main.c (h_output): Likewise.
63353         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63355 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63357         * inet/check_native.c: New file.
63359 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63361         [BZ #13629]
63362         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63363         if larger part has absolute value 1.0.
63364         * math/s_clog10.c (__clog10): Likewise.
63365         * math/s_clog10f.c (__clog10f): Likewise.
63366         * math/s_clog10l.c (__clog10l): Likewise.
63367         * math/s_clogf.c (__clogf): Likewise.
63368         * math/s_clogl.c (__clogl): Likewise.
63369         * math/libm-test.inc (clog_test): Add more tests.
63370         (clog10_test): Likewise.
63371         * sysdeps/i386/fpu/libm-test-ulps: Update.
63372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63374         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63375         (pltexit): Likewise.
63376         (La_regs): Likewise.
63377         (La_retval): Likewise.
63378         (int_retval): Likewise.
63379         Update #error for removed macros to refer only to definitions in
63380         tst-audit.h.
63381         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63382         macro.
63383         (pltexit): Likewise.
63384         (La_regs): Likewise.
63385         (La_retval): Likewise.
63386         (int_retval): Likewise.
63387         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63388         macro.
63389         (pltexit): Likewise.
63390         (La_regs): Likewise.
63391         (La_retval): Likewise.
63392         (int_retval): Likewise.
63393         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63394         macro.
63395         (pltexit): Likewise.
63396         (La_regs): Likewise.
63397         (La_retval): Likewise.
63398         (int_retval): Likewise.
63399         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63400         macro.
63401         (pltexit): Likewise.
63402         (La_regs): Likewise.
63403         (La_retval): Likewise.
63404         (int_retval): Likewise.
63405         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63406         macro.
63407         (pltexit): Likewise.
63408         (La_regs): Likewise.
63409         (La_retval): Likewise.
63410         (int_retval): Likewise.
63411         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63412         macro.
63413         (pltexit): Likewise.
63414         (La_regs): Likewise.
63415         (La_retval): Likewise.
63416         (int_retval): Likewise.
63417         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63418         macro definitions in tst-audit.h.
63419         * sysdeps/i386/tst-audit.h: New file.
63420         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63421         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63422         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63423         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63424         * sysdeps/sh/tst-audit.h: Likewise.
63425         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63426         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63427         * sysdeps/x86_64/tst-audit.h: Likewise.
63429 2012-07-26  Andreas Jaeger  <aj@suse.de>
63431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63432         ptrace.
63434         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63435         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63436         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63437         PTRACE_O_MASK.
63438         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63439         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63440         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63442         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63443         value.
63445         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63446         _sigsys.
63447         (si_call_addr, si_syscall, si_arch): Define new macro.
63448         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63449         _sigsys.
63450         (si_call_addr, si_syscall, si_arch): Define new marcro.
63451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63452         _sigsys.
63453         (si_call_addr, si_syscall, si_arch): Define new macro.
63454         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63455         _sigsys.
63456         (si_call_addr, si_syscall, si_arch): Define new macro.
63458 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63460         [BZ #13717]
63461         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63462         Change to 2.4.21 where previously 2.4.1.
63463         * sysdeps/unix/sysv/linux/configure: Regenerated.
63464         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63465         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63466         Linux kernel version.
63467         (__ASSUME_STD_AUXV): Remove.
63468         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63469         kernel version.
63470         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63471         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63472         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63473         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63474         (__ASSUME_NETLINK_SUPPORT): Likewise.
63475         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63476         (__no_netlink_support): Remove conditional definition.
63477         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63478         Remove.
63479         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63480         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63481         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63482         (if_nameindex_ioctl): Remove.
63483         (if_nameindex_netlink): Do not handle __no_netlink_support.
63484         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63485         code.
63486         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63487         Remove conditional code.
63488         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63489         code.
63490         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63491         unconditional.
63492         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63493         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63494         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63495         Remove.
63496         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63497         [!__ASSUME_STD_AUXV]: Remove conditional code.
63498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63499         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63500         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63502         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63503         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63504         code.
63505         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63507         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63508         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63509         conditional code.
63510         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63512         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63513         code.
63514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63515         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63516         conditional code.
63517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63518         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63519         code unconditional.
63520         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63521         conditional code.
63522         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63523         unconditional.
63524         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63525         conditional code.
63526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63527         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63528         unconditional.
63529         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63530         conditional code.
63531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63532         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63533         code unconditional.
63534         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63535         conditional code.
63536         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63537         unconditional.
63538         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63539         conditional code.
63540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63541         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63542         code unconditional.
63543         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63544         conditional code.
63545         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63546         unconditional.
63547         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63548         conditional code.
63550 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63552         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63553         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63554         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63555         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63556         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63557         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63558         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63559         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63560         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63561         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63562         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63563         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63564         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63565         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63566         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63567         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63568         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63569         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63570         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63572         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63573         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63574         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63576 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63578         * Versions.def: Add GLIBC_2.17.
63579         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63580         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63581         Introduce __libc_secure_getenv.
63582         * stdlib/Versions (2.17): Add secure_getenv
63583         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63584         * stdlib/secure-getenv.c: Rename __secure_getenv to
63585         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63586         symbol __secure_getenv for GLIBC_2.0.
63587         * stdlib/tst-secure-getenv.c: New.
63588         * stdlib/Makefile (tests): Add testcase.
63589         * manual/startup.texi (Environment Access): Document
63590         secure_getenv.
63591         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63592         __libc_secure_getenv.
63593         * inet/ruserpass.c (ruserpass): Likewise.
63594         * malloc/mtrace.c (mtrace): Likewise.
63595         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63596         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63597         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63598         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63599         HAVE_SECURE_GETENV.
63600         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63601         __secure_getenv to __libc_secure_getenv.
63602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63604         Likewise.
63605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63606         Likewise.
63607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63609         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63615 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63617         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63618         (struct La_i86_retval): Likewise.
63619         (struct La_x86_64_regs): Likewise.
63620         (struct La_x86_64_retval): Likewise.
63621         (struct La_x32_regs): Likewise.
63622         (struct La_x32_retval): Likewise.
63623         (struct La_ppc32_regs): Likewise.
63624         (struct La_ppc32_retval): Likewise.
63625         (struct La_ppc64_regs): Likewise.
63626         (struct La_ppc64_retval): Likewise.
63627         (struct La_sh_regs): Likewise.
63628         (struct La_sh_retval): Likewise.
63629         (struct La_s390_32_regs): Likewise.
63630         (struct La_s390_32_retval): Likewise.
63631         (struct La_s390_64_regs): Likewise.
63632         (struct La_s390_64_retval): Likewise.
63633         (struct La_sparc32_regs): Likewise.
63634         (struct La_sparc32_retval): Likewise.
63635         (struct La_sparc64_regs): Likewise.
63636         (struct La_sparc64_retval): Likewise.
63637         (struct audit_ifaces): Remove architecture-specific pltenter and
63638         pltexit members.
63639         * sysdeps/i386/ldsodefs.h: New file.
63640         * sysdeps/powerpc/ldsodefs.h: Likewise.
63641         * sysdeps/s390/ldsodefs.h: Likewise.
63642         * sysdeps/sh/ldsodefs.h: Likewise.
63643         * sysdeps/sparc/ldsodefs.h: Likewise.
63644         * sysdeps/x86_64/ldsodefs.h: Likewise.
63646 2012-07-25  Marek Polacek  <polacek@redhat.com>
63648         [BZ #6808]
63649         * math/libm-test.inc (yn_test): Add another test.
63650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63651         to ERANGE when the result is +-Inf.
63652         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63653         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63654         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63655         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63657 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63659         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63660         equal to 0.
63661         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63662         clock_t.
63663         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63665 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63667         * configure.in <sysdeps resolving>: Correct printing
63668         Implies_before.
63669         * configure: Regenerate.
63671 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63673         * math/w_ilogb.c: Include <limits.h>.
63674         * math/w_ilogbl.c: Likewise.
63676 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63678         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63679         va_copy.  Document allowing for unavailable va_copy only as
63680         pre-C99 compatibility.
63681         * manual/string.texi (Copying and Concatenation): Use va_copy
63682         instead of __va_copy in concat example.
63684 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63686         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63687         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63688         it if not null.
63690         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63691         with O_NOLINK passed to __file_name_lookup.
63693         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63694         with O_NOLINK passed to __file_name_lookup.
63696         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63697         negative N or less than NGIDS.
63699         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63700         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63701         enough.  Use memcpy instead of strncpy.
63703 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63705         * elf/Makefile (check-data): Remove.
63706         (localplt.data): New vpath directive.
63707         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63708         instead of $(check-data).
63709         * scripts/data/localplt-generic.data: Move to ...
63710         * sysdeps/generic/localplt.data: ... here.
63711         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63712         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63713         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63715         ... here.
63716         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63718         ... here.
63719         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63721         ... here.
63722         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63724         ... here.
63725         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63727         ... here.
63728         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63730         ... here.
63732 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63734         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63735         PPC32 and PPC64 files.
63736         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63737         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63739 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63741         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63742         __makecontext_ret to ...
63743         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63744         ... here and call exit if uc_link is NULL.  New file.
63745         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63746         __makecontext_ret.S.
63747         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63748         __makecontext_ret to ...
63749         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63750         ... here and call exit if uc_link is NULL.  New file.
63751         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63752         __makecontext_ret.S.
63754 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63756         * elf/elf.h (R_390_IRELATIVE): New definition.
63757         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63758         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63759         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63761         (elf_machine_lazy_rel): Likewise.
63762         * sysdeps/s390/dl-irel.h: New file.
63763         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63764         * sysdeps/s390/s390-64/memset.S: New asm code.
63765         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63766         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63767         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63768         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63769         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63770         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63771         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63772         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63773         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63774         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63775         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63776         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63777         * sysdeps/s390/s390-32/memset.S: New asm code.
63778         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63780 2012-07-17  Marek Polacek  <polacek@redhat.com>
63782         [BZ #14349]
63783         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63784         * sysdeps/s390/s390-64/configure.in: Likewise.
63785         * sysdeps/sparc/configure.in: Likewise.
63786         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63787         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63788         * sysdeps/i386/configure.in: Likewise.
63789         * sysdeps/x86_64/configure.in: Likewise.
63790         * sysdeps/sh/configure.in: Likewise.
63791         * sysdeps/s390/s390-32/configure: Regenerated.
63792         * sysdeps/s390/s390-64/configure: Likewise.
63793         * sysdeps/x86_64/configure: Likewise.
63794         * sysdeps/sh/configure: Likewise.
63795         * sysdeps/powerpc/powerpc64/configure: Likewise.
63796         * sysdeps/powerpc/powerpc32/configure: Likewise.
63797         * sysdeps/sparc/configure: Likwise.
63798         * sysdeps/i386/configure: Likewise.
63800         * elf/dl-open.c: Comment fixes.
63802 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63804         * Makefile [CXX] (check-data): Remove.
63805         [CXX] (c++-types.data): New vpath directive.
63806         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63807         vpath.  Do not allow for C++ type data being missing.
63808         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63809         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63810         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63811         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63812         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63813         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63814         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63816         ... here.
63817         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63819         ... here.
63820         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63822         ... here.
63823         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63825         ... here.
63826         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63828         ... here.
63829         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63831         ... here.
63832         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63834         ... here.
63835         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63838         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63839         definitions to architecture-specific files.
63840         (TLS_IE): Likewise.
63841         (TLS_LD): Likewise.
63842         (TLS_GD): Likewise.
63843         * sysdeps/i386/tls-macros.h: New file.
63844         * sysdeps/powerpc/tls-macros.h: Likewise.
63845         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63846         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63847         * sysdeps/sh/tls-macros.h: Likewise.
63848         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63849         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63850         * sysdeps/x86_64/tls-macros.h: Likewise.
63852 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63854         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63855         zero value for regular exit case.
63857         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63858         (__start_context): Preserve zero value for regular exit case.
63860 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63861             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63863         * manual/setjmp.texi (setcontext): Clarify normal process
63864         termination when uc_link is the null pointer.
63865         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63866         exit call.
63868 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63870         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63871         preprocessor.  Test for each exception mask separately.
63873 2012-07-16  Andreas Jaeger  <aj@suse.de>
63875         * po/ru.po: Update from translation team.
63877 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63879         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63880         equal to 0.
63881         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63882         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63883         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63884         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63887 2012-07-13  Andreas Jaeger  <aj@suse.de>
63889         * po/fr.po: Update from translation team.
63891 2012-07-12  Marek Polacek  <polacek@redhat.com>
63893         [BZ #14173]
63894         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63895         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63896         loop condition.
63898 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63900         [BZ #13717]
63901         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63902         Change to 2.4.1 where previously 2.4.0.
63903         * sysdeps/unix/sysv/linux/configure: Regenerated.
63904         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63905         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63906         version.
63907         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63908         (__ASSUME_AT_CLKTCK): Remove.
63909         (__ASSUME_AT_PAGESIZE): Likewise.
63910         (__ASSUME_AT_XID): Likewise.
63911         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63912         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63913         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63914         unconditionally.
63915         (HAVE_AUX_PAGESIZE): Likewise.
63916         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63917         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63918         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63920 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63922         [BZ #14307]
63923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63924         the temporary buffer used to invoke __gethostbyname2_r,
63925         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63926         host_data / struct gaih_addrtuple.
63927         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63928         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63929         header file nss/nsswitch.h.
63930         * nss/nsswitch.h (global scope): Add definition of implementation
63931         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63932         resolv/nss_dns/dns-host.c).
63934 2012-07-11  Andreas Jaeger  <aj@suse.de>
63936         * po/fr.po: Update from translation team.
63938         * po/sv.po: Update from translation team
63939         * po/fr.po: Another update from translation team.
63941 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63943         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63944         for subnormals or multiply small sinh result by itself.
63945         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63948 2012-07-11  David S. Miller  <davem@davemloft.net>
63950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63952 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63954         [BZ #14347]
63955         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63956         (INTERNAL_MARK): Shift it here.
63958 2012-07-10  Marek Polacek  <polacek@redhat.com>
63960         [BZ #14151]
63961         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63962         libc_cv_asm_global_directive with .globl.
63963         * configure: Regenerated.
63964         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63965         with .globl.
63966         * sysdeps/i386/configure: Regenerated.
63967         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63968         with .globl.
63969         * sysdeps/x86_64/configure: Regenerated.
63970         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63971         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63972         * elf/tst-unique2mod2.c: Likewise.
63973         * elf/tst-unique2mod1.c: Likewise.
63974         * elf/tst-unique1mod2.c: Likewise.
63975         * elf/tst-unique1mod1.c: Likewise.
63976         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63977         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63978         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63979         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63980         * sysdeps/mach/sysdep.h: Likewise.
63981         * sysdeps/i386/sysdep.h: Likewise.
63982         * sysdeps/i386/i386-mcount.S: Likewise.
63983         * sysdeps/x86_64/_mcount.S: Likewise.
63984         * sysdeps/x86_64/sysdep.h: Likewise.
63985         * sysdeps/sh/_mcount.S: Likewise.
63986         * sysdeps/sh/sysdep.h: Likewise.
63987         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63988         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63989         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63990         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63991         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63992         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63993         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63994         * locale/localeinfo.h: Likewise.
63995         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63996         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63998 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64000         [BZ #14336]
64001         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64002         system".
64003         * manual/message.texi (The Uniforum approach): Likewise.
64004         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64005         (glibc iconv Implementation): Likewise.
64007 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64009         [BZ #14337]
64010         * math/s_clog.c (__clog): Avoid scaling a value down where that
64011         could result in underflow.
64012         * math/s_clog10.c (__clog10): Likewise.
64013         * math/s_clog10f.c (__clog10f): Likewise.
64014         * math/s_clog10l.c (__clog10l): Likewise.
64015         * math/s_clogf.c (__clogf): Likewise.
64016         * math/s_clogl.c (__clogl): Likewise.
64017         * math/libm-test.inc (clog_test): Add more tests.
64018         (clog10_test): Likewise.
64019         * sysdeps/i386/fpu/libm-test-ulps: Update.
64020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64022 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64024         [BZ #14283]
64025         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64026         by 7 not 8 to examine high bit of fractional part.
64028         [BZ #14042]
64029         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64030         for call to __mcount_internal.
64031         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64032         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64033         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64035 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64037         [BZ #14154]
64038         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64039         approximation for values within 0x1p-13f of an odd multiple of
64040         pi/4.
64041         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64042         exception.  Add more tests.
64043         * sysdeps/i386/fpu/libm-test-ulps: Update.
64045         [BZ #6778]
64046         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64047         inputs and return -1 for them.  Do not check for +Inf in case not
64048         reachable for +Inf.
64049         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64050         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64051         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64052         and return -1 for them.  Do not check for +Inf in case not
64053         reachable for +Inf.
64054         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64055         define.
64056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64057         and return -1 for them.  Do not check for +Inf in case not
64058         reachable for +Inf.
64059         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64060         spurious underflow.
64061         * sysdeps/i386/fpu/libm-test-ulps: Update.
64062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64064 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64066         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64068 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64070         [BZ #14157]
64071         [BZ #14331]
64072         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64073         could result in spurious underflow.  Scale down values above
64074         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64075         * math/s_csqrtf.c (__csqrtf): Likewise.
64076         * math/s_csqrtl.c (__csqrtl): Likewise.
64077         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64078         spurious underflow.
64079         * sysdeps/i386/fpu/libm-test-ulps: Update.
64080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64082 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64084         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64085         xopen-msg.sed.
64086         * catgets/xopen-msg.awk: New file.
64087         * catgets/xopen-msg.sed: Removed.
64089         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64090         po2text.sed.
64091         * intl/po2test.awk: New file.
64092         * intl/po2test.sed: Removed.
64094 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64096         [BZ #14328]
64097         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64098         or multiply small sinh result by itself.
64099         * math/s_ctanf.c (__ctanf): Likewise.
64100         * math/s_ctanh.c (__ctanh): Likewise.
64101         * math/s_ctanhf.c (__ctanhf): Likewise.
64102         * math/s_ctanhl.c (__ctanhl): Likewise.
64103         * math/s_ctanl.c (__ctanl): Likewise.
64104         * math/libm-test.inc (ctan_test_tonearest): New function.
64105         (ctan_test_towardzero): Likewise.
64106         (ctan_test_downward): Likewise.
64107         (ctan_test_upward): Likewise.
64108         (ctanh_test_tonearest): Likewise.
64109         (ctanh_test_towardzero): Likewise.
64110         (ctanh_test_downward): Likewise.
64111         (ctanh_test_upward): Likewise.
64112         (main): Call these new functions.
64113         * sysdeps/i386/fpu/libm-test-ulps: Update.
64114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64116 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64118         * .gitignore: Delete /ports entry.
64120 2012-07-03  Andreas Jaeger  <aj@suse.de>
64122         * po/bg.po: Update from translation team.
64123         * po/cs.po: Likewise.
64124         * po/de.po: Likewise.
64125         * po/hr.po: Likewise.
64126         * po/nl.pl: Likewise.
64127         * po/pl.po: Likewise.
64128         * po/vi.po: Likewise.
64130 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64132         * Makeconfig [!+link] (+link-before-libc): New variable.
64133         [!+link] (+link-after-libc): Likewise.
64134         [!+link] (+link-tests): Likewise.
64135         [!+link] (+link): Define in terms of $(+link-before-libc) and
64136         $(+link-after-libc).
64137         [!+link-static] (+link-static-before-libc): New variable.
64138         [!+link-static] (+link-static-after-libc): Likewise.
64139         [!+link-static] (+link-static-tests): Likewise.
64140         [!+link-static] (+link-static): Define in terms of
64141         $(+link-static-before-libc) and $(+link-static-after-libc).
64142         [build-shared] (link-libc-before-gnulib): New variable.
64143         [build-shared] (link-libc-tests): Likewise.
64144         [build-shared] (link-libc): Define in terms of
64145         $(link-libc-before-gnulib).
64146         [!build-shared] (link-libc-tests): New variable.
64147         (link-libc-static-tests): New variable.
64148         [!gnulib] (gnulib-arch): New variable.
64149         [!gnulib] (gnulib-tests): Likewise.
64150         [!gnulib] (static-gnulib-arch): Likewise.
64151         [!gnulib] (static-gnulib-tests): Likewise.
64152         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64153         Define with "=" instead of ":=".
64154         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64155         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64156         * Rules (binaries-all-notests): New variable.
64157         (binaries-all-tests): Likewise.
64158         (binaries-static-notests): Likewise.
64159         (binaries-static-tests): Likewise.
64160         (binaries-all): Define using $(binaries-all-notests) and
64161         $(binaries-all-tests).
64162         (binaries-static): Define using $(binaries-static-notests) and
64163         $(binaries-static-tests).
64164         (binaries-shared-tests): New variable.
64165         (binaries-shared-notests): Likewise.
64166         (binaries-shared): Remove variable.
64167         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64168         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64169         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64170         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64171         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64172         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64173         * elf/Makefile (sln-modules): New variable.
64174         (extra-objs): Add $(sln-modules:=.o).
64175         (ldconfig-modules): Add static-stubs.
64176         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64177         * elf/static-stubs.c: New file.
64179         [BZ #14283]
64180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64181         by 7 not 8 to examine high bit of fractional part.  Use volatile
64182         variables when splitting into final array of floats if
64183         __FLT_EVAL_METHOD__ != 0.
64184         * math/libm-test.inc (cos_test): Add another test.
64185         (sin_test): Likewise.
64186         * sysdeps/i386/fpu/libm-test-ulps: Update.
64188         [BZ #14273]
64189         * math/libm-test.inc (cosh_test): Add more tests.
64191         * version.h (RELEASE): Set to "development".
64192         (VERSION): Set to "2.16.90".
64194 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64196         * NEWS: Update copyright. Remove last-updated date.
64197         Mention math library bug fixes and timezone data changes.
64198         * README: Mention GNU/Hurd, x32, and HPPA support status.
64200 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64202         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64204 2012-06-27  Andreas Jaeger  <aj@suse.de>
64206         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64208 2012-06-25  Andreas Jaeger  <aj@suse.de>
64210         * sysdeps/s390/fpu/libm-test-ulps: Update.
64212 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64213             Thomas Schwinge  <thomas@codesourcery.com>
64215         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64216         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64217         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64218         fanotify_mark.
64220 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64222         * sysdeps/mach/start.c: Remove file.
64223         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64224         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64225         * sysdeps/sh/init-first.c: Likewise.
64227         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64228         registers for frame unwinding purposes, add CFI directives.
64229         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64230         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64231         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64232         Likewise.
64234         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64235         __fortify_fail returning.
64236         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64238         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64239         sysdeps/sh/____longjmp_chk.S.
64240         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64241         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64242         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64243         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64245         * sysdeps/sh/abort-instr.h: New file.
64246         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64247         process in case exit returns.
64249         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64250         initialize the GOT register before use.
64252         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64253         calculation of ARGC > 4.
64255         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64256         meaningful names to some local labels.
64258 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64259             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64261         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64262         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64263         (__arch_compare_and_exchange_val_16_acq): Likewise.
64264         (__arch_compare_and_exchange_val_32_acq): Likewise.
64265         (atomic_exchange_and_add): Fix gUSA sequence.
64266         (atomic_add): Likewise.
64267         (atomic_add_negative): Likewise.
64268         (atomic_add_zero): Likewise.
64269         (atomic_bit_test_set): Likewise.
64271 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64273         [BZ #13579]
64274         * include/link.h (struct link_map): Add l_free_initfini.
64275         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64276         l_initfini.
64277         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64278         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64279         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64280         set.
64282 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64284         * configure.in: Use AC_LANG_SOURCE.
64285         * configure: Regenerate.
64287 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64289         * configure.in (libc_cv_localstatedir): New substituted variable.
64290         * configure: Regenerated.
64291         * config.make.in (localstatedir): New variable, substituted from
64292         libc_cv_localstatedir.
64293         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64294         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64295         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64296         * sysdeps/gnu/configure: Regenerated.
64298 2012-06-21  Jeff Law  <law@redhat.com>
64300         [BZ #14277]
64301         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64302         free.  Simplify list management for _LIBC case.
64304 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64306         [BZ #14273]
64307         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64308         Clear sign bit of 64-bit integer value before comparing against
64309         overflow value.
64311         * sysdeps/mach/configure: Regenerated.
64313 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64315         [BZ #14278]
64316         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64318 2012-06-21  Jeff Law  <law@redhat.com>
64320         [BZ #13882]
64321         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64322         uint16_t for elements in the "seen" array to avoid char overflows.
64323         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64324         * elf/dl-open.c (dl_open_worker): Likewise.
64326 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64328         * scripts/list-sources.sh: Scan PORTS for translations.
64329         * po/libc.pot: Regenerated.
64331 2012-06-21  Andreas Jaeger  <aj@suse.de>
64333         [BZ #12194]
64334         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64335         warning.
64336         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64337         * bits/byteswap-16.h (__bswap_16): Likewise.
64338         * bits/byteswap.h (__bswap_constant_16): Likewise.
64340 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64342         [BZ #14117]
64343         * sysdeps/i386/fpu_control.h: Removed.
64344         * sysdeps/x86_64/fpu_control.h: Moved to ...
64345         * sysdeps/x86/fpu_control.h: Here.
64347         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64348         (_FPU_SETCW): Likewise.
64350 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64352         [BZ #14117]
64353         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64354         * sysdeps/x86/fpu/bits/mathinline.h: This.
64355         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64357         [BZ #14050]
64358         [BZ #14117]
64359         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64360         functions if __x86_64__ is defined.
64362 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64364         * string/endian.h: Add !__ASSEMBLER__ condition for including
64365         conversion interfaces.
64367 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64369         [BZ #14241]
64370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64371         of ABS(x) in calculating zero to negative powers other than odd
64372         integers.
64373         * math/libm-test.inc (pow_test): Add more tests.
64375 2012-06-15  Andreas Jaeger  <aj@suse.de>
64377         * manual/contrib.texi (Contributors): Update entry of Liubov
64378         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64379         Machado Filho.
64381 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64383         * string/string.h: Add __wur to GNU version of strerror_r.
64385 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64387         [BZ #14229]
64388         * string/Makefile (tests): Add tst-strtok_r.
64389         * string/tst-strtok_r.c: New file.
64390         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64391         RAX_LP/RDX_LP on SAVE_PTR.
64393 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64395         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64397 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64399         * libm_test.inc (csqrt_test): Allow more spurious underflow
64400         exceptions.
64401         (j0_test): Likewise.
64402         (j1_test): Likewise.
64403         (y0_test): Likewise.
64404         (y1_test): Likewise.
64406 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64408         * po/Makefile (libc.pot): Use UTF-8 charset.
64410 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64412         [BZ #14210]
64413         Suppress sign-conversion warning from FD_SET.
64414         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64415         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64416         not unsigned long int.
64417         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64419 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64421         [BZ #14050]
64422         [BZ #14117]
64423         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64424         __extern_always_inline instead of __extern_inline.
64425         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64426         (__signbit): Likewise.
64427         (__signbitl): Support C++ namespace.
64428         (lrintf): New inline function.
64429         (lrint): Likewise.
64430         (llrintf): Likewise.
64431         (llrint): Likewise.
64432         (fmaxf): Likewise.
64433         (fmax): Likewise.
64434         (fminf): Likewise.
64435         (fmin): Likewise.
64436         (rint): Likewise.
64437         (rintf): Likewise.
64438         (ceil): Likewise.
64439         (ceilf): Likewise.
64440         (floor): Likewise.
64441         (floorf): Likewise.
64442         (nearbyint): Likewise.
64443         (nearbyintf): Likewise.
64445 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64447         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64448         non-default versions.
64450 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64452         [BZ #14218]
64453         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64455 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64457         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64458         (FE_UPWARD, FE_DOWNWARD): Don't define.
64459         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64460         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64462         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64463         reading it.
64464         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64465         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64467 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64469         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64470         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64471         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64472         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64474 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64476         [BZ #14117]
64477         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64478         * sysdeps/i386/fpu/Implies: New file.
64479         * sysdeps/x86_64/fpu/Implies: Likewise.
64480         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64481         * sysdeps/x86/fpu/bits/fenv.h: This.
64483         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64484         __SSE_MATH__.
64486 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64488         [BZ #14134]
64489         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64490         character 0xffff that matches the last element of the
64491         conversion table.
64493 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64495         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64496         fmodl commit.
64498 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64501         values higher than 25.6283.
64503 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64505         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64506         subnormal exponent extraction and add some __builtin_expect.
64507         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64508         Fix for subnormal mantissa calculation.
64510 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64512         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64513         cpu2 is -1 and errno is not ENOSYS.
64515 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64517         [BZ #14117]
64518         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64519         * sysdeps/x86/bits/string.h: This.
64520         * sysdeps/x86_64/bits/string.h: Removed.
64522         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64523         if not compiling for x86-64, but compiling for >= i486.
64525         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64526         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64528         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64529         New macro from Linux kernel 3.4.0.
64530         (FP_XSTATE_MAGIC2): Likewise.
64531         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64532         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64533         (struct _fpx_sw_bytes): New struct.
64534         (struct _xsave_hdr): Likewise.
64535         (struct _ymmh_state): Likewise.
64536         (struct _xstate): Likewise.
64538         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64539         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64541         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64542         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64543         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64545         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64546         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64547         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64548         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64549         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64550         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64552 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64554         [BZ #13743]
64555         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64556         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64557         (sysdep_headers): Include sys/platform/ppc.h.
64558         * sysdeps/powerpc/test-gettimebase.c: Test for
64559         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64560         * manual/Makefile (appendices): Include platform.texi.
64561         * manual/contrib.texi (Contributors): Update @node pointers.
64562         * manual/maint.texi (Maintenance): Likewise.
64563         (Platform): New node.
64564         * manual/platform.texi: New file.  Document the new features.
64566 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64567             Jakub Jelinek  <jakub@redhat.com>
64569         [BZ #14188]
64570         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64571         where __builtin_expect is unavailable.
64573 2012-06-03  David S. Miller  <davem@davemloft.net>
64575         * stdlib/longlong.h: Updated from GCC.
64577 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64579         [BZ #14042]
64580         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64581         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64582         __mcount_internal.
64583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64584         (GLIBC_2.16): Likewise.
64586 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64588         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64590 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64593         (default-abi): New variable.
64594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64595         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64596         variable.
64597         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64598         Likewise.
64599         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64600         Likewise.
64601         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64602         Likewise.
64604         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64605         definition.  Document in comment.
64607 2012-06-01  David S. Miller  <davem@davemloft.net>
64609         * stdlib/longlong.h: Updated from GCC.
64611 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64613         [BZ #14117]
64614         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64615         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64616         sys/debugreg.h sys/io.h here.
64617         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64618         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64619         sys/io.h.
64620         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64621         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64622         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64623         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64624         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64625         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64627         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64628         Define only if __x86_64__ is defined.
64630 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64632         [BZ #14048]
64633         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64634         Use int64_t for variable i.
64635         * math/libm-test.inc (fmod_test): Add more tests.
64637         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64638         z computation is not scheduled after fetestexcept.
64639         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64640         Use math_force_eval instead of asm to ensure calculation scheduled
64641         before exception test.
64642         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64643         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64645 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64648         computation is not scheduled after fetestexcept.
64650 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64652         [BZ #14117]
64653         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64654         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64656 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64658         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64659         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64661 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64663         [BZ #14117]
64664         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64665         <bits/wordsize.h>.
64666         (__WCHAR_MIN): Support __WORDSIZE == 64.
64667         (__WCHAR_MAX): Likewise.
64669         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64670         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64672         [BZ #14183]
64673         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64674         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64676         [BZ #14117]
64677         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64678         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64680         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64681         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64683         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64684         Defined to 1 if __x86_64__ isn't defined.
64685         (_STAT_VER_LINUX_OLD): New.
64686         (st_atime): Remove duplicate.
64687         (st_mtime): Likewise.
64688         (st_ctime): Likewise.
64690 2012-05-31  David S. Miller  <davem@davemloft.net>
64692         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64693         entries.
64695 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64697         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64698         gen-libm-test.pl.
64700         [BZ #14132]
64701         * elf/dl-reloc.c: Include <_itoa.h>.
64702         (_dl_reloc_bad_type): Remove use of INTUSE.
64703         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64704         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64705         * stdio-common/psiginfo.c (psiginfo): Likewise.
64706         * stdio-common/psignal.c (psignal): Likewise.
64707         * string/strsignal.c (strsignal): Likewise.
64708         * include/signal.h (_sys_siglist): Declare hidden proto.
64709         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64710         INTVARDEF with libc_hidden_data_def.
64711         * stdio-common/itoa-udigits.c: Likewise.
64712         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64713         (_itoa_lower_digits_internal): Remove declaration.
64714         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64715         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64716         (_sys_sigabbrev_internal): Remove aliases.
64717         (_sys_siglist): Define hidden alias.
64719 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64722         bits/sysctl.h.
64724 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64726         [BZ #14117]
64727         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64728         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64730         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64731         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64732         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64733         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64734         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64735         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64737         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64738         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64739         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64741         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64742         with __addr.
64743         (insw): Likewise.
64744         (insl): Likewise.
64745         (outsb): Likewise.
64746         (outsw): Likewise.
64747         (outsl): Likewise.
64749         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64750         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64751         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64753         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64754         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64755         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64756         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64757         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64758         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64760         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64761         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64763         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64764         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64766         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64767         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64768         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64770         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64771         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64772         to ...
64773         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64775         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64776         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64777         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64779         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64780         for x86-64.
64781         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64783 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64785         * math/math.h (M_El): Use two more decimal places.
64786         (M_LOG2El): Likewise.
64787         (M_LOG10El): Likewise.
64788         (M_LN2l): Likewise.
64789         (M_LN10l): Likewise.
64790         (M_PIl): Likewise.
64791         (M_PI_2l): Likewise.
64792         (M_PI_4l): Likewise.
64793         (M_1_PIl): Likewise.
64794         (M_2_PIl): Likewise.
64795         (M_2_SQRTPIl): Likewise.
64796         (M_SQRT2l): Likewise.
64797         (M_SQRT1_2l): Likewise.
64799 2012-05-31  David S. Miller  <davem@davemloft.net>
64801         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64802         values between float registers.
64803         * sysdeps/sparc/sparc64/memset.S: Likewise.
64804         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64806 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64808         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64809         -D_FORTIFY_SOURCE=1.
64810         (CPPFLAGS-tst-longjmp_chk.c): Define.
64811         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64812         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64813         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64814         CFLAGS-tst-wchar-h.c.
64816 2012-05-31  Marek Polacek  <polacek@redhat.com>
64818         [BZ #14132]
64819         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64820         __endmntent_internal): Remove declaration.
64821         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64822         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64823         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64825 2012-05-30  David S. Miller  <davem@davemloft.net>
64827         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64828         (___Q_simulate_exceptions): Use real FP ops rather than writing
64829         into the %fsr.
64830         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64831         Likewise.
64833 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64835         [BZ #14117]
64836         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64837         * sysdeps/x86/bits/xtitypes.h: This.
64839         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64840         * sysdeps/x86/bits/wordsize.h: This.
64842         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64843         * sysdeps/x86/bits/huge_vall.h: This.
64845         * sysdeps/i386/bits/select.h: Removed.
64846         * sysdeps/x86_64/bits/select.h: Renamed to ...
64847         * sysdeps/x86/bits/select.h: This.
64849         * sysdeps/i386/bits/setjmp.h: Removed.
64850         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64851         * sysdeps/x86/bits/setjmp.h: This.
64853         * sysdeps/i386/bits/mathdef.h: Removed.
64854         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64855         * sysdeps/x86/bits/mathdef.h: This.
64857 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64859         [BZ #14132]
64860         * include/sys/socket.h (__connect_internal)
64861         (__libc_sa_len_internal): Remove declaration.
64862         (__connect, __libc_sa_len): Declare hidden_proto.
64863         (SA_LEN): Remove use of INTUSE.
64864         * socket/connect.c: Add libc_hidden_def.
64865         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64866         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64867         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64868         alias.
64869         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64870         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64871         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64872         of adding _internal alias.
64874 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64876         [BZ #14117]
64877         * sysdeps/i386/bits/link.h: Removed.
64878         * sysdeps/i386/bits/linkmap.h: Likewise.
64879         * sysdeps/x86_64/bits/link.h: Renamed to ...
64880         * sysdeps/x86/bits/link.h: This.
64881         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64882         * sysdeps/x86/bits/linkmap.h: This.
64884         * sysdeps/i386/bits/endian.h: Removed.
64885         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64886         * sysdeps/x86/bits/endian.h: This.
64888         * sysdeps/i386/bits/byteswap.h: Removed.
64889         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64890         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64891         * sysdeps/x86/bits/byteswap.h: This.
64892         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64893         * sysdeps/x86/bits/byteswap-16.h: This.
64894         * sysdeps/i386/Implies: Add x86.
64895         * sysdeps/x86_64/Implies: Likewise.
64897 2012-05-30  David S. Miller  <davem@davemloft.net>
64899         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64900         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64901         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64902         (FP_TRAPPING_EXCEPTIONS): Define.
64903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64904         (FP_TRAPPING_EXCEPTIONS): Define.
64905         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64906         subnormals only when inexact has been signalled or underflow
64907         exceptions are enabled.
64908         (_FP_PACK_CANONICAL): Likewise.
64910 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64912         [BZ #14183]
64913         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64914         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64916 2012-05-30  Richard Henderson  <rth@twiddle.net>
64918         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64919         with #ifndef NOT_IN_libc.
64921         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64922         marked to avoid plt entry.
64924 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64926         [BZ #14112]
64927         * Makeconfig (default-abi): New macro.
64928         (abi-includes): Likewise.
64929         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64930         $(abi-$(default-abi)-lib-soname) for soname if defined.
64931         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64932         abi-variants.
64933         * Makefile (installed-stubs): Likewise.
64934         * include/stubs-biarch.h: Removed.
64935         * scripts/lib-names.awk: Only handle one library at a time.
64936         * scripts/soversions.awk: Remove WORDSIZE support.
64937         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64938         entries.
64939         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64940         Removed.
64941         (syscall-list-default-condition): Likewise.
64942         (syscall-list-default-condition): Likewise.
64943         (syscall-list-includes): Likewise.
64944         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64945         syscall-list-* with abi-*.  Handle undefined abi-variants.
64946         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64947         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64948         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64949         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64950         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64951         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64952         Removed.
64953         (syscall-list-32-options): Likewise.
64954         (syscall-list-32-condition): Likewise.
64955         (syscall-list-64-options): Likewise.
64956         (syscall-list-64-condition): Likewise.
64957         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64958         macro.
64959         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64960         Renamed to ...
64961         (abi-*): This.
64962         (abi-64-ld-soname): New macro.
64963         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64964         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64965         Renamed to ...
64966         (abi-*): This.
64967         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64968         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64970 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64972         * sysdeps/unix/sysv/linux/kernel-features.h
64973         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64974         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64975         include <kernel-features.h>.
64976         [!__NR_ftruncate64]: Remove conditional code.
64977         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64978         [__NR_ftruncate64]: Make code unconditional.
64979         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64980         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64981         include <kernel-features.h>.
64982         [!__NR_ftruncate64]: Remove conditional code.
64983         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64984         [__NR_ftruncate64]: Make code unconditional.
64985         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64987         include <kernel-features.h>.
64988         [!__NR_ftruncate64]: Remove conditional code.
64989         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64990         [__NR_ftruncate64]: Make code unconditional.
64991         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64993         include <kernel-features.h>.
64994         [!__NR_ftruncate64]: Remove conditional code.
64995         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64996         [__NR_ftruncate64]: Make code unconditional.
64997         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64999         * configure.in (libc_cv_fpie): Weaken to a compile test using
65000         LIBC_TRY_CC_OPTION.
65001         * configure: Regenerated.
65003 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65009         Refreshed.
65010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65016         Refreshed.
65018 2012-05-27  David S. Miller  <davem@davemloft.net>
65020         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65021         (___Q_zero): New.
65022         (__Q_simulate_exceptions): Return void.  Change to simulate
65023         exceptions by writing into the %fsr.
65024         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65025         (__Qp_handle_exceptions): Likewise.
65026         (numbers): Delete.
65027         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65028         __Qp_handle_exceptions.
65029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65030         __Qp_handle_exceptions.
65031         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65032         as unused and give dummy FP_RND_NEAREST initializer.
65033         (FP_INHIBIT_RESULTS): Define.
65034         (___Q_simulate_exceptions): Update declaration.
65035         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65036         formatting.
65037         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65038         as unused and give dummy FP_RND_NEAREST initializer.
65039         (__Qp_handle_exceptions): Update declaration.
65040         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65041         formatting.
65043 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65045         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65046         the temporary FPU control word.
65047         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65048         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65049         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65050         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65051         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65052         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65053         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65054         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65055         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65056         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65057         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65059 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65061         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65062         fields.
65064 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65066         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65067         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65068         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65069         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65070         Likewise.
65071         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65072         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65073         Likewise.
65075 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65077         * po/h.po: Update from translation team.
65079 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65081         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65083         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65084         handling of denormals.
65085         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65086         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65087         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65088         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65090         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65092         Likewise.
65094 2012-05-26  Marek Polacek  <polacek@redhat.com>
65096         [BZ #14152]
65097         * math/libm-test.inc (fma_test): Don't always expect underflow
65098         exception.
65100 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65102         [BZ #12416]
65103         * elf/tst-execstack.c: Include stackinfo.h.
65104         (do_test): Adjust test case to ensure that pthread_getattr_np
65105         behaviour remains the same after marking stack executable.
65107 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65109         * sysdeps/unix/sysv/linux/kernel-features.h
65110         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65111         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65112         kernel-features.h.
65113         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65114         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65115         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65116         kernel-features.h.
65117         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65118         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65120 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65122         * configure.in: Define the default includes to being none.
65123         * configure: Regenerated.
65125 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65127         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65128         * sysdeps/x86_64/setjmp.S: Likewise.
65129         * sysdeps/i386/bsd-setjmp.S: Likewise.
65130         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65131         * sysdeps/i386/setjmp.S: Likewise.
65132         * sysdeps/i386/__longjmp.S: Likewise.
65133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65134         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65136         * include/stap-probe.h: New file.
65137         * configure.in: Handle --enable-systemtap.
65138         * configure: Regenerated.
65139         * config.h.in (USE_STAP_PROBE): New #undef.
65140         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65141         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65142         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65144 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65146         [BZ #13717]
65147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65148         to 2.4.0 where earlier.
65149         * sysdeps/unix/sysv/linux/configure: Regenerated.
65150         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65151         <kernel-features.h>.
65152         [__ASSUME_32BITUIDS]: Make code unconditional.
65153         [!__ASSUME_32BITUIDS]: Remove conditional code.
65154         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65155         <kernel-features.h>.
65156         [__ASSUME_32BITUIDS]: Make code unconditional.
65157         [!__ASSUME_32BITUIDS]: Remove conditional code.
65158         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65159         [__ASSUME_32BITUIDS]: Make code unconditional.
65160         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65161         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65162         <kernel-features.h>.
65163         [__ASSUME_32BITUIDS]: Make code unconditional.
65164         [!__ASSUME_32BITUIDS]: Remove conditional code.
65165         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65166         <kernel-features.h>.
65167         [__ASSUME_32BITUIDS]: Make code unconditional.
65168         [!__ASSUME_32BITUIDS]: Remove conditional code.
65169         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65170         <kernel-features.h>.
65171         [__ASSUME_32BITUIDS]: Make code unconditional.
65172         [!__ASSUME_32BITUIDS]: Remove conditional code.
65173         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65174         <kernel-features.h>.
65175         [__ASSUME_32BITUIDS]: Make code unconditional.
65176         [!__ASSUME_32BITUIDS]: Remove conditional code.
65177         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65178         <kernel-features.h>.
65179         [__ASSUME_32BITUIDS]: Make code unconditional.
65180         [!__ASSUME_32BITUIDS]: Remove conditional code.
65181         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65182         <kernel-features.h>.
65183         [__ASSUME_32BITUIDS]: Make code unconditional.
65184         [!__ASSUME_32BITUIDS]: Remove conditional code.
65185         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65186         <kernel-features.h>.
65187         [__ASSUME_32BITUIDS]: Make code unconditional.
65188         [!__ASSUME_32BITUIDS]: Remove conditional code.
65189         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65190         <kernel-features.h>.
65191         [__ASSUME_32BITUIDS]: Make code unconditional.
65192         [!__ASSUME_32BITUIDS]: Remove conditional code.
65193         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65194         <kernel-features.h>.
65195         [__ASSUME_32BITUIDS]: Make code unconditional.
65196         [!__ASSUME_32BITUIDS]: Remove conditional code.
65197         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65198         <kernel-features.h>.
65199         [__ASSUME_32BITUIDS]: Make code unconditional.
65200         [!__ASSUME_32BITUIDS]: Remove conditional code.
65201         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65202         <kernel-features.h>.
65203         [__NR_setresgid] (__setresgid): Do not declare.
65204         [__ASSUME_32BITUIDS]: Make code unconditional.
65205         [!__ASSUME_32BITUIDS]: Remove conditional code.
65206         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65207         <kernel-features.h>.
65208         [__NR_setresuid] (__setresuid): Do not declare.
65209         [__ASSUME_32BITUIDS]: Make code unconditional.
65210         [!__ASSUME_32BITUIDS]: Remove conditional code.
65211         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65212         <kernel-features.h>.
65213         [__ASSUME_32BITUIDS]: Make code unconditional.
65214         [!__ASSUME_32BITUIDS]: Remove conditional code.
65215         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65216         <kernel-features.h>.
65217         [__ASSUME_32BITUIDS]: Make code unconditional.
65218         [!__ASSUME_32BITUIDS]: Remove conditional code.
65219         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65220         <kernel-features.h>.
65221         [__ASSUME_32BITUIDS]: Make code unconditional.
65222         [!__ASSUME_32BITUIDS]: Remove conditional code.
65223         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65224         <kernel-features.h>.
65225         [__ASSUME_32BITUIDS]: Make code unconditional.
65226         [!__ASSUME_32BITUIDS]: Remove conditional code.
65227         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65228         <kernel-features.h>.
65229         [__ASSUME_32BITUIDS]: Make code unconditional.
65230         [!__ASSUME_32BITUIDS]: Remove conditional code.
65231         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65232         <kernel-features.h>.
65233         [__ASSUME_32BITUIDS]: Make code unconditional.
65234         [!__ASSUME_32BITUIDS]: Remove conditional code.
65235         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65236         <kernel-features.h>.
65237         [__ASSUME_32BITUIDS]: Make code unconditional.
65238         [!__ASSUME_32BITUIDS]: Remove conditional code.
65239         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65240         <kernel-features.h>.
65241         [__ASSUME_32BITUIDS]: Make code unconditional.
65242         [!__ASSUME_32BITUIDS]: Remove conditional code.
65243         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65244         <kernel-features.h>.
65245         [__ASSUME_32BITUIDS]: Make code unconditional.
65246         [!__ASSUME_32BITUIDS]: Remove conditional code.
65247         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65248         <kernel-features.h>.
65249         [__ASSUME_32BITUIDS]: Make code unconditional.
65250         [!__ASSUME_32BITUIDS]: Remove conditional code.
65251         * sysdeps/unix/sysv/linux/kernel-features.h
65252         (__ASSUME_SETRESUID_SYSCALL): Remove.
65253         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65254         (__ASSUME_32BITUIDS): Likewise.
65255         (__ASSUME_LDT_WORKS): Likewise.
65256         (__ASSUME_O_DIRECTORY): Likewise.
65257         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65258         architecture but not kernel version.
65259         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65260         (__ASSUME_MMAP2_SYSCALL): Likewise.
65261         (__ASSUME_STAT64_SYSCALL): Likewise.
65262         (__ASSUME_IPC64): Likewise.
65263         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65264         <kernel-features.h>.
65265         [__ASSUME_32BITUIDS]: Make code unconditional.
65266         [!__ASSUME_32BITUIDS]: Remove conditional code.
65267         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65268         <kernel-features.h>.
65269         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65270         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65271         132096]: Remove conditional code.
65272         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65273         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65274         <kernel-features.h>.
65275         [__ASSUME_32BITUIDS]: Make code unconditional.
65276         [!__ASSUME_32BITUIDS]: Remove conditional code.
65277         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65278         <kernel-features.h>.
65279         [__ASSUME_32BITUIDS]: Make code unconditional.
65280         [!__ASSUME_32BITUIDS]: Remove conditional code.
65281         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65282         <kernel-features.h>.
65283         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65284         unconditional.
65285         (__setresgid): Do not declare.
65286         [__ASSUME_32BITUIDS]: Make code unconditional.
65287         [!__ASSUME_32BITUIDS]: Remove conditional code.
65288         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65289         <kernel-features.h>.
65290         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65291         unconditional.
65292         (__setresuid): Do not declare.
65293         [__ASSUME_32BITUIDS]: Make code unconditional.
65294         [!__ASSUME_32BITUIDS]: Remove conditional code.
65295         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65296         <kernel-features.h>.
65297         [__ASSUME_32BITUIDS]: Make code unconditional.
65298         [!__ASSUME_32BITUIDS]: Remove conditional code.
65299         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65300         <kernel-features.h>.
65301         [__ASSUME_32BITUIDS]: Make code unconditional.
65302         [!__ASSUME_32BITUIDS]: Remove conditional code.
65304 2012-05-25  Richard Henderson  <rth@twiddle.net>
65306         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65307         dl_hwcap to ifunc resolver.
65308         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65309         elf_ifunc_invoke.
65310         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65311         dl_hwcap to ifunc resolver.
65312         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65314 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65316         [BZ #14153]
65317         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65318         for |x| <= 2**-26, not 2**-57.
65319         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65320         exception.
65322 2012-05-24  Jeff Law  <law@redhat.com>
65324         * stdio-common/Makefile (tests): Add bug25.
65325         * stdio-common/bug25.c: New test.
65327 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65329         [BZ #13576]
65330         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65331         multiple of MALLOC_ALIGNMENT in size.
65332         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65334 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65336         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65337         Require >= 256.
65338         (FILENAME_MAX): Use macro-int-constant.
65339         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65340         (_IOFBF): Use macro-int-constant.
65341         (_IOLBF): Likewise.
65342         (_IONBF): Likewise.
65343         (SEEK_CUR): Likewise.
65344         (SEEK_END): Likewise.
65345         (SEEK_SET): Likewise.
65346         (TMP_MAX): Likewise.
65347         (EOF): Use macro-int-constant.  Require < 0.
65348         (NULL): Use macro-constant.  Require == 0.
65349         (stdin): Require type to be FILE *.
65350         (stdout): Likewise.
65351         (stderr): Likewise.
65352         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65353         macro-int-constant.
65354         (EXIT_SUCCESS): Likewise.
65355         (NULL): Use macro-constant.  Require == 0.
65356         (RAND_MAX): Use macro-int-constant.
65357         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65358         [C99-based standards] (strtof): Require function.
65359         [C99-based standards] (strtold): Likewise.
65360         [C99-based standards] (strtoll): Likewise.
65361         [C99-based standards] (strtoull): Likewise.
65362         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65363         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65364         [ISO || ISO99 || ISO11] (math.h): Likewise.
65365         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65366         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65369 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65371         [BZ #14132]
65372         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65373         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65374         * intl/dgettext.c (DCGETTEXT): Likewise.
65375         * intl/gettext.c (DCGETTEXT): Likewise.
65376         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65377         * posix/regex_internal.h (gettext): Likewise.
65378         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65379         Remove declaration.
65380         * include/argz.h (__argz_count_internal)
65381         (__argz_stringify_internal): Remove declaration.
65382         (__argz_count, __argz_stringify): Declare hidden proto.
65383         * intl/dcgettext.c: Remove use of INTDEF.
65384         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65385         * string/argz-stringify.c: Likewise.
65386         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65387         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65388         Declare hidden proto.
65389         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65390         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65391         Declare hidden proto.
65392         * include/stdio.h (__asprintf_internal): Don't declare.
65393         (__asprintf): Don't define as macro.  Declare hidden proto.
65394         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65395         (__fsetlocking): Declare hidden proto.
65396         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65397         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65398         hidden proto.
65399         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65400         (_IO_setlinebuf): Remove use of INTUSE.
65401         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65402         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65403         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65404         Remove declaration.
65405         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65406         (_IO_do_flush): Remove use of INTUSE.
65407         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65408         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65409         (_IO_adjust_column, _IO_least_wmarker)
65410         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65411         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65412         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65413         (_IO_default_doallocate, _IO_wdefault_doallocate)
65414         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65415         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65416         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65417         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65418         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65419         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65420         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65421         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65422         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65423         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65424         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65425         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65426         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65427         proto.
65428         (_IO_flush_all_internal, _IO_adjust_column_internal)
65429         (_IO_default_uflow_internal, _IO_default_finish_internal)
65430         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65431         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65432         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65433         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65434         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65435         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65436         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65437         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65438         (_IO_file_close_internal, _IO_file_close_it_internal)
65439         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65440         (_IO_file_init_internal, _IO_file_attach_internal)
65441         (_IO_file_fopen_internal, _IO_file_read_internal)
65442         (_IO_file_sync_internal, _IO_file_seek_internal)
65443         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65444         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65445         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65446         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65447         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65448         (_IO_list_all_internal, _IO_link_in_internal)
65449         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65450         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65451         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65452         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65453         (_IO_do_write_internal, _IO_padn_internal)
65454         (_IO_getline_info_internal, _IO_getline_internal)
65455         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65456         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65457         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65458         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65459         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65460         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65461         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65462         with libc_hidden_ver, remove use of INTUSE.
65463         * libio/genops.c: Likewise.
65464         * libio/freopen.c: Likewise.
65465         * libio/freopen64.c: Likewise.
65466         * libio/iofclose.c: Likewise.
65467         * libio/iofdopen.c: Likewise.
65468         * libio/iofflush.c: Likewise.
65469         * libio/iofflush_u.c: Likewise.
65470         * libio/iofgets.c: Likewise.
65471         * libio/iofgets_u.c: Likewise.
65472         * libio/iofopen.c: Likewise.
65473         * libio/iofopncook.c: Likewise.
65474         * libio/iofread.c: Likewise.
65475         * libio/iofread_u.c: Likewise.
65476         * libio/ioftell.c: Likewise.
65477         * libio/iofwrite.c: Likewise.
65478         * libio/iogetline.c: Likewise.
65479         * libio/iogets.c: Likewise.
65480         * libio/iogetwline.c: Likewise.
65481         * libio/iopadn.c: Likewise.
65482         * libio/iopopen.c: Likewise.
65483         * libio/ioseekoff.c: Likewise.
65484         * libio/ioseekpos.c: Likewise.
65485         * libio/iosetbuffer.c: Likewise.
65486         * libio/iosetvbuf.c: Likewise.
65487         * libio/ioungetc.c: Likewise.
65488         * libio/ioungetwc.c: Likewise.
65489         * libio/iovdprintf.c: Likewise.
65490         * libio/iovsprintf.c: Likewise.
65491         * libio/iovsscanf.c: Likewise.
65492         * libio/memstream.c: Likewise.
65493         * libio/obprintf.c: Likewise.
65494         * libio/oldfileops.c: Likewise.
65495         * libio/oldiofclose.c: Likewise.
65496         * libio/oldiofdopen.c: Likewise.
65497         * libio/oldiofopen.c: Likewise.
65498         * libio/oldiopopen.c: Likewise.
65499         * libio/oldstdfiles.c: Likewise.
65500         * libio/putc.c: Likewise.
65501         * libio/setbuf.c: Likewise.
65502         * libio/setlinebuf.c: Likewise.
65503         * libio/stdfiles.c: Likewise.
65504         * libio/strops.c: Likewise.
65505         * libio/vasprintf.c: Likewise.
65506         * libio/vscanf.c: Likewise.
65507         * libio/vsnprintf.c: Likewise.
65508         * libio/vswprintf.c: Likewise.
65509         * libio/wfiledoalloc.c: Likewise.
65510         * libio/wfileops.c: Likewise.
65511         * libio/wgenops.c: Likewise.
65512         * libio/wmemstream.c: Likewise.
65513         * libio/wstrops.c: Likewise.
65514         * libio/__fpurge.c: Likewise.
65515         * libio/__fsetlocking.c: Likewise.
65516         * assert/assert.c: Likewise.
65517         * debug/fgets_chk.c: Likewise.
65518         * debug/fgets_u_chk.c: Likewise.
65519         * debug/fread_chk.c: Likewise.
65520         * debug/fread_u_chk.c: Likewise.
65521         * debug/gets_chk.c: Likewise.
65522         * debug/obprintf_chk.c: Likewise.
65523         * debug/vasprintf_chk.c: Likewise.
65524         * debug/vdprintf_chk.c: Likewise.
65525         * debug/vsnprintf_chk.c: Likewise.
65526         * debug/vsprintf_chk.c: Likewise.
65527         * malloc/mtrace.c: Likewise.
65528         * misc/error.c: Likewise.
65529         * misc/syslog.c: Likewise.
65530         * stdio-common/asprintf.c: Likewise.
65531         * stdio-common/fxprintf.c: Likewise.
65532         * stdio-common/getw.c: Likewise.
65533         * stdio-common/isoc99_fscanf.c: Likewise.
65534         * stdio-common/isoc99_scanf.c: Likewise.
65535         * stdio-common/isoc99_vfscanf.c: Likewise.
65536         * stdio-common/isoc99_vscanf.c: Likewise.
65537         * stdio-common/isoc99_vsscanf.c: Likewise.
65538         * stdio-common/printf-prs.c: Likewise.
65539         * stdio-common/printf_fp.c: Likewise.
65540         * stdio-common/printf_fphex.c: Likewise.
65541         * stdio-common/printf_size.c: Likewise.
65542         * stdio-common/putw.c: Likewise.
65543         * stdio-common/scanf.c: Likewise.
65544         * stdio-common/sprintf.c: Likewise.
65545         * stdio-common/tmpfile.c: Likewise.
65546         * stdio-common/vfprintf.c: Likewise.
65547         * stdio-common/vfscanf.c: Likewise.
65548         * stdlib/strfmon_l.c: Likewise.
65549         * sunrpc/openchild.c: Likewise.
65550         * sunrpc/xdr_stdio.c: Likewise.
65551         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65552         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65554 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65556         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65558         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65559         in the third column, to generate for the shared library an IFUNC
65560         that uses _dl_vdso_vsym.
65561         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65562         * Makeconfig (object-suffixes-noshared): New variable.
65564         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65565         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65566         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65567         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65569         [BZ #14132]
65570         * include/sys/time.h (__gettimeofday): Remove macro.
65571         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65572         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65573         Remove INTDEF.
65574         (__gettimeofday): Add libc_hidden_def.
65575         (gettimeofday): Add libc_hidden_weak.
65576         * sysdeps/mach/gettimeofday.c: Likewise.
65577         * sysdeps/posix/gettimeofday.c: Likewise.
65578         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65579         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65580         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65581         (__gettimeofday_internal): Remove strong_alias.
65582         (__gettimeofday): Add libc_hidden_def.
65583         (gettimeofday): Add libc_hidden_weak.
65584         * sysdeps/unix/syscalls.list (gettimeofday):
65585         Remove __gettimeofday_internal alias.
65587 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65588             H.J. Lu  <hongjiu.lu@intel.com>
65590         [BZ #12495]
65591         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65592         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65593         (largebin_index_32_big): New.
65594         (largebin_index): Use it for 16-byte alignment.
65595         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65596         correction with front_misalign.
65598 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65602         Likewise.
65603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65604         Likewise.
65605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65606         Likewise.
65607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65608         Likewise.
65609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65610         Likewise.
65611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65612         Likewise.
65613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65614         Likewise.
65615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65616         Likewise.
65617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65618         Likewise.
65619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65620         Likewise.
65621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65622         Likewise.
65623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65624         Likewise.
65626         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65627         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65629 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65631         [BZ #10846]
65632         [BZ #14036]
65633         * math/libm-test.inc (exp_test): Add test from bug 14036.
65634         (pow_test): Add test from bug 10846.
65636         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65637         and other flags.
65638         (special_function): Do not include flags in test name.
65639         (parse_args): Likewise.
65640         * sysdeps/i386/fpu/libm-test-ulps: Update.
65641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65642         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65643         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65646         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65647         exceptions.
65648         * math/libm-test.inc ("Philosophy"): Update comment about
65649         exception testing.
65650         (UNDERFLOW_EXCEPTION): New macro.
65651         (UNDERFLOW_EXCEPTION_OK): Likewise.
65652         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65653         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65654         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65655         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65656         (INVALID_EXCEPTION_OK): Update value.
65657         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65658         (OVERFLOW_EXCEPTION_OK): Likewise.
65659         (IGNORE_ZERO_INF_SIGN): Likewise.
65660         (test_exceptions): Handle underflow exceptions.
65661         (acos_test): Update for underflow exception expectations.
65662         (cexp_test): Likewise.
65663         (clog_test): Likewise.
65664         (clog10_test): Likewise.
65665         (csqrt_test): Likewise.
65666         (ctan_test): Likewise.
65667         (ctanh_test): Likewise.
65668         (exp_test): Likewise.
65669         (exp10_test): Likewise.
65670         (exp2_test): Likewise.
65671         (expm1_test): Likewise.
65672         (fma_test): Likewise.
65673         (j0_test): Likewise.
65674         (jn_test): Likewise.
65675         (nexttoward_test): Likewise.
65676         (pow_test): Likewise.
65677         (scalbn_test): Likewise.
65678         (scalbln_test): Likewise.
65679         (tan_test): Likewise.
65680         (y1_test): Likewise.
65681         * sysdeps/i386/fpu/libm-test-ulps: Update.
65682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65684 2012-05-23  David S. Miller  <davem@davemloft.net>
65686         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65687         (__libc_sigaction): Remove unused local variables.
65689 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65691         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65693 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65695         mktime: avoid signed integer overflow
65696         * time/mktime.c (__mktime_internal): Do not mishandle the case
65697         where diff == INT_MIN.
65699         mktime: simplify computation of average
65700         * time/mktime.c (ranged_convert): Use new time_t_avg function
65701         instead of rolling our own (probably-slower) code.
65703         mktime: do not assume signed right shift propagates sign bit
65704         * time/mktime.c (isdst_differ): New static function.
65705         (__mktime_internal): No need to normalize tm_isdst now.
65706         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65707         tm_isdst values.
65709         mktime: merge another wrapv change from gnulib
65710         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65711         from some compilers.
65713         mktime: remove incorrect attempt at unusual arithmetics
65714         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65715         The code didn't really work on such machines anyway.
65716         (TYPE_MINIMUM): Assume two's complement.
65717         (twos_complement_arithmetic): Verify that long_int and time_t
65718         are two's complement (or unsigned, in the latter case).
65720         mktime: check signed shifts on long_int and time_t, too
65721         * time/mktime.c (SHR): Check that shifts work as desired
65722         on the types long_int and time_t too, as SHR is used on
65723         such types.
65725         mktime: do not assume 'long' is wide enough
65726         * time/mktime.c (verify): Move decl up.
65727         (long_int): New type.
65728         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65729         to remove assumption in the code that 'long' is wide enough to
65730         store year values.  This assumption is not true on x32 and on
65731         some non-glibc platforms.
65733         mktime: merge wrapv change from gnulib
65734         * time/mktime.c (WRAPV): New macro.
65735         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65736         (guess_time_tm, __mktime_internal): Do not assume that signed
65737         integer overflow wraps around; modern compilers generate code
65738         where this assumption is no longer valid.
65740 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65742         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65743         Replace "jmp L(pseudo_end)" with "ret".
65744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65745         Likewise.
65747 2012-05-23  Andreas Jaeger  <aj@suse.de>
65749         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65750         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65752 2012-05-23  Andreas Jaeger  <aj@suse.de>
65753             Maximilian Attems  <max@stro.at>
65755         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65756         New macros.
65758 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65760         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65761         code so that pseudo_end is just ret and the stack pointer is
65762         correct also for static library in error case.
65764 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65766         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65767         move to syscalls.list.
65768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65773         * manual/install.texi (Running make install): Do not mention Linux
65774         kernel version for which pt_chown is not needed.
65775         (Linux): Do not mention problems with nscd with 2.0 kernels.
65776         * INSTALL: Regenerated.
65778 2012-05-23  Andreas Jaeger  <aj@suse.de>
65780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65781         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65782         macro.
65783         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65784         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65785         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65786         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65787         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65788         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65789         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65790         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65791         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65792         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65793         * sysdeps/unix/sysv/linux/bits/in.h
65794         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65796 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65798         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65799         (PREPARE_VERSION): Just use assert instead, it will be elided
65800         under [NDEBUG] anyway.
65802 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65804         * sysdeps/unix/sysv/linux/Makefile: Include
65805         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65806         (sysdep_routines): Remove sysctl.
65807         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65808         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65809         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65810         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65811         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65813 2012-05-22  Andreas Jaeger  <aj@suse.de>
65815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65816         that pseudo_end is just ret and the stack pointer is correct also
65817         for static library in error case.
65819 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65821         [BZ #14122]
65822         * nss/nsswitch.c (defconfig_entries): New variable.
65823         (__nss_database_lookup): Don't leak defconfig entries.
65824         (nss_parse_service_list): Don't leak on error paths.
65825         (free_database_entries): New function.
65826         (free_defconfig): New function.
65827         (free_mem): Move common code to free_database_entries.
65829 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65831         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65832         Add arch_prctl.
65833         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65835         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65836         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65838         New macro.
65839         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65840         (INTERNAL_SYSCALL_TYPES): Likewise.
65841         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65842         (LOAD_REGS_TYPES_[1-6]): Likewise.
65843         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65844         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65846 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65848         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65849         copysignl for GLIBC_2_0.
65850         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65851         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65853         logbl for GLIBC_2_0.
65854         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65855         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65857 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65859         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65860         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65862         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65863         Use "neg %eax".
65865         * time/mktime.c: Update copyright years.
65867 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65869         mktime: merge comment-quoting-style change from gnulib
65870         * time/mktime.c: Quote 'like this' in comments.
65871         The GNU coding standards suggest that we no longer quote `like this',
65872         as "`" and "'" are typically rendered asymmetrically nowadays.
65873         The typical gnulib style is to quote 'like this' when quoting
65874         code, and "like this" when quoting English.
65876         * time/mktime.c (compile-command): Add "-I.".
65878         mktime: merge mktime-internal.h change from gnulib
65879         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65881         mktime: merge time_r change from gnulib
65882         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65884         mktime: merge DEBUG change from gnulib
65885         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65886         case system <time.h> has a #define.
65888         mktime: merge <sys/types.h> change from gnulib
65889         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65890         since <time.t> is now guaranteed to define time_t.
65892         mktime: merge HAVE_CONFIG_H change from gnulib
65893         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65895 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65898         Use "neg %eax".
65900         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65901         __rlim_t cast.
65902         (struct rusage): Use anonymous union to pad each field to
65903         __syscall_slong_t.
65905 2012-05-21  David S. Miller  <davem@davemloft.net>
65907         * Makefules (o-iterator): Remove .s cases.
65908         (compile-command.s): Delete.
65909         (COMPILE.s): Delete.
65910         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65912 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65914         * configure.in (libc_cv_predef_stack_protector): Only consider
65915         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65916         * configure: Regenerated.
65918 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65921         New macro.  Use R*LP on int and pointer.
65922         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65923         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65924         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65925         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65927         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65928         [__WORDSIZE_TIME64_COMPAT32] instead of
65929         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65930         (struct utmp): Likewise.
65931         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65932         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65933         Renamed to ...
65934         (__WORDSIZE_TIME64_COMPAT32): This.
65935         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65936         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65937         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65938         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65939         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65940         (__WORDSIZE_TIME64_COMPAT32): New macro.
65942 2012-05-21  Andreas Jaeger  <aj@suse.de>
65944         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65945         only if [SHARED]. Add prototype for __wcschr_ia32.
65947 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65949         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65950         of %rbp unmolested in the jmp_buf while mangling the low bits.
65951         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65952         unmolested high bits of %rbp while demangling the low bits.
65953         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65955 2012-05-21  Andreas Jaeger  <aj@suse.de>
65957         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65958         * sunrpc/svc_simple.c: Use it for registerrpc.
65959         * sunrpc/xcrypt.c: Use it for passwd2des.
65961         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65963 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65965         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65966         Don't define if [__SYSCALL_WORDSIZE != 32].
65967         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65968         New macro.
65970 2012-05-21  Bruno Haible  <bruno@clisp.org>
65971             Andreas Jaeger  <aj@suse.de>
65973         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65974         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65975         inptr and inend for must_buffer_ch.
65976         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65977         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65978         * stdio-common/Makefile (tests): Remove bug15.
65979         (bug15-ENV): Remove macro.
65980         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65981         anymore.
65983 2012-05-19  Andreas Jaeger  <aj@suse.de>
65984             Roland McGrath  <roland@hack.frob.com>
65986         * manual/contrib.texi: Completely rewritten. It contains now an
65987         alphabetical list of contributors and their contributions.
65989 2012-05-21  Richard Henderson  <rth@twiddle.net>
65991         * misc/getauxval.c (__getauxval): Use unsigned long int.
65992         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65993         (getauxval): Use unsigned long int.
65995 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65997         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65999 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66001         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66002         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66003         __alignof__ (long double).
66005 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66009 2012-05-20  Richard Henderson  <rth@twiddle.net>
66011         * misc/getauxval.c: New file.
66012         * misc/sys/auxv.h: New file.
66013         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66014         (routines): Add getauxval.
66015         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66016         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66017         * elf/dl-sysdep.c (_dl_auxv): Remove.
66018         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66019         * elf/dl-support.c (_dl_auxv): New variable.
66020         (_dl_aux_init): Initialize it.
66021         * manual/startup.texi (Auxiliary Vector): New node.
66022         * sysdeps/generic/bits/hwcap.h: New file.
66023         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66024         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66025         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66026         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66027         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66028         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66030         Update.
66031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66040 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66044 2012-05-19  David S. Miller  <davem@davemloft.net>
66046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66048 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66050         [BZ #14123]
66051         * math/s_ccosh.c: Include <float.h>
66052         (__ccosh): Avoid internal overflow calculating sinh and cosh
66053         values before multiplying by sin and cos values.
66054         * math/s_ccoshf.c: Likewise.
66055         * math/s_ccoshl.c: Likewise.
66056         * math/s_csin.c: Likewise.
66057         * math/s_csinf.c: Likewise.
66058         * math/s_csinl.c: Likewise.
66059         * math/s_csinh.c: Likewise.
66060         * math/s_csinhf.c: Likewise.
66061         * math/s_csinhl.c: Likewise.
66062         * math/libm-test.inc (ccos_test): Add more tests.
66063         (ccosh_test): Likewise.
66064         (csin_test): Likewise.
66065         (csinh_test): Likewise.
66066         * sysdeps/i386/fpu/libm-test-ulps: Update.
66067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66069 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66071         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66072         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66074         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66076 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66078         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66079         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66080         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66081         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66082         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66083         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66084         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66085         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66086         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66087         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66088         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66089         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66090         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66091         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66092         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66093         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66094         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66095         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66096         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66097         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66098         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66099         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66100         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66101         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66102         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66103         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66104         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66105         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66106         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66107         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66108         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66110 2012-05-18  Andreas Jaeger  <aj@suse.de>
66112         * csu/.gitignore: Delete.
66114 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66116         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66117         (timex): Use __syscall_slong_t.
66119 2012-05-18  Andreas Jaeger  <aj@suse.de>
66120             Carlos O'Donell  <carlos_odonell@mentor.com>
66122         * manual/install.texi (Configuring and compiling): Update
66123         description about files modified in the source directory.
66124         * INSTALL: Regenerated.
66126 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66128         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66129         value.  Use "or" to set return value to -1.
66130         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66131         negate return value.
66133 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66135         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66136         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66137         failure if the compiler has Graphite support disabled.
66138         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66139         Likewise.
66140         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66141         (CFLAGS-memmove.c): Likewise.
66142         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66143         Likewise.
66145 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66147         * sysdeps/x86_64/x32/_itoa.h: New file.
66149         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66150         getdents system call only if kernel and user dirents have the
66151         same d_ino and d_off.
66153         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66154         LLONG_MAX != LONG_MAX.
66155         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66156         (_fitoa_word): Likewise.
66158         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66159         years.
66160         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66161         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66162         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66164         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66165         include <bits/wordsize.h>.  Check __x86_64__ instead of
66166         __WORDSIZE.
66167         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66168         if __x86_64__ is defined.  Use anonymous union on fpstate.
66170         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66171         anonymous union.
66173 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66175         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66176         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66177         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66178         Refer to _rtld_local_ro instead of _rtld_global_ro.
66179         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66180         Likewise.
66181         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66182         Likewise.
66183         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66184         Likewise.
66185         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66186         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66187         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66189         [BZ #10882]
66190         * sysdeps/powerpc/powerpc32/dl-machine.c
66191         (__elf_machine_runtime_setup) [PROF]: Don't reference
66192         _dl_prof_resolve.
66194 2012-05-18  Andreas Jaeger  <aj@suse.de>
66196         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66197         function only available for GCCs before 3.4 since GCC 3.4
66198         introduced a builtin.
66199         (lrint): Likewise.
66200         (llrintf): Likewise.
66201         (llrint): Likewise.
66202         (fmaxf): Likewise.
66203         (fmax): Likewise.
66204         (fminf): Likewise.
66205         (fmin): Likewise.
66206         (rint): Likewise.
66207         (rintf): Likewise.
66208         (nearbyint): Likewise.
66209         (nearbyintf): Likewise.
66210         (ceil): Likewise.
66211         (ceilf): Likewise.
66212         (floor): Likewise.
66213         (floorf): Likewise.
66215 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66217         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66218         on both fields and cast pointer to __syscall_ulong_t.
66220         * bits/types.h (__fsword_t): New type.
66221         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66222         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66223         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66224         (__FSWORD_T_TYPE): Likewise.
66225         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66226         (__FSWORD_T_TYPE): Likewise.
66227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66228         (__FSWORD_T_TYPE): Likewise.
66229         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66230         (__FSWORD_T_TYPE): Likewise.
66231         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66232         __SWORD_TYPE with __fsword_t.
66233         (statfs64): Likewise.
66235 2012-05-17  David S. Miller  <davem@davemloft.net>
66237         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66239 2012-05-17  Andreas Jaeger  <aj@suse.de>
66241         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66242         warning.
66244 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66246         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66248 2012-05-17  Andreas Jaeger  <aj@suse.de>
66250         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66251         when it is used.
66253 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66255         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66257 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66259         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66260         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66262 2012-05-17  Andreas Jaeger  <aj@suse.de>
66263             Carlos O'Donell  <carlos_odonell@mentor.com>
66265         [BZ #14059]
66266         * sysdeps/x86_64/multiarch/init-arch.h
66267         (bit_YMM_Usable): Rename to...
66268         (bit_AVX_Usable): ... this.
66269         (bit_FMA4_Usable): New macro.
66270         (bit_XMM_state): New macro.
66271         (bit_YMM_state): New macro.
66272         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66273         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66274         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66275         (CPUID_OSXSAVE): New macro.
66276         (CPUID_AVX): New macro.
66277         (CPUID_FMA4): New macro.
66278         (index_YMM_Usable): Rename to...
66279         (index_AVX_Usable): ... this.
66280         (HAS_AVX): Use HAS_ARCH_FEATURE.
66281         (HAS_FMA4): Likewise.
66282         (HAS_YMM_USABLE): Remove.
66283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66284         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66285         are present.
66286         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66287         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66288         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66289         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66290         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66292 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66294         * math/libm-test.c: Support platforms without multiple rounding modes.
66295         * math/bug-nextafter.c: Support platforms without FP exceptions.
66296         * math/bug-nexttoward.c: Likewise.
66297         * math/test-fenv.c: Likewise.
66298         * math/test-misc.c: Likewise.
66299         * stdlib/bug-getcontext.c: Likewise.
66301 2012-05-17  Andreas Jaeger  <aj@suse.de>
66303         * manual/examples/search.c (critter_cmp): Change signature to
66304         avoid warnings.
66305         * manual/string.texi (Collation Functions): Likewise.
66307 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66309         * bits/types.h: Fold copyright years.
66310         * bits/typesizes.h: Likewise.
66311         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66312         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66315         * time/time.h: Likewise.
66317 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66319         [BZ #208]
66320         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66321         in instead of returning them.  Return void.
66322         (__libc_mallinfo): Accumulate over all arenas.
66323         (__malloc_stats): Adjust for change in int_mallinfo interface.
66325 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66327         [BZ #10375]
66328         * configure.in (NM): Add AC_CHECK_TOOL for it.
66329         (libc_extra_cflags): New substituted variable.
66330         Check for -fstack-protector being used implicitly.
66331         * configure: Regenerated.
66332         * config.make.in (config-extra-cflags): New variable,
66333         gets @libc_extra_cflags@.
66334         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66336         [BZ #10375]
66337         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66338         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66339         * configure: Regenerated.
66340         * config.make.in (CPPUNDEFS): New substituted variable.
66341         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66342         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66343         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66347         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66348         (mq_attr): Use __syscall_slong_t.
66350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66352         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66353         Check __x86_64__ instead of __WORDSIZE.
66354         (_STAT_VER_LINUX): Likewise.
66355         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66356         __syscall_ulong_t and __syscall_slong_t.
66357         (stat64): Likewise.
66359 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66361         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66365         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66367 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66369         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66370         __syscall_ulong_t.
66372         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66373         include <bits/wordsize.h>.  Check __x86_64__ instead of
66374         __WORDSIZE.
66375         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66376         defined.
66377         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66379         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66380         include <bits/wordsize.h>.  Check __x86_64__ instead of
66381         __WORDSIZE.
66382         (user_regs_struct): Use "__extension__ unsigned long long"
66383         instead of "unsigned long" if __x86_64__ is defined.
66384         (user): Likewise.  Pad after pointer field if __ILP32__ is
66385         defined.
66387 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66389         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66390         versions 5 to 9.
66391         * configure: Regenerated.
66392         * manual/install.texi (texinfo): Increase version requirement to
66393         4.5 or later.
66394         * INSTALL: Regenerated.
66396         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66398 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66400         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66402         * sysdeps/x86_64/x32/ffs.c: New file.
66404         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66405         __syscall_ulong_t.
66406         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66407         defined.  Use __syscall_ulong_t.
66408         (shminfo): Use __syscall_ulong_t.
66409         (shm_info): Likewise.
66411         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66412         __syscall_ulong_t.
66414         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66415         <bits/wordsize.h>.
66416         (msgqnum_t): Use __syscall_ulong_t.
66417         (msglen_t): Likewise.
66418         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66419         __syscall_ulong_t.
66421         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66422         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66424         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66426         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66427         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66429         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66430         __syscall_slong_t.
66432         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66433         include <bits/wordsize.h>.  Check __x86_64__ instead of
66434         __WORDSIZE.
66436         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66437         "unsigned long long int" if __x86_64__ is defined.
66438         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66440         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66441         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66442         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66444         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66445         <stdint.h>.
66446         (GET_PC): Cast to uintptr_t first.
66447         (GET_FRAME): Likewise.
66448         (GET_STACK): Likewise.
66450         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66451         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66452         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66453         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66454         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66455         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66456         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66457         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66458         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66459         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66460         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66461         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66462         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66464         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66465         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66466         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66467         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66468         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66469         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66470         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66472         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66473         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66474         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66475         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66476         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66478         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66480 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66482         * Makerules (+depfiles): Also collect depfiles from .oS in
66483         $(extra-objs).
66484         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66485         .oS, $(libnldbl-routines)).
66487         * Makerules (native-compile-mkdep-flags): Define.
66488         * sunrpc/Makefile (extra-objs): Add $(addprefix
66489         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66490         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66491         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66492         calling $(make-target-directory).
66494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66496         * bits/types.h (__snseconds_t): Removed.
66497         * time/time.h (struct timespec): Replace __snseconds_t with
66498         __syscall_slong_t.
66499         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66500         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66501         Likewise.
66502         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66503         (__SNSECONDS_T_TYPE): Likewise.
66504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66505         (__SNSECONDS_T_TYPE): Likewise.
66506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66507         (__SNSECONDS_T_TYPE): Likewise.
66509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66511         * sysdeps/mach/hurd/bits/typesizes.h
66512         (__SYSCALL_SLONG_TYPE): New macro.
66513         (__SYSCALL_ULONG_TYPE): Likewise.
66515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66517         * bits/types.h (__syscall_slong_t): New type.
66518         (__syscall_ulong_t): Likewise.
66520         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66521         (__SYSCALL_ULONG_TYPE): Likewise.
66522         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66523         (__SYSCALL_SLONG_TYPE): Likewise.
66524         (__SYSCALL_ULONG_TYPE): Likewise.
66525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66526         (__SYSCALL_SLONG_TYPE): Likewise.
66527         (__SYSCALL_ULONG_TYPE): Likewise.
66528         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66529         (__SYSCALL_SLONG_TYPE): Likewise.
66530         (__SYSCALL_ULONG_TYPE): Likewise.
66532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66534         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66535         Add sigaltstack-offsets.sym.
66536         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66537         <sigaltstack-offsets.h>.
66538         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66539         longjmp_msg pointer.
66540         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66541         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66542         signal stack.
66543         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66545 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66547         * elf/stackguard-macros.h: Remove file.
66548         * sysdeps/generic/stackguard-macros.h: New file.
66549         * sysdeps/i386/stackguard-macros.h: Likewise.
66550         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66551         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66552         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66553         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66554         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66555         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66556         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66557         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66558         <elf/stackguard-macros.h>.
66560         [BZ #14109]
66561         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66562         __aligned__ in attribute.
66563         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66564         (gregset_t): Likewise.
66566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66568         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66569         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66570         * sysdeps/x86_64/x32/Implies-after: New file.
66572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66574         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66575         and access return value for _dl_profile_fixup.  Use R10_LP to
66576         load frame size.
66578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66580         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66584         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66585         * sysdeps/x86_64/x32/sysdep.h: New file.
66587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66589         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66590         * sysdeps/x86_64/setjmp.S: Likewise.
66592 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66594         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66595         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66596         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66597         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66598         remove unused global constant.
66600 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66602         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66603         include of <not-cancel.h>.
66605 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66607         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66609 2012-05-15  Jeff Law  <law@redhat.com>
66610             Andreas Jaeger  <aj@suse.de>
66612         [BZ #13594]
66613         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66614         out from...
66615         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66616         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66617         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66618         code changing __hst_map_handle.map.
66620 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66622         * configure.in (sysnames): Look for Implies-before and Implies-after
66623         files.
66624         * configure: Regenerated.
66626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66628         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66629         8-byte data alignment with LP_SIZE alignment.
66631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66633         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66634         into R10_LP.
66636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66638         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66642         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66643         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66644         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66645         Likewise.
66646         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66650         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66651         (stackinfo_sub_sp): Likewise.
66653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66655         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66656         RAX_LP.
66658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66660         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66661         into R*_LP.
66663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66665         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66666         sizes into R*_LP.
66668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66670         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66674         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66675         into R11_LP and load __x86_64_shared_cache_size_half into
66676         R8_LP.
66678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66680         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66681         R8_LP.
66683 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66685         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66686         logb for POWER7.
66687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66688         logbf for POWER7.
66689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66690         logbl for POWER7.
66691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66692         powerpc32/power7/fpu/s_logb.c via #include.
66693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66694         powerpc32/power7/fpu/s_logbf.c via #include.
66695         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66696         powerpc32/power7/fpu/s_logbl.c via #include.
66698 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66700         * README.libm: Remove file.
66702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66704         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66705         count for x32.  Use R*_LP and omit operand-size suffix.
66707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66709         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66710         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66711         * sysdeps/x86_64/x32/shlib-versions: New file.
66713 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66715         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66716         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66717         Use _dl_fatal_printf instead.
66719 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66721         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66722         set if not set by the user.  Do not allow for being unset.
66723         * sysdeps/unix/sysv/linux/configure: Regenerated.
66725 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66727         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66728         the `q' suffix from lea and replace .quad with ASM_ADDR.
66730 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66733         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66734         instead of $17.
66735         (PTR_DEMANGLE): Likewise.
66737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66739         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66740         (LP_OP): Likewise.
66741         (ASM_ADDR): Likewise.
66742         (RAX_LP): Likewise.
66743         (RBP_LP): Likewise.
66744         (RBX_LP): Likewise.
66745         (RCX_LP): Likewise.
66746         (RDI_LP): Likewise.
66747         (RSI_LP): Likewise.
66748         (RSP_LP): Likewise.
66749         (R8_LP): Likewise.
66750         (R9_LP): Likewise.
66751         (R10_LP): Likewise.
66752         (R10_LP): Likewise.
66753         (R11_LP): Likewise.
66754         (R12_LP): Likewise.
66755         (R13_LP): Likewise.
66756         (R14_LP): Likewise.
66757         (R15_LP): Likewise.
66759 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66761         * sysdeps/x86_64/x32/dl-machine.h: New file.
66763 2012-05-14  Andreas Jaeger  <aj@suse.de>
66765         * manual/Makefile (subdir): Remove export of subdir.
66766         (all): Remove target.
66767         (.PHONY): Remove all from list.
66768         (mkinstalldirs): Remove.
66769         (.PHONY): Remove installdirs from list.
66770         ($(inst_infodir)/libc.info): Use make-target-directory.
66771         (installdirs): Remove.
66772         (subdir_%): Remove.
66773         (glibc-targets): Remove.
66774         (lib): Remove.
66775         (stubs): Remove.
66776         ($(objpfx)stubs ../po/manual.pot): Remove.
66777         ($(objpfx)stamp%): Remove.
66778         (make-target-directory): Remove.
66779         (subdir_install): Remove.
66780         (routines): Remove.
66781         (aux): Remove.
66782         (sources): Remove.
66783         (objects): Remove.
66784         (headers): Remove.
66786         [BZ #13750]
66787         * manual/.gitignore: Remove, it's not needed anymore.
66788         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66789         all files in it.
66790         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66791         directory.
66792         (texis): Renamed to $(objpfx)texis.
66793         (texis-path): New, contains path to generated files.
66794         (chapters.%): Use texis-path for complete path, add extra argument
66795         libc-texinfo.sh.
66796         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66797         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66798         (summary,texi, stamp-summary): Use complete path of
66799         files. Generate files in build dir.
66800         (dir-add.texi): Build in build dir.
66801         (libm-err.texi,stamp-libm-err): Likewise.
66802         (version.texi, stamp-version): Likewise.
66803         (.%c.texi): Likewise.
66804         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66805         (mostlyclean): Remove target.
66806         (realclean): Remove target.
66807         (generated): Add new variable with contents from mostlyclean and
66808         realclean, remove entries duplicated in common-mostlyclean, add
66809         stamp-libm-err and stamp-version.
66810         (generated-dirs): Add libc directory.
66811         ($(inst_infodir)/libc.info): Install files from build dir.
66813         * manual/install.texi (Configuring and compiling): Adjust since
66814         the info files are not part of the tar ball anymore.
66816 2012-05-14  Andreas Jaeger  <aj@suse.de>
66818         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66819         variable.
66821 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66823         [BZ #13717]
66824         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66825         to 2.2.0 where earlier.
66826         * sysdeps/unix/sysv/linux/configure: Regenerated.
66827         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66828         Remove conditional code.
66829         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66830         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66831         Remove conditional code.
66832         [!__NR_lchown]: Likewise.
66833         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66834         [__NR_lchown]: Likewise.
66835         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66836         comment referencing __ASSUME_LCHOWN_SYSCALL.
66837         * sysdeps/unix/sysv/linux/i386/sigaction.c
66838         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66839         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66840         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66841         Remove conditional code.
66842         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66843         (__protocol_available): Remove #if 0 code.
66844         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66845         conditional code.
66846         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66847         * sysdeps/unix/sysv/linux/kernel-features.h
66848         (__ASSUME_GETCWD_SYSCALL): Don't define.
66849         (__ASSUME_REALTIME_SIGNALS): Likewise.
66850         (__ASSUME_PREAD_SYSCALL): Likewise.
66851         (__ASSUME_PWRITE_SYSCALL): Likewise.
66852         (__ASSUME_POLL_SYSCALL): Likewise.
66853         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66854         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66855         non-SPARC.
66856         (__ASSUME_SIOCGIFNAME): Don't define.
66857         (__ASSUME_MSG_NOSIGNAL): Likewise.
66858         (__ASSUME_SENDFILE): Define unconditionally.
66859         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66860         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66861         conditional code.
66862         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66863         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66864         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66865         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66866         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66867         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66868         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66870         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66873         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66876         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66879         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66882         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66885         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66888         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66889         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66891         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66893         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66894         Remove conditional code.
66895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66896         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66897         Remove conditional code.
66898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66899         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66900         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66901         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66902         Remove conditional code.
66903         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66904         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66905         Remove conditional code.
66906         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66907         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66908         Remove conditional code.
66909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66910         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66911         Remove conditional code.
66912         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66913         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66914         Remove conditional code.
66915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66916         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66917         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66919         * sysdeps/unix/sysv/linux/sigaction.c
66920         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66921         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66922         * sysdeps/unix/sysv/linux/sigpending.c
66923         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66924         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66925         * sysdeps/unix/sysv/linux/sigprocmask.c
66926         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66927         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66928         * sysdeps/unix/sysv/linux/sigsuspend.c
66929         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66930         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66931         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66932         (__libc_missing_rt_sigs): Remove.
66933         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66934         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66935         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66936         Remove conditional code.
66937         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66938         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66939         return 1.
66940         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66941         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66942         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66943         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66945 2012-05-14  Andreas Jaeger  <aj@suse.de>
66947         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66948         it's not used in glibc.
66949         (__coshm1): Likewise.
66950         (__acosh1p): Likewise.
66951         (__sgn): Likewise.
66953         * manual/string.texi (Copying and Concatenation): Add missing
66954         variable in concat example.
66955         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66957 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66959         [BZ #14103]
66960         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66961         __builtin_clzl with __builtin_clzll.
66963 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66965         [BZ #14104]
66966         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66967         libc_freeres_ptr.
66969 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66971         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66972         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66973         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66976 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66978         * NEWS: Update ia64 info.
66980 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66982         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66983         used as bcopy.
66985 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66987         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66988         * sysdeps/unix/syscalls.list (dup3): Likewise.
66989         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66990         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66992 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66994         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66995         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66997 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66999         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67000         thread pointer.
67001         (TLS_IE): Use mov/add instead of movq/addq to load thread
67002         pointer.
67003         (TLS_GD_PREFIX): New.
67004         (TLS_GD): Use it.
67006 2012-05-11  David S. Miller  <davem@davemloft.net>
67008         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67009         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67010         (_FPU_SETCW): Likewise.
67012 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67014         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67015         is 32-byte aligned.
67017 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67019         [BZ #11837]
67020         * iconvdata/gb18030.c: Update tables.
67021         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67022         characters specially.
67023         (BODY for TO_LOOP): Add encoding of missing ranges.
67025 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67027         [BZ #13673]
67028         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67029         * sysdeps/mach/hurd/dup3.c: Likewise.
67030         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67031         * sysdeps/powerpc/memmove.c:: Likewise.
67033 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67036         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67038 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67040         * elf/elf.h (R_X86_64_RELATIVE64): New.
67041         (R_X86_64_NUM): Updated.
67042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67043         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67044         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67045         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67046         tst-quad1pie tst-quad2pie
67047         (modules-names): Add tst-quadmod1 tst-quadmod2.
67048         ($(objpfx)tst-quad1): New dependency.
67049         ($(objpfx)tst-quad2): Likewise.
67050         ($(objpfx)tst-quad1pie): Likewise.
67051         ($(objpfx)tst-quad2pie): Likewise.
67052         * sysdeps/x86_64/tst-quad1.c: New file.
67053         * sysdeps/x86_64/tst-quad1pie.c: New file.
67054         * sysdeps/x86_64/tst-quad2.c: Likewise.
67055         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67056         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67057         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67058         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67059         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67063         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67064         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67065         * streams/stropts.h (t_scalar_t): Define type.
67067         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67068         (_PATH_PRESERVE): Set to "/var/lib".
67069         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67071         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67072         instead of int.
67074         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67075         if __dir_mkfile succeeded.
67077         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67078         checking for _hurd_dtablesize.  Unlock it right after having
67079         finished _hurd_dtable allocation.
67081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67083         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67084         * sysdeps/mach/hurd/configure: Regenerated.
67085         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67086         special-casing to...
67087         * sysdeps/gnu/configure.in: ... this new file.
67088         * sysdeps/unix/sysv/linux/configure: Regenerated.
67089         * sysdeps/gnu/configure: New generated file.
67091         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67092         for Linux: use nsec instead of usec, as well as:
67093         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67094         members of type struct timespec.
67095         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67096         New macros.
67097         (struct stat64): Likewise.
67098         (_STATBUF_ST_NSEC): New macro.
67099         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67101         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67102         __strtoul_internal rather than strtoul.
67104 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67106         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67107         and reject them.
67109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67111         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67112         which preserves existing values.
67113         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67115 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67117         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67118         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67119         greater than FD_SETSIZE.
67121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67123         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67124         allocated, call __vm_protect to finish enabling the existing space, and
67125         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67126         allocate the remainder.
67128 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67130         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67131         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67135         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67136         sysdeps/mach/hurd/readlink.c.
67138         * posix/tst-sysconf.c (posix_options): Only use
67139         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67140         _POSIX_SYNCHRONIZED_IO when they are defined
67141         * sysdeps/mach/hurd/bits/posix_opt.h:
67142         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67143         (_XOPEN_REALTIME): Undefine macro.
67144         (_XOPEN_REALTIME_THREADS): Undefine macro.
67145         (_XOPEN_SHM): Undefine macro.
67146         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67147         macro to -1.
67148         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67149         macro to -1.
67150         (_POSIX_ASYNC_IO): Undefine macro.
67151         (_POSIX_PRIORITIZED_IO): Undefine macro.
67152         (_POSIX_SPIN_LOCKS): Define macro to -1.
67154         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67155         SA_NODEFER, SA_RESETHAND.
67156         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67157         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67158         F_DUPFD_CLOEXEC.
67160 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67162         * elf/Makefile (pldd-modules): Define unconditionally.
67164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67166         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67170         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67171         Return ENOENT when name is empty.
67172         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67174 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67176         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67178         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67182         Fix mlock in all cases except non-readable pages.
67183         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67184         instead of VM_PROT_ALL as parameter to __vm_wire function.
67186         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67187         (__mkdir): When path is `/', just fail with EEXIST.
67188         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67190 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67192         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67193         <sys/uio.h> (for writev).
67194         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67195         and <sys/param.h> (for MIN).
67197 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67199         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67200         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67201         if interrupted.
67203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67205         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67206         Depend on against $(link-rpcuserlibs).
67208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67210         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67211         (__libc_stack_end): Do not use attribute_relro.
67212         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67213         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67214         to libthread-provided value.
67215         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67216         attribute_relro.
67218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67220         [BZ #3748]
67221         * bits/libc-lock.h (__libc_once_get): New macro.
67222         * sysdeps/mach/bits/libc-lock.h: Likewise.
67223         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67224         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67225         instead of using implementation details.
67227         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67228         * libio/freopen.c: Likewise.
67229         * libio/freopen64.c: Likewise.
67230         * misc/syslog.c: Likewise.
67231         * nscd/connections.c: Likewise.
67232         * nscd/netgroupcache.c: Likewise.
67233         * sysdeps/posix/getcwd.c: Likewise.
67235 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67237         * math/w_ilogbf.c: Add #include <limits.h>.
67239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67241         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67242         path instead of returning without unlocking.
67244         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67245         immediate-write ioctls.
67246         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67250         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67251         __builtin_frame_address instead of making assumptions about the
67252         location of the return address relative to DATA.  Force early load of
67253         the return address.
67254         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67255         __builtin_frame_address.
67257         dup3 for GNU Hurd.
67258         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67259         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67260         implement dup3 and do some further code clean-ups.
67261         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67262         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67266         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67268         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67269         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67270         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67271         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67272         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67273         d->port.lock.
67275         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67276         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67277         when handler == SIG_ERR, not when handler != SIG_ERR.
67279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67281         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67282         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67283         definitions.
67285         accept4 for GNU Hurd.
67286         * include/sys/socket.h (__libc_accept4): New prototype.
67287         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67288         to implement __libc_accept4.
67289         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67290         __libc_accept4.
67291         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67293         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67294         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67295         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67296         signal-defines.sym.
67298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67300         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67304         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67305         assertion on O_CLOEXEC flag.
67306         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67307         * hurd/intern-fd.c: Likewise.
67308         * hurd/port2fd.c: Likewise.
67310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67312         [BZ #3906]
67313         * bits/in.h (IPV6_PKTINFO): Define new macro.
67314         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67316 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67318         [BZ #13954]
67319         [BZ #13955]
67320         [BZ #13956]
67321         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67322         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67323         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67324         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67326         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67327         * math/libm-test.inc (logb_test) : Additional logb tests.
67329 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67330             Andreas Jaeger  <aj@suse.de>
67332         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67333         * configure: Regenerated.
67334         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67335         * config.make.in (link-obsolete-rpc): New substituted variable.
67336         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67337         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67338         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67339         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67340         so that libc.a contains the symbols.
67341         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67342         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67343         * sunrpc/auth_none.c: Likewise.
67344         * sunrpc/auth_unix.c: Likewise.
67345         * sunrpc/authdes_prot.c: Likewise.
67346         * sunrpc/authuxprot.c: Likewise.
67347         * sunrpc/clnt_gen.c: Likewise.
67348         * sunrpc/clnt_perr.c: Likewise.
67349         * sunrpc/clnt_raw.c: Likewise.
67350         * sunrpc/clnt_simp.c: Likewise.
67351         * sunrpc/clnt_tcp.c: Likewise.
67352         * sunrpc/clnt_udp.c: Likewise.
67353         * sunrpc/clnt_unix.c: Likewise.
67354         * sunrpc/des_crypt.c: Likewise.
67355         * sunrpc/des_soft.c: Likewise.
67356         * sunrpc/get_myaddr.c: Likewise.
67357         * sunrpc/key_call.c: Likewise.
67358         * sunrpc/key_prot.c: Likewise.
67359         * sunrpc/netname.c: Likewise.
67360         * sunrpc/pm_getmaps.c: Likewise.
67361         * sunrpc/pm_getport.c: Likewise.
67362         * sunrpc/pmap_clnt.c: Likewise.
67363         * sunrpc/pmap_prot.c: Likewise.
67364         * sunrpc/pmap_prot2.c: Likewise.
67365         * sunrpc/pmap_rmt.c: Likewise.
67366         * sunrpc/publickey.c: Likewise.
67367         * sunrpc/rpc_cmsg.c: Likewise.
67368         * sunrpc/rpc_common.c: Likewise.
67369         * sunrpc/rpc_dtable.c: Likewise.
67370         * sunrpc/rpc_prot.c: Likewise.
67371         * sunrpc/rpc_thread.c: Likewise.
67372         * sunrpc/rtime.c: Likewise.
67373         * sunrpc/svc.c: Likewise.
67374         * sunrpc/svc_auth.c: Likewise.
67375         * sunrpc/svc_raw.c: Likewise.
67376         * sunrpc/svc_run.c: Likewise.
67377         * sunrpc/svc_tcp.c: Likewise.
67378         * sunrpc/svc_udp.c: Likewise.
67379         * sunrpc/svc_unix.c: Likewise.
67380         * sunrpc/svcauth_des.c: Likewise.
67381         * sunrpc/xcrypt.c: Likewise.
67382         * sunrpc/xdr.c: Likewise.
67383         * sunrpc/xdr_array.c: Likewise.
67384         * sunrpc/xdr_float.c: Likewise.
67385         * sunrpc/xdr_intXX_t.c: Likewise.
67386         * sunrpc/xdr_mem.c: Likewise.
67387         * sunrpc/xdr_rec.c: Likewise.
67388         * sunrpc/xdr_ref.c: Likewise.
67389         * sunrpc/xdr_sizeof.c: Likewise.
67390         * sunrpc/xdr_stdio.c: Likewise.
67392 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67394         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67395         change.  Update copyright years.
67397 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67399         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67401 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67402             Joseph Myers  <joseph@codesourcery.com>
67403             Paul Pluzhnikov  <ppluzhnikov@google.com>
67405         [BZ #14012]
67406         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67407         requiring rpcgen.
67408         [cross-compiling] (extra-libs): Likewise.
67409         [cross-compiling] (extra-libs-others): Likewise.
67410         [cross-compiling] (librpcsvc-routines): Likewise.
67411         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67412         [cross-compiling] (omit-deps): Likewise.
67413         (sunrpc-CPPFLAGS): New variable.
67414         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67415         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67416         (cross-rpcgen-objs): New variable.
67417         (extra-objs): Append $(cross-rpcgen-objs).
67418         ($(cross-rpcgen-objs)): New rule.
67419         ($(objpfx)cross-rpcgen): Likewise.
67420         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67421         comment.
67422         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67423         ($(objpfx)x%.stmp): Likewise.
67424         * sunrpc/proto.h [IS_IN_build] (_): Define.
67425         [IS_IN_build] (_libc_intl_domainname): Likewise.
67427 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67429         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67430         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67431         and R_X86_64_TPOFF64.
67433 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67435         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67436         sysdeps/unix/sysv/syscalls.list.
67437         (stime): Likewise.
67438         (utime): Likewise.
67439         * sysdeps/unix/sysv/syscalls.list: Remove file.
67441 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67443         [BZ #3440]
67444         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67445         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67446         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67447         (__LC_IDENTIFICATION): Make these macros useful in #if
67448         expressions, as required by C99.
67450 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67452         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67453         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67454         after this.
67456 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67458         * stdlib/longlong.h: Updated from GCC.
67460 2012-05-09  Andreas Jaeger  <aj@suse.de>
67462         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67463         default is first entry.
67464         (run_mode): Set type.
67465         (main): Remove informal message about syslog.
67466         (options): Fix typo.
67468         [BZ #14053]
67469         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67470         to asm.
67471         (lrint): Likewise.
67472         (llrintf): Likewise.
67473         (llrint): Likewise.
67474         (rint): Likewise.
67475         (rintf): Likewise.
67476         (nearbyint): Likewise.
67477         (nearbyintf): Likewise.
67479 2012-05-09  Andreas Jaeger  <aj@suse.de>
67480             Pedro Alves  <palves@redhat.com>
67482         * nscd/nscd.c (run_mode): Use enum.
67483         (main): Cleanup coding style issue.
67485 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67486             Andreas Jaeger  <aj@suse.de>
67488         * nscd/nscd.c (go_background): Replaced with...
67489         (run_mode): ... this.
67490         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67491         (options): Add -F --foreground.
67492         (main): Implement it.
67493         (parse_opt): Parse it.
67495 2012-05-09  Andreas Jaeger  <aj@suse.de>
67497         [BZ #14083]
67498         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67499         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67500         -Wconversion warning.
67501         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67502         Likewise.
67504 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67506         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67507         == 0.
67508         (LC_ALL): Use macro-int-constant.
67509         (LC_COLLATE): Likewise.
67510         (LC_CTYPE): Likewise.
67511         (LC_MESSAGES): Likewise.
67512         (LC_MONETARY): Likewise.
67513         (LC_NUMERIC): Likewise.
67514         (LC_TIME): Likewise.
67515         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67516         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67517         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67518         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67519         Specify type.
67520         [C99-based standards] (float_t): Expect type.
67521         [C99-based standards] (double_t): Expect type.
67522         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67523         type.
67524         [C99-based standards] (HUGE_VALL): Likewise.
67525         [C99-based standards] (INFINITY): Likewise.
67526         [C99-based standards] (NAN): Likewise.
67527         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67528         [C99-based standards] (FP_NAN): Likewise.
67529         [C99-based standards] (FP_NORMAL): Likewise.
67530         [C99-based standards] (FP_SUBNORMAL): Likewise.
67531         [C99-based standards] (FP_ZERO): Likewise.
67532         [C99-based standards] (FP_FAST_FMA): Use
67533         optional-macro-int-constant.  Specify type.  Require == 1.
67534         [C99-based standards] (FP_FAST_FMAF): Likewise.
67535         [C99-based standards] (FP_FAST_FMAL): Likewise.
67536         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67537         [C99-based standards] (FP_ILOGBNAN): Likewise.
67538         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67539         Specify type.
67540         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67541         [C99-based standards] (math_errhandling): Specify type.
67542         [ISO99 || ISO11] (signgam): Do not allow.
67543         [non-C99-based standards] (copysignf): Do not allow.
67544         [non-C99-based standards] (exp2f): Likewise.
67545         [non-C99-based standards] (log2f): Likewise.
67546         [non-C99-based standards] (modff): Allow.
67547         [non-C99-based standards] (erff): Do not allow.
67548         [non-C99-based standards] (erfcf): Likewise.
67549         [non-C99-based standards] (gammaf): Likewise.
67550         [non-C99-based standards] (hypotf): Likewise.
67551         [non-C99-based standards] (j0f): Likewise.
67552         [non-C99-based standards] (j1f): Likewise.
67553         [non-C99-based standards] (jnf): Likewise.
67554         [non-C99-based standards] (lgammaf): Likewise.
67555         [non-C99-based standards] (tgammaf): Likewise.
67556         [non-C99-based standards] (y0f): Likewise.
67557         [non-C99-based standards] (y1f): Likewise.
67558         [non-C99-based standards] (ynf): Likewise.
67559         [non-C99-based standards] (isnanf): Likewise.
67560         [non-C99-based standards] (acoshf): Likewise.
67561         [non-C99-based standards] (asinhf): Likewise.
67562         [non-C99-based standards] (atanhf): Likewise.
67563         [non-C99-based standards] (cbrtf): Likewise.
67564         [non-C99-based standards] (expm1f): Likewise.
67565         [non-C99-based standards] (ilogbf): Likewise.
67566         [non-C99-based standards] (log1pf): Likewise.
67567         [non-C99-based standards] (logbf): Likewise.
67568         [non-C99-based standards] (nextafterf): Likewise.
67569         [non-C99-based standards] (remainderf): Likewise.
67570         [non-C99-based standards] (rintf): Likewise.
67571         [non-C99-based standards] (scalbf): Likewise.
67572         [non-C99-based standards] (copysignl): Likewise.
67573         [non-C99-based standards] (exp2l): Likewise.
67574         [non-C99-based standards] (log2l): Likewise.
67575         [non-C99-based standards] (modfl): Allow.
67576         [non-C99-based standards] (erfl): Do not allow.
67577         [non-C99-based standards] (erfcl): Likewise.
67578         [non-C99-based standards] (gammal): Likewise.
67579         [non-C99-based standards] (hypotl): Likewise.
67580         [non-C99-based standards] (j0l): Likewise.
67581         [non-C99-based standards] (j1l): Likewise.
67582         [non-C99-based standards] (jnl): Likewise.
67583         [non-C99-based standards] (lgammal): Likewise.
67584         [non-C99-based standards] (tgammal): Likewise.
67585         [non-C99-based standards] (y0l): Likewise.
67586         [non-C99-based standards] (y1l): Likewise.
67587         [non-C99-based standards] (ynl): Likewise.
67588         [non-C99-based standards] (isnanl): Likewise.
67589         [non-C99-based standards] (acoshl): Likewise.
67590         [non-C99-based standards] (asinhl): Likewise.
67591         [non-C99-based standards] (atanhl): Likewise.
67592         [non-C99-based standards] (cbrtl): Likewise.
67593         [non-C99-based standards] (expm1l): Likewise.
67594         [non-C99-based standards] (ilogbl): Likewise.
67595         [non-C99-based standards] (log1pl): Likewise.
67596         [non-C99-based standards] (logbl): Likewise.
67597         [non-C99-based standards] (nextafterl): Likewise.
67598         [non-C99-based standards] (remainderl): Likewise.
67599         [non-C99-based standards] (rintl): Likewise.
67600         [non-C99-based standards] (scalbl): Likewise.
67601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67602         [non-C99-based standards] (FP_*): Do not allow.
67603         [C99-based standards] (FP_*): Change to
67604         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67605         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67606         allow.
67607         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67608         (SIG_ERR): Likewise.
67609         [X/Open-based standards] (SIG_HOLD): Likewise.
67610         (SIG_IGN): Likewise.
67611         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67612         positive value.
67613         (SIGFPE): Likewise.
67614         (SIGILL): Likewise.
67615         (SIGINT): Likewise.
67616         (SIGSEGV): Likewise.
67617         (SIGTER): Likewise.
67618         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67619         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67620         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67621         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67622         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67623         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67624         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67625         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67626         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67627         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67628         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67629         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67630         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67631         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67632         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67633         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67634         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67635         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67636         [X/Open-based standards] (SIGTRAP): Likewise.
67637         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67638         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67639         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67640         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67641         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67642         allow.
67644 2012-05-08  Ian Wienand  <ianw@vmware.com>
67646         [BZ #14080]
67647         * time/tzset.c (__tzset_parse_tz): Update default rules for
67648         daylight time changes in the Energy Policy Act of 2005.
67650 2012-05-09  Andreas Jaeger  <aj@suse.de>
67652         [BZ #13983]
67653         * elf/ldconfig.c (parse_conf): Change string to make clear that
67654         ldconfig only issued a warning if ld.so.conf does not exist.
67656 2012-05-08  David S. Miller  <davem@davemloft.net>
67658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67659         movxtod instead of popping the value on the stack.
67661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67663 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67665         * config.h.in: Add HAVE_ARM_PCS_VFP.
67667 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67669         [BZ #13979]
67670         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67671         checking but the checks are disabled for any reason.
67673 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67675         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67676         and ELF64_R_TYPE with ELFW(R_TYPE).
67678 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67680         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67681         (ulimit): Likewise.
67683         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67684         (settimeofday): Likewise.
67686 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67688         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67689         a struct th_u2 inside the union, and move tu_block/tu_code into
67690         a new th_u3 union of tu_block/tu_code inside of that.  Move
67691         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67692         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67693         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67694         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67695         (th_stuff): Change to th_u1.tu_stuff.
67696         (th_data): Define.
67697         (th_msg): Change to th_u1.th_u2.tu_data.
67699 2012-05-07  David S. Miller  <davem@davemloft.net>
67701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67703         [BZ #14074]
67704         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67705         (SETUP_PIC_REG): Use it.
67706         (SETUP_PIC_REG_LEAF): Use it.
67708 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67710         [BZ #13885]
67711         [BZ #13923]
67712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67713         USE_AS_EXPM1L.
67714         (EXPL_FINITE): Likewise.
67715         (FLDLOG): Likewise.
67716         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67717         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67718         e_expl.S.
67719         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67720         USE_AS_EXPM1L.
67721         (EXPL_FINITE): Likewise.
67722         (FLDLOG): Likewise.
67723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67724         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67725         e_expl.S.
67726         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67727         test of -max_value argument for long double.
67728         * sysdeps/i386/fpu/libm-test-ulps: Update.
67729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67731 2012-05-06  David S. Miller  <davem@davemloft.net>
67733         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67734         quad soft-float symbols whose references which are compiler
67735         generated.
67736         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67738 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67740         [BZ #13884]
67741         [BZ #13914]
67742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67743         USE_AS_EXP10L.
67744         (EXPL_FINITE): Likewise.
67745         (FLDLOG): Likewise.
67746         (c0): Likewise.
67747         (c1): Likewise.
67748         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67749         Adjust comments for base varying.
67750         (__expl_finite): Change alias to EXPL_FINITE.
67751         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67752         e_expl.S.
67753         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67754         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67755         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67756         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67758         USE_AS_EXP10L.
67759         (EXPL_FINITE): Likewise.
67760         (FLDLOG): Likewise.
67761         (c0): Likewise.
67762         (c1): Likewise.
67763         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67764         Adjust comments for base varying.
67765         (__expl_finite): Change alias to EXPL_FINITE.
67766         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67767         tests for bugs.
67768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67770         [BZ #14064]
67771         * math/libm-test.inc (check_float_internal): Correct ulp
67772         calculation for subnormal expected results.
67774 2012-05-06  Andreas Jaeger  <aj@suse.de>
67776         * Makeconfig (+math-flags): New, set to -frounding-math.
67777         (+cflags): Add +math-flags so that all of glibc gets compiled with
67778         it.
67780         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67782 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67784         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67785         Disable one test.
67787         [BZ #13787]
67788         [BZ #13922]
67789         [BZ #14036]
67790         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67791         (__ieee754_expl): Allow for and saturate large arguments.
67792         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67793         (u_threshold): Likewise.
67794         (__exp): Call __ieee754_exp before checking for overflow and
67795         underflow.
67796         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67797         (u_threshold): Likewise.
67798         (__expf): Call __ieee754_expf before checking for overflow and
67799         underflow.
67800         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67801         (u_threshold): Likewise.
67802         (__expl): Call __ieee754_expl before checking for overflow and
67803         underflow.
67804         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67805         (__ieee754_expl): Allow for and saturate large arguments.
67806         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67807         missing overflow exception on overflow.
67808         (expm1_test): Do not allow missing overflow exception on overflow.
67810         * sysdeps/i386/fpu/e_expl.c: Move to ...
67811         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67812         rather than using inline asm.
67813         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67814         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67815         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67817         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67818         (nice): Likewise.
67819         (poll): Likewise.
67820         (signal): Likewise.
67821         (time): Likewise.
67822         (times): Likewise.
67824 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67826         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67827         sysdeps/unix/common/syscalls.list.
67828         (fchmod): Likewise.
67829         (fchown): Likewise.
67830         (ftruncate): Likewise.
67831         (getrusage): Likewise.
67832         (gettimeofday): Likewise.
67833         (setpgid): Likewise.
67834         (setregid): Likewise.
67835         (setreuid): Likewise.
67836         (sigaction): Likewise.
67837         (truncate): Likewise.
67838         (vhangup): Likewise.
67839         * sysdeps/unix/common/syscalls.list: Remove file.
67840         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67841         * sysdeps/unix/sysv/linux/Implies: Likewise.
67843 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67845         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67847         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67848         Moved to ...
67849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67850         Here.
67851         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67852         to ...
67853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67854         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67855         to ...
67856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67857         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67858         to ...
67859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67860         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67861         to ...
67862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67863         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67864         to ...
67865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67866         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67867         to ...
67868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67869         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67870         to ...
67871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67872         Here.
67873         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67874         to ...
67875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67876         Here.
67877         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67878         to ...
67879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67880         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67881         Moved to ...
67882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67883         Here.
67884         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67885         to ...
67886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67888 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67890         * sysdeps/unix/common/bits/dirent.h: Remove file.
67891         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67893         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67894         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67895         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67896         * sysdeps/unix/bsd/isatty.c: Likewise.
67897         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67898         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67899         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67901 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67903         [BZ #13563]
67904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67905         long double comparison inaccuracies.
67906         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67909 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67911         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67914 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67916         [BZ #14049]
67917         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67918         nonzero digits before rounding a hex value.
67919         * stdlib/tst-strtod.c (tests): Add another test.
67921 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67923         * sysdeps/s390/fpu/libm-test-ulps: Update.
67925 2012-05-03  Andreas Jaeger  <aj@suse.de>
67927         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67928         does not get optimized out.
67929         (malloc_opt_barrier): New.
67931 2012-05-03  Andreas Jaeger  <aj@suse.de>
67932             Roland McGrath  <roland@hack.frob.com>
67934         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67935         intermediate file deletion.
67936         (generated): Add .symlist files.
67938 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67940         [BZ #13775]
67941         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67942         Redirect under this condition.
67943         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67944         [__USE_GNU] (__dprintf_chk): Not under this condition.
67945         [__USE_GNU] (__vdprintf_chk): Likewise.
67946         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67947         under this condition.
67948         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67949         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67950         [__USE_XOPEN2K8] (vdprintf): Likewise.
67951         [__USE_GNU] (__dprintf_chk): Not under this condition.
67952         [__USE_GNU] (__vdprintf_chk): Likewise.
67953         [__USE_GNU] (dprintf): Likewise.
67954         [__USE_GNU] (vdprintf): Likewise.
67956 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67958         * elf/Makefile (common-generated): Set this instead of generated for
67959         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67960         $(all-built-dso)-derived lists.
67962 2012-05-03  Andreas Jaeger  <aj@suse.de>
67964         * sysdeps/i386/fpu/libm-test-ulps: Update.
67966         * FAQ: Removed.
67967         * FAQ.in: Likewise.
67968         * scripts/gen-FAQ.pl: Likewise.
67969         * manual/install.texi (Installation): Point to online location of
67970         FAQ.
67971         * Makefile (files-for-dist): Remove FAQ.
67972         (FAQ): Remove.
67974 2012-05-02  Allan McRae  <allan@archlinux.org>
67976         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67977         (LDFLAGS-reldepmod5.so): Likewise.
67978         (LDFLAGS-reldep6mod1.so): Likewise.
67979         (LDFLAGS-reldep6mod4.so): Likewise.
67980         (LDFLAGS-reldep8mod3.so): Likewise.
67981         (LDFLAGS-unload4mod1.so): Likewise.
67982         (LDFLAGS-unload4mod2.so): Likewise.
67983         (LDFLAGS-tst-initorder): Likewise.
67984         (LDFLAGS-tst-initordera2.so): Likewise.
67985         (LDFLAGS-tst-initordera3.so): Likewise.
67986         (LDFLAGS-tst-initordera4.so): Likewise.
67987         (LDFLAGS-tst-initorderb2.so): Likewise.
67988         (LDFLAGS-noload): Likewise.
67989         (LDFLAGS-next): Likewise.
67990         (LDFLAGS-order2mod1.so): Likewise.
67991         (LDFLAGS-order2mod2.so): Likewise.
67992         (LDFLAGS-tst-initorder2): Likewise.
67993         (LDFLAGS-tst-initorder2a.so): Likewise.
67994         (LDFLAGS-tst-initorder2b.so): Likewise.
67995         (LDFLAGS-tst-initorder2c.so): Likewise.
67996         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67998 2012-05-02  David S. Miller  <davem@davemloft.net>
68000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68002 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68004         [BZ #14055]
68005         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68007 2012-05-02  Andreas Jaeger  <aj@suse.de>
68009         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68010         since we manipulate rounding mode.
68011         (CPPFLAGS-test-idouble.c): Likewise.
68012         (CPPFLAGS-test-ifloat.c): Likewise.
68013         (CFLAGS-test-ldouble.c): Likewise.
68014         (CFLAGS-test-double.c): Likewise.
68015         (CFLAGS-test-float.c): Likewise.
68016         (CFLAGS-test-misc.c): Likewise.
68017         (CFLAGS-test-test-fenv.c): Likewise.
68019 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68021         [BZ #2550]
68022         [BZ #2570]
68023         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68024         comparisons to determine direction to adjust input.
68026 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68028         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68029         output to the target.
68031         * scripts/localplt.awk: New file.
68032         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68033         (check-localplt-CFLAGS): Variable removed.
68034         ($(all-built-dso:=.jmprel)): New static pattern rule.
68035         (generated): Add those targets.
68036         (localplt-built-dso): New variable.
68037         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68039         * elf/check-localplt.c: File removed.
68041         * scripts/check-execstack.awk: New file.
68042         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68043         (check-execstack-CFLAGS): Variable removed.
68044         ($(objpfx)check-execstack.h): Target removed.
68045         ($(objpfx)execstack-default): New target.
68046         (generated): Add that instead of check-execstack.h.
68047         ($(all-built-dso:=.phdr)): New static pattern rule.
68048         (generated): Add those targets.
68049         * elf/check-execstack.c: File removed.
68051         * scripts/check-textrel.awk: New file.
68052         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68053         (check-textrel-CFLAGS): Variable removed.
68054         (all-built-dso): Use := to define.o
68055         ($(all-built-dso:=.dyn)): New static pattern rule.
68056         (generated): Add those targets.
68057         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68058         * config.make.in (READELF): New substituted variable.
68059         * elf/check-textrel.c: File removed.
68061 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68063         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68064         allow.
68065         * conform/data/ctype.h-data [C99-based standards] (isblank):
68066         Expect function.
68067         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68068         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68069         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68070         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68071         Specify type.  Require positive value.
68072         (EILSEQ): Likewise.
68073         (ERANGE): Likewise.
68074         [ISO || POSIX] (EILSEQ): Do not expect.
68075         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68076         Specify type.  Require positive value.
68077         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68078         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68079         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68080         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68081         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68082         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68083         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68084         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68085         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68086         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68087         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68088         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68089         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68090         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68091         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68092         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68093         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68094         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68095         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68096         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68097         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68098         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68099         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68100         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68101         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68102         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68103         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68104         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68105         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68106         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68107         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68108         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68109         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68110         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68111         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68112         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68113         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68114         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68115         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68116         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68117         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68118         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68119         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68120         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68121         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68122         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68123         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68124         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68125         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68126         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68127         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68128         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68129         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68130         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68131         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68132         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68133         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68134         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68135         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68136         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68137         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68138         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68139         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68140         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68141         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68142         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68143         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68144         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68145         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68146         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68147         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68148         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68149         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68150         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68151         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68152         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68153         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68154         Require >= 2.
68155         (FLT_ROUNDS): Expect as macro, not constant.
68156         (FLT_MANT_DIG): Use macro-int-constant.
68157         (DBL_MANT_DIG): Likewise.
68158         (LDBL_MANT_DIG): Likewise.
68159         (FLT_DIG): Likewise.
68160         (DBL_DIG): Likewise.
68161         (LDBL_DIG): Likewise.
68162         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68163         (DBL_MIN_EXP): Likewise.
68164         (LDBL_MIN_EXP): Likewise.
68165         (FLT_MAX_EXP): Use macro-int-constant.
68166         (DBL_MAX_EXP): Likewise.
68167         (LDBL_MAX_EXP): Likewise.
68168         (FLT_MAX_10_EXP): Likewise.
68169         (DBL_MAX_10_EXP): Likewise.
68170         (LDBL_MAX_10_EXP): Likewise.
68171         (FLT_MAX): Use macro-constant.
68172         (DBL_MAX): Likewise.
68173         (LDBL_MAX): Likewise.
68174         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68175         (DBL_EPSILON): Likewise.
68176         (LDBL_EPSILON): Likewise.
68177         (FLT_MIN): Likewise.
68178         (DBL_MIN): Likewise.
68179         (LDBL_MIN): Likewise.
68180         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68181         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68182         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68183         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68184         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68185         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68186         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68187         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68188         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68189         [ISO11] (FLT_TRUE_MIN): Likewise.
68190         [ISO11] (LDBL_TRUE_MIN): Likewise.
68191         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68192         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68193         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68194         (SCHAR_MAX): Likewise.
68195         (UCHAR_MAX): Likewise.
68196         (CHAR_MIN): Likewise.
68197         (CHAR_MAX): Likewise.
68198         (MB_LEN_MAX): Use macro-int-constant.
68199         (SHRT_MIN): Use macro-int-constant.  Specify type.
68200         (SHRT_MAX): Likewise.
68201         (USHRT_MAX): Likewise.
68202         (INT_MAX): Likewise.
68203         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68204         bound negative.
68205         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68206         bound with "U".
68207         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68208         bound with "L".
68209         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68210         bound negative.  Suffix upper bound with "L".
68211         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68212         bound with "UL".
68213         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68214         Specify type.
68215         [C99-based standards] (LLONG_MAX): Likewise.
68216         [C99-based standards] (ULLONG_MAX): Likewise.
68217         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68218         == 0.
68219         [ISO11] (max_align_t): Require type.
68220         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68222         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68223         from $CFLAGS, without defining away __attribute__ calls.
68224         (checknamespace): Use $CFLAGS_namespace.
68226         * conform/conformtest.pl (@keywords): Only include C99 keywords
68227         for standards based on C99 or C11.
68229         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68230         Disable tests.
68231         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68232         UNIX98]: Likewise.
68234         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68235         usability of symbols in #if.
68237         * conform/conformtest.pl: If macro or constant types start
68238         "promoted:", expect the symbol to be of the following type
68239         promoted by the integer promotions.
68241         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68242         in one place.  Also handle "macro-constant".
68244         * conform/conformtest.pl: Only accept expected macro values with
68245         "==".  Parse all "macro" lines in one place.
68246         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68248         * conform/conformtest.pl: Handle braced types on "constant" lines
68249         instead of handling "typed-constant".
68250         * conform/data/signal.h-data: Use "constant" instead of
68251         "typed-constant".
68253         * conform/conformtest.pl: Handle "optional-" at start of lines in
68254         one place rather than duplicating several cases.  Handle each
68255         format of "macro" line with initial "optional-".
68257         * conform/conformtest.pl: Only accept expected constant or
68258         optional-constant values with "==".  Parse all "constant" lines in
68259         one place.  Parse all "optional-constant" lines in one place.
68260         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68261         * conform/data/fmtmsg.h-data: Likewise.
68262         * conform/data/netinet/in.h-data: Likewise.
68263         * conform/data/tar.h-data: Likewise.
68264         * conform/data/limits.h-data: Use "==" form on "constant" and
68265         "optional-constant" lines.
68267         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68268         Use -std=c99 for XOPEN2K.
68269         (@knownproblems): Remove.
68270         (newtoken): Don't check %isknown.
68272         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68273         Do not expect macro.
68274         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68275         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68276         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68277         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68278         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68279         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68280         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68281         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68282         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68283         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68284         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68285         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68286         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68287         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68288         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68289         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68290         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68291         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68292         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68293         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68294         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68295         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68296         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68297         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68298         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68299         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68300         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68301         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68302         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68303         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68304         [XPG3] (acosh): Likewise.
68305         [XPG3] (asinh): Likewise.
68306         [XPG3] (atanh): Likewise.
68307         [XPG3] (cbrt): Likewise.
68308         [XPG3] (expm1): Likewise.
68309         [XPG3] (ilogb): Likewise.
68310         [XPG3] (log1p): Likewise.
68311         [XPG3] (logb): Likewise.
68312         [XPG3] (nextafter): Likewise.
68313         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68314         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68315         [XPG3] (remainder): Likewise.
68316         [XPG3] (rint): Likewise.
68317         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68318         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68319         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68320         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68321         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68322         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68323         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68324         [UNIX98 || XOPEN2K] (scalb): Expect.
68325         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68326         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68327         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68328         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68329         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68330         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68331         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68332         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68333         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68334         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68335         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68336         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68337         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68338         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68339         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68340         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68342         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68343         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68344         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68345         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68346         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68347         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68348         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68349         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68351         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68352         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68353         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68354         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68355         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68356         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68357         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68360         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68361         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68362         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68363         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68364         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68365         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68366         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68367         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68368         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68369         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68370         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68371         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68372         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68373         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68374         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68375         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68376         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68377         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68378         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68379         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68380         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68381         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68382         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68383         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68384         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68385         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68386         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68387         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68388         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68389         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68390         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68391         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68392         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68393         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68394         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68395         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68396         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68397         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68398         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68399         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68400         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68401         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68402         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68403         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68404         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68405         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68406         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68407         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68408         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68409         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68410         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68411         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68412         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68413         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68414         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68415         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68416         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68417         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68418         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68419         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68420         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68421         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68422         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68423         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68424         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68425         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68426         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68427         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68428         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68429         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68430         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68431         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68432         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68433         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68434         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68435         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68436         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68437         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68438         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68439         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68440         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68441         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68442         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68443         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68444         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68445         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68446         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68447         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68448         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68449         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68450         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68451         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68452         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68453         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68454         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68455         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68456         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68457         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68458         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68459         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68460         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68461         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68463         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68464         _XOPEN_SOURCE_EXTENDED for XPG4.
68466         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68468         * Makeconfig (localtime): Remove variable.
68469         (inst_localtime-file): Likewise.
68471 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68474         Update.
68475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68476         Update.
68477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68478         Update.
68479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68480         Update.
68481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68482         Update.
68483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68484         Update.
68485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68486         Update.
68487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68488         Update.
68489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68490         Update.
68492 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68494         [BZ #2550]
68495         [BZ #2570]
68496         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68497         comparisons to determine direction to adjust input.
68498         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68499         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68500         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68501         Likewise.
68502         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68503         Likewise.
68504         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68505         Likewise.
68506         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68507         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68508         Likewise.
68509         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68510         Likewise.
68511         * math/libm-test.inc (nexttoward_test): Add more tests.
68513 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68515         [BZ #14040]
68516         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68517         in version GLIBC_2.1, not GLIBC_2.0.
68518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68519         Likewise.
68521 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68523         [BZ #13942]
68524         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68525         (1 - x) * (1 + x).
68526         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68527         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68528         * math/libm-test.inc (acos_test): Add more tests.
68529         (asin_test): Likewise.
68530         * sysdeps/i386/fpu/libm-test-ulps: Update.
68531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68533         [BZ #14034]
68534         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68535         of square root.
68536         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68537         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68538         * math/libm-test.inc (acos_test_tonearest): New function.
68539         (acos_test_towardzero): Likewise.
68540         (acos_test_downward): Likewise.
68541         (acos_test_upward): Likewise.
68542         (asin_test_tonearest): Likewise.
68543         (asin_test_towardzero): Likewise.
68544         (asin_test_downward): Likewise.
68545         (asin_test_upward): Likewise.
68546         (main): Call the new functions.
68547         * sysdeps/i386/fpu/libm-test-ulps: Update.
68548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68550         [BZ #13884]
68551         [BZ #13924]
68552         * math/e_exp10.c: Include <float.h>.
68553         (__ieee754_exp10): Handle underflow here rather than multiplying
68554         large negative argument by M_LN10.
68555         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68556         of __ieee754_expf.
68557         * math/e_exp10l.c: Include <float.h>.
68558         (__ieee754_exp10l): Handle underflow here rather than multiplying
68559         large negative argument by M_LN10l.
68560         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68561         spurious overflow exception on underflow.
68563 2012-04-29  Marek Polacek  <polacek@redhat.com>
68565         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68566         (__fortify_function): New macro.
68567         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68568         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68569         __extern_always_inline.
68570         * libio/bits/stdio2.h: Likewise.
68571         * libio/bits/stdio.h: Likewise.
68572         * string/string.h: Likewise.
68573         * string/bits/string3.h: Likewise.
68574         * include/stdio.h: Likewise.
68575         * stdlib/bits/stdlib.h: Likewise.
68576         * stdlib/stdlib.h: Likewise.
68577         * rt/bits/mqueue2.h: Likewise.
68578         * rt/mqueue.h: Likewise.
68579         * posix/bits/unistd.h: Likewise.
68580         * posix/unistd.h: Likewise.
68581         * io/bits/poll2.h: Likewise.
68582         * io/bits/fcntl2.h: Likewise.
68583         * io/fcntl.h: Likewise.
68584         * io/sys/poll.h: Likewise.
68585         * misc/bits/syslog.h: Likewise.
68586         * misc/bits/syslog-ldbl.h: Likewise.
68587         * misc/sys/syslog.h: Likewise.
68588         * socket/bits/socket2.h: Likewise.
68589         * socket/sys/socket.h: Likewise.
68590         * debug/tst-chk1.c: Likewise.
68591         * wcsmbs/bits/wchar2.h: Likewise.
68592         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68593         * wcsmbs/wchar.h: Likewise.
68595 2012-04-29  Andreas Jaeger  <aj@suse.de>
68597         * Makerules (tests): Remove enable-check-abi protection.
68598         (check-abi-warn): Remove.
68599         (check-abi-%): Remove check-abi-warn usage.
68601         * configure.in: Remove check-abi configure option.
68602         * configure: Regenerated.
68603         * config.make.in (enable-check-abi): Remove.
68605 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68607         [BZ #14033]
68608         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68609         double functions to double *_finite functions.
68611         [BZ #13941]
68612         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68613         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68614         LDBL_MIN_EXP.
68615         * stdio-common/Makefile (tests): Add tst-sprintf3.
68616         * stdio-common/tst-sprintf3.c: New file.
68618         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68619         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68621 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68623         * conform/conformtest.pl: Remove duplicate typed-constant
68624         handling.
68626 2012-04-28  David S. Miller  <davem@davemloft.net>
68628         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68629         (check-abi-%): Remove AWK script prerequisite and explicit
68630         abilist directory.
68631         (check-abi): Rewrite to just diff the symlist with the abilist.
68632         (config-tls, config-abi-config): Delete, no longer used.
68633         (update-abi-%): Remove AWK script and explicit abilist directory.
68634         (update-abi): Rewrite to simply compare and conditionally copy the
68635         symlist and the sysdep abilist file.  Remove update-abi-config
68636         checks.
68637         * abilist/ld.abilist: Remove.
68638         * abilist/libBrokenLocale.abilist: Remove.
68639         * abilist/libanl.abilist: Remove.
68640         * abilist/libcrypt.abilist: Remove.
68641         * abilist/libdl.abilist: Remove.
68642         * abilist/librt.abilist: Remove.
68643         * abilist/libthread_db.abilist: Remove.
68644         * abilist/libutil.abilist: Remove.
68645         * scripts/extract-abilist.awk: Remove.
68646         * scripts/merge-abilist.awk: Remove.
68647         * sysdeps/generic/libcidn.abilist: New file.
68648         * sysdeps/generic/libnss_compat.abilist: New file.
68649         * sysdeps/generic/libnss_db.abilist: New file.
68650         * sysdeps/generic/libnss_dns.abilist: New file.
68651         * sysdeps/generic/libnss_files.abilist: New file.
68652         * sysdeps/generic/libnss_hesiod.abilist: New file.
68653         * sysdeps/generic/libnss_nis.abilist: New file.
68654         * sysdeps/generic/libnss_nisplus.abilist: New file.
68655         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68656         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68657         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68658         file.
68659         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68660         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68661         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68662         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68663         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68664         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68665         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68666         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68667         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68668         file.
68669         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68670         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68671         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68672         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68673         file.
68674         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68675         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68676         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68677         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68678         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68679         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68680         file.
68681         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68682         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68683         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68684         file.
68685         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68687         New file.
68688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68689         New file.
68690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68691         New file.
68692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68693         New file.
68694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68695         New file.
68696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68697         New file.
68698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68699         New file.
68700         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68701         New file.
68702         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68703         New file.
68704         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68705         New file.
68706         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68707         New file.
68708         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68709         New file.
68710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68711         New file.
68712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68713         file.
68714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68715         New file.
68716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68717         New file.
68718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68719         file.
68720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68721         New file.
68722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68723         New file.
68724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68725         file.
68726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68727         New file.
68728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68729         New file.
68730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68731         New file.
68732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68733         New file.
68734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68735         New file.
68736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68737         New file.
68738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68740         file.
68741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68742         New file.
68743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68744         file.
68745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68746         file.
68747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68748         file.
68749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68750         file.
68751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68752         file.
68753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68754         New file.
68755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68756         file.
68757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68758         file.
68759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68760         New file.
68761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68762         file.
68763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68765         file.
68766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68767         New file.
68768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68769         file.
68770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68771         file.
68772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68773         file.
68774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68775         file.
68776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68777         file.
68778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68779         New file.
68780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68781         file.
68782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68783         file.
68784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68785         New file.
68786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68787         file.
68788         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68789         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68790         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68791         file.
68792         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68793         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68794         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68795         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68796         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68797         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68798         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68799         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68800         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68801         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68804         file.
68805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68806         New file.
68807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68808         file.
68809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68810         file.
68811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68812         file.
68813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68814         file.
68815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68816         file.
68817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68818         New file.
68819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68820         New file.
68821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68822         file.
68823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68824         New file.
68825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68826         file.
68827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68829         file.
68830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68831         New file.
68832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68833         file.
68834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68835         file.
68836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68837         file.
68838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68839         file.
68840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68841         file.
68842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68843         New file.
68844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68845         New file.
68846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68847         file.
68848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68849         New file.
68850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68851         file.
68853 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68855         * conform/conformtest.pl: Fix typo in handling typed-constant from
68856         allow-header.
68858 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68860         * README: Cut down references to pre-2.6 Linux kernels and
68861         Linuxthreads.  Update lists of configurations in libc and ports
68862         and sort alphabetically.  Say "or newer" with Linux kernel version
68863         requirements.
68865         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68867 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68869         [BZ #887]
68870         * math/libm-test.inc (logb_test_downward): New test to expose
68871         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68872         rounding mode.
68874 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68876         [BZ #14027]
68877         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68878         to be done.
68879         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68880         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68882 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68884         * sysdeps/unix/i386/brk.S: Remove file.
68885         * sysdeps/unix/i386/dl-brk.S: Likewise.
68886         * sysdeps/unix/i386/pipe.S: Likewise.
68887         * sysdeps/unix/i386/sigreturn.S: Likewise.
68888         * sysdeps/unix/i386/syscall.S: Likewise.
68889         * sysdeps/unix/i386/vfork.S: Likewise.
68890         * sysdeps/unix/i386/wait.S: Likewise.
68892         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68893         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68895         * configure.in (arm*-none*): Do not allow without
68896         --enable-hacker-mode.
68897         (netbsd*): Remove case setting base_os.
68898         (386bsd*): Likewise.
68899         (freebsd*): Likewise.
68900         (bsdi*): Likewise.
68901         (osf*): Likewise.
68902         (sunos*): Likewise.
68903         (ultrix*): Likewise.
68904         (newsos*): Likewise.
68905         (dynix*): Likewise.
68906         (*bsd*): Likewise.
68907         (sysv*): Likewise.
68908         (isc*): Likewise.
68909         (esix*): Likewise.
68910         (sco*): Likewise.
68911         (minix*): Likewise.
68912         (irix4*): Likewise.
68913         (irix6*): Likewise.
68914         (solaris[2-9]*): Likewise.
68915         (none): Likewise.
68916         * configure: Regenerated.
68918 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68920         [BZ #11521]
68921         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68922         overflow or cancellation in calculating denominator.
68923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68924         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68925         down expression to avoid unexpected rounding in newer GCCs.
68926         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68928 2012-04-26  David S. Miller  <davem@davemloft.net>
68930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68931         long-double compat symbols.
68932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68946 2012-04-25  David S. Miller  <davem@davemloft.net>
68948         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68949         HWCAP_* values only after the memory barriers have been defined.
68950         (atomic_full_barrier): Define.
68951         (atomic_read_barrier): Define.
68952         (atomic_write_barrier): Define.
68954 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68956         * shlib-versions: Add libgcc_s version information.
68957         * sysdeps/generic/libgcc_s.h: Remove.
68958         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68959         libgcc_s.h.
68960         * sysdeps/gnu/unwind-resume.c: Likewise.
68961         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68963 2012-04-25  David S. Miller  <davem@davemloft.net>
68965         * sysdeps/unix/sparc/brk.S: Delete.
68966         * sysdeps/unix/sparc/dl-brk.S: Delete.
68967         * sysdeps/unix/sparc/pipe.S: Delete.
68968         * sysdeps/unix/sparc/sysdep.S: Delete.
68969         * sysdeps/unix/sparc/sysdep.h: Delete.
68970         * sysdeps/unix/sparc/vfork.S: Delete.
68971         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68972         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68973         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68974         (ret_ERRVAL, r0, r1, MOVE): Define.
68975         (JUMPTARGET): Remove.
68976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68977         sysdeps/unix/sparc/sysdep.h
68978         (ENTRY, END): Remove.
68979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68981 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68983         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68984         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68985         -DIS_IN_build.
68987         * timezone/README: Update upstream location and email address for
68988         tzcode and tzdata.
68989         * timezone/zdump.c: Update from tzcode 2012b.
68990         * timezone/zic.c: Likewise.
68992         * configure.in (libc_cv_as_needed): Remove test.
68993         * configure: Regenerated.
68994         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68995         conditional definition.
68996         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68997         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68998         * config.make.in (have-as-needed): Remove variable.
69000 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69001             Paul Pluzhnikov  <ppluzhnikov@google.com>
69003         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69004         strings correctly.
69006 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69008         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69009         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69010         * sysdeps/sh/strlen.S: Likewise.
69012 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69014         * sysdeps/unix/fork.S: Remove file.
69015         * sysdeps/unix/i386/fork.S: Likewise.
69016         * sysdeps/unix/sparc/fork.S: Likewise.
69018         * sysdeps/unix/system.c: Remove file.
69019         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69021         * sysdeps/unix/getegid.S: Remove file.
69022         * sysdeps/unix/geteuid.S: Likewise.
69024 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69026         * scripts/check-localplt.awk: New file.
69027         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69028         of diff.
69029         * scripts/data/localplt-generic.data: Add a comment.
69031         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69032         NODE when __dir_mkfile failed.
69033         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69034         Reported by Ludovic Courtès <ludo@gnu.org>.
69036 2012-04-24  Andreas Jaeger  <aj@suse.de>
69038         * Makerules (common-clean): Also remove gen-as-const-headers
69039         files.
69041 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69043         * Makerules (native-compile): Do not change working directory for
69044         build.  Use $(OUTPUT_OPTION) in command.
69045         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69047 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69049         [BZ #13886]
69050         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69051         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69052         * math/libm-test.inc (floor_test): Add more tests.
69053         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69055 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69057         * sysdeps/unix/getdents.c: Remove file.
69058         * sysdeps/unix/sysv/getdents.c: Likewise.
69059         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69061         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69062         sysdeps/unix/mman/syscalls.list.
69063         (mmap): Likewise.
69064         (mprotect): Likewise.
69065         (msync): Likewise.
69066         (munmap): Likewise.
69067         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69068         * sysdeps/unix/mman/syscalls.list: Remove.
69069         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69071         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69072         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69073         * configure: Regenerated.
69074         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69075         $(libgcc_s_suffix).
69076         * config.make.in (libgcc_s_suffix): Remove variable.
69078 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69080         * sysdeps/unix/sysv/gethostname.c: Move to ...
69081         * sysdeps/posix/gethostname.c: ... here.
69083         * sysdeps/unix/execve.S: Remove file.
69085         * sysdeps/unix/_exit.S: Remove file.
69087 2012-04-23  Andreas Jaeger  <aj@suse.de>
69089         [BZ #13739]
69090         * manual/Makefile: Remove make dist support, there's no
69091         need for a stand-alone documentation tar ball.
69092         (TEXI2DVI): Define always, it's not in Makeconfig.
69093         (dist): Removed.
69094         (tar-it): Removed.
69095         (edition): Removed.
69096         (glibc-doc-$(edition).tar): Removed
69097         (%.Z): Removed.
69098         (%.gz): Removed.
69099         (%.uu): Removed.
69100         (ETAGS): Remove, it's in Makeconfig.
69101         (move-if-change): Remove, it's in Makeconfig.
69103 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69105         [BZ #13970]
69106         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69107         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69108         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69109         (strtod_l, strtof_l, strtold_l): Remove __wur.
69110         It is not necessarily an error to ignore strtol's return value.
69111         One can reliably look at the stored endptr to decide whether
69112         the number had valid syntax.
69114 2012-04-21  Andreas Jaeger  <aj@suse.de>
69116         [BZ #13739]
69117         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69119 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69121         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69122         * sysdeps/unix/sysv/Versions: Remove file.
69124 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69126         [BZ #13927]
69127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69129 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69131         [BZ #7064]
69132         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69133         version from __vm86.
69135 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69137         * sysdeps/unix/common/lxstat.c: Remove file.
69138         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69140         * sysdeps/unix/sysv/Makefile: Remove file.
69142         * sysdeps/unix/sysv/direct.h: Remove file.
69144         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69145         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69146         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69147         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69148         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69149         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69150         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69152         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69154         * sysdeps/unix/xmknod.c: Remove file.
69155         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69157         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69159         * sysdeps/unix/sysv/i386/time.S: Remove file.
69161         * sysdeps/unix/fxstat.c: Remove file.
69162         * sysdeps/unix/xstat.c: Likewise.
69163         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69165         * sysdeps/unix/sysv/sigaction.c: Remove file.
69167         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69168         (sysdep_headers): Remove variable.
69169         [termio.h not in sysdep_headers] (generated): Likewise.
69170         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69171         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69172         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69173         * sysdeps/unix/sysv/tcflow.c: Likewise.
69174         * sysdeps/unix/sysv/tcflush.c: Likewise.
69175         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69176         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69177         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69178         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69179         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69181         * sysdeps/unix/siglist.c: Remove file.
69183         * sysdeps/unix/getppid.S: Remove file.
69185         * sysdeps/unix/mkdir.c: Remove file.
69186         * sysdeps/unix/rmdir.c: Likewise.
69188 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69190         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69191         ERR_MAX value.
69192         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69193         errlist-compat value.
69195 2012-04-18  David S. Miller  <davem@davemloft.net>
69197         * sysdeps/generic/memcopy.h (reg_char): Delete.
69198         * debug/strcat_chk.c: Use char, not reg_char.
69199         * debug/strcpy_chk.c: Likewise.
69200         * debug/strncat_chk.c: Likewise.
69201         * debug/strncpy_chk.c: Likewise.
69202         * string/memchr.c: Likewise.
69203         * string/memrchr.c: Likewise.
69204         * string/rawmemchr.c: Likewise.
69205         * string/strcat.c: Likewise.
69206         * string/strchr.c: Likewise.
69207         * string/strchrnul.c: Likewise.
69208         * string/strcmp.c: Likewise.
69209         * string/strcpy.c: Likewise.
69210         * string/strncat.c: Likewise.
69211         * string/strncmp.c: Likewise.
69212         * string/strncpy.c: Likewise.
69214 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69216         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69217         __builtin_memcopy is called when src and dest ranges are known to not
69218         overlap.
69220 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69222         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69223         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69224         fwd_align_merge macro call.
69225         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69226         bwd_align_merge macro call.
69227         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69229 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69231         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69232         bwd_align_merge macros.
69233         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69234         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69235         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69237 2012-04-18  David S. Miller  <davem@davemloft.net>
69239         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69241 2012-04-18  Andreas Jaeger  <aj@suse.de>
69243         [BZ# 6794]
69244         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69245         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69246         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69248         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69249         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69250         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69252         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69253         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69254         Adjust for changed ldbl-128 files.
69256         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69257         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69258         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69260 2012-04-17  David S. Miller  <davem@davemloft.net>
69262         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69264 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69266         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69267         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69268         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69269         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69270         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69271         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69273 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69275         [BZ #6794]
69276         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69277         * math/libm-test.inc: Add ilogb errno and exception tests.
69278         * math/w_ilogb.c: New file: ilogb wrapper.
69279         * math/w_ilogbf.c: New file: ilogbf wrapper.
69280         * math/w_ilogbl.c: New file: ilogbl wrapper.
69281         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69282         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69283         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69284         exception being thrown with 0.0 as argument.
69285         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69286         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69287         exception being thrown with 0.0 as argument.
69288         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69289         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69290         exception being thrown with 0.0 as argument.
69291         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69292         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69293         exception being thrown with 0.0 as argument.
69294         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69295         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69296         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69297         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69298         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69299         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69300         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69301         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69302         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69304 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69306         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69307         with altivec.
69309 2012-04-16  Marek Polacek  <polacek@redhat.com>
69311         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69313 2012-04-16  Marek Polacek  <polacek@redhat.com>
69315         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69316         operands of fdivp instruction.
69318 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69320         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69321         * elf/tst-auditmod3b.c: Likewise.
69322         * elf/tst-auditmod4b.c: Likewise.
69323         * elf/tst-auditmod5b.c: Likewise.
69324         * elf/tst-auditmod6b.c: Likewise.
69325         * elf/tst-auditmod6c.c: Likewise.
69326         * elf/tst-auditmod7b.c: Likewise.
69327         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69328         * sysdeps/x86_64/preconfigure.in: Likewise.
69329         * sysdeps/x86_64/preconfigure: Regenerated.
69331 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69333         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69334         __ILP32__.
69336 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69339         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69341 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69343         [BZ #13973]
69344         * locale/iso-639.def: Fix gl language name. Spotted by
69345         Yaron Shahrabani.
69347 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69349         [BZ #2074]
69350         * libio/libio.h (__io_write_fn): Update comment.
69352 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69354         [BZ #2074]
69355         * stdio.texi (Hook Functions): The user provided writer function
69356         is not allowed to return -1.
69358 2012-04-11  David S. Miller  <davem@davemloft.net>
69360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69362 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69364         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69365         Add a leading slash to rtkaio.
69367 2012-04-11  Jim Meyering  <meyering@redhat.com>
69369         [BZ #11959]
69370         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69371         It is not necessarily an error to ignore fwrite's return
69372         value.  One can reliably use ferror to test for errors after
69373         the fact.
69375 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69377         * bits/types.h (__snseconds_t): New type.
69378         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69380         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69382         (__SNSECONDS_T_TYPE): Likewise.
69383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69384         (__SNSECONDS_T_TYPE): Likewise.
69385         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69386         (__SNSECONDS_T_TYPE): Likewise.
69388 2012-04-10  Andreas Jaeger  <aj@suse.de>
69390         [BZ #2636]
69391         * manual/time.texi (Processor Time): Return type of times is
69392         elapsed real time since an arbitrary point in the past.
69393         (CPU Time): Move CLK_TCK from here...
69394         (Processor Time): ...to here.  Correct description.
69395         * manual/conf.texi (Constants for Sysconf): Correct description of
69396         _SC_CLK_TCK.
69398 2012-04-10  David S. Miller  <davem@davemloft.net>
69400         [BZ #13967]
69401         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69402         where the is a gap between DT_REL(A) and DT_JMPREL.
69404 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69406         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69407         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69408         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69410 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69412         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69413         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69414         (dl_main): Handle --inhibit-cache.
69415         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69416         _dl_inhibit_cache.
69417         * elf/dl-load.c (_dl_map_object): Use it.
69418         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69420 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69422         [BZ #13872]
69423         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69424         (__ieee754_powl): Saturate large exponents rather than testing for
69425         overflow of y*log2(x).
69426         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69427         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69428         exceptions.
69430         [BZ #11521]
69431         * math/s_ctan.c: Include <float.h>.
69432         (__ctan): Avoid internal overflow or cancellation in calculating
69433         denominator.
69434         * math/s_ctanf.c: Likewise.
69435         * math/s_ctanl.c: Likewise.
69436         * math/s_ctanh.c: Likewise.
69437         * math/s_ctanhf.c: Likewise.
69438         * math/s_ctanhl.c: Likewise.
69439         * math/libm-test.inc (ctan_test): Add more tests.
69440         (ctanh_test): Likewise.
69441         * sysdeps/i386/fpu/libm-test-ulps: Update.
69442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69444 2012-04-09  Andreas Jaeger  <aj@suse.de>
69446         [BZ #6894]
69447         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69448         is an optional BSD extension.
69450         [BZ #10254]
69451         * manual/stdio.texi (Opening Streams): Document additional fopen
69452         parameters.
69454 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69456         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69457         %eax without telling the compiler.
69459 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69461         [BZ # 13963]
69462         * manual/install.texi: Use sourceware.org.
69464 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69466         [BZ #13873]
69467         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69468         (__ieee754_pow): Generate overflow and underflow using huge*huge
69469         and tiny*tiny rather than just returning constant infinity or zero
69470         for large exponents.
69471         * math/libm-test.inc (pow_test): Require overflow exceptions for
69472         applicable cases of large exponents.
69474         [BZ #706]
69475         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69476         (__ieee754_pow): Use iterative multiplication algorithm only for
69477         integer exponents with absolute value below 1024.  Check for odd
69478         integer exponents when using algorithm for real exponents.
69479         * math/libm-test.inc (pow_test): Add more tests.
69480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69482 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69484         [BZ #13705]
69485         * math/libm-test.inc (exp_test): Do not allow overflow exception
69486         on underflow test.
69488 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69490         [BZ #13705]
69491         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69492         instead of __kernel_standard_f.
69494 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69496         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69497         * sysdeps/x86_64/memset_chk.S: Likewise.
69499 2012-04-08  Andreas Jaeger  <aj@suse.de>
69501         [BZ #10153]
69502         * manual/startup.texi (Environment Access): Describe return value
69503         for putenv and setenv.
69505         [BZ #6895]
69506         * manual/filesys.texi (Directory Entries): Add description for
69507         DT_LNK.
69509         [BZ #6890]
69510         * manual/filesys.texi (Directory Entries): Clarify that it's file
69511         system not operating system in the description of DT_UNKNOWN.
69513         [BZ #6578]
69514         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69516 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69518         [BZ #6649]
69519         * manual/llio.texi (Opening and Closing Files): Add cross
69520         reference to explain mode argument.
69522 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69524         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69525         * sysdeps/x86_64/memset_chk.S: Likewise.
69527 2012-04-07  David S. Miller  <davem@davemloft.net>
69529         * elf/elf.h (R_SPARC_WDISP10): Define.
69530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69531         R_SPARC_SIZE32.
69532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69533         R_SPARC_SIZE64 and R_SPARC_H34.
69535 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69537         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69538         conditions and remove no longer applicable assertion.
69540 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69542         * bits/byteswap.h: Include <features.h>.
69543         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69544         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69546 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69548         * bits/byteswap.h (__bswap_16): Removed.
69549         Include <bits/byteswap-16.h> to get __bswap_16.
69550         * sysdeps/i386/bits/byteswap.h: Likewise.
69551         * sysdeps/s390/bits/byteswap.h: Likewise.
69552         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69553         * bits/byteswap-16.h: New file.
69554         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69555         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69556         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69557         * string/Makefile (headers): Add bits/byteswap-16.h.
69559 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69561         [BZ #13895]
69562         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69563         extra indirection.
69564         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69565         * nss/tst-nss-static.c: New.
69567 2012-04-06  Robert Millan  <rmh@gnu.org>
69569         [BZ #6486]
69570         * manual/llio.texi (File Position Primitive): lseek
69571         refers to WHENCE when it really means OFFSET.
69573 2012-04-06  Andreas Jaeger  <aj@suse.de>
69575         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69576         strncmp declarations.
69578         * abilist/libc.abilist: Add __poll and __ppoll.
69580 2012-04-05  David S. Miller  <davem@davemloft.net>
69582         * scripts/check-local-headers.sh: Accept a host triplet in the
69583         path matched by the exclude regexp.
69585         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69586         definition.
69587         * sysdeps/powerpc/powerpc32/dl-machine.h
69588         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69589         * sysdeps/s390/s390-32/dl-machine.h
69590         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69591         * sysdeps/sparc/sparc32/dl-machine.h
69592         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69593         * sysdeps/sparc/sparc64/dl-machine.h
69594         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69596         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69597         lazy binding.
69598         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69599         undefined symbol errors.
69601         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69602         DT_NEEDED entries.
69604 2012-04-05  Michael Matz  <matz@suse.de>
69606         [BZ #13592]
69607         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69609 2012-04-05  Andreas Jaeger  <aj@suse.de>
69611         [BZ #13908]
69612         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69613         comment.
69615 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69617         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69618         which ROUND is no valid rounding mode.
69620 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69622         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69623         read again.
69624         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69626 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69628         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69629         an exception using FPU order intentionally.
69631 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69633         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69634         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69635         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69636         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69638 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69640         [BZ #12340]
69641         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69642         EINVAL when BUFLEN is too smal.
69644 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69646         [BZ #13553]
69647         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69648         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69650 2012-04-03  Andreas Jaeger  <aj@suse.de>
69652         [BZ #13938]
69653         * manual/setjmp.texi (System V contexts): Fix sentence.
69655         [BZ #13926]
69656         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69657         New macro for this case.
69658         [!__GNUC__] (__bswap_64): New inline function for this case.
69659         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69660         * bits/byteswap.h: Likewise.
69661         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69662         ull, guard with __GLIBC_HAVE_LONG_LONG.
69664         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69665         __GLIBC_HAVE_LONG_LONG.
69667         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69668         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69670 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69672         [BZ #13691]
69673         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69674         inptr and inend, rather than using last_ch.
69676 2012-04-02  David S. Miller  <davem@davemloft.net>
69678         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69679         * stdio-common/printf-parse.h (read_int): Change return type to
69680         'int', return -1 on INT_MAX overflow.
69681         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69682         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69683         overflows INT_MAX.  Check for overflow of in-format-string precision
69684         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69685         SIZE_MAX not INT_MAX for integer overflow test.
69686         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69687         skip the construct in the format string but do not record anything.
69688         * stdio-common/bug22.c: Adjust to test both width/prevision
69689         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69690         explicitly for proper errno values.
69692 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69694         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69695         CHAR_MAX.
69696         * string/test-strcmp.c [! WIDE]: Likewise.
69697         * time/tst-mktime2.c: Likewise for INT_MAX.
69698         * string/test-string.h: #include <sys/param.h> for MIN.
69700         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69701         * sysdeps/i386/init-first.c (init): Likewise.
69702         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69703         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69704         * sysdeps/sh/init-first.c (init): Likewise.
69706 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69708         * po/ru.po: Update from translation team.
69709         * po/vi.po: Likewise.
69711 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69713         * resolv/nss_dns/dns-host.c: Merge copyright years.
69715 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69718         Optimize memcpy with prefetch if
69719         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69720         src, dst pointers have unequal 16 byte alignments.
69722 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69724         [BZ #13928]
69725         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69726         from a CNAME entry and return the minimum ttl for the query.
69727         (gaih_getanswer_slice): Likewise.
69729 2012-03-30  Jeff Law  <law@redhat.com>
69731         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69732         due to long keys.
69733         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69734         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69736         * resolv/nss_dns/dns-host.c: Update copyright year.
69738 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69740         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69741         requests to save a system call.  Fix check that all bytes are sent.
69743         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69744         comments for sendmmsg.
69746 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69748         [BZ #13691]
69749         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69750         with only 1 character between 0x0041 and 0x01b0.
69751         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69752         * wcsmbs/tst-mbsnrtowcs.c: New file.
69754 2012-03-29  David S. Miller  <davem@davemloft.net>
69756         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69757         small copies by hand.
69759 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69761         [BZ #13761]
69762         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69763         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69764         group memberships.
69766 2012-03-28  David S. Miller  <davem@davemloft.net>
69768         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69769         that branches into memcpy.
69770         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69771         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69772         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69773         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69775         bits.
69776         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69777         implementation too.
69778         * sysdeps/sparc/mempcpy.S: New file.
69780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69781         the IFUNC routine in the libc case.
69782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69784         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69785         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69786         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69787         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69788         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69789         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69790         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69791         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69793         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69794         loop to 256 bytes instead of 64 bytes and fix test signedness.
69796         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69797         * sysdeps/sparc/sparc32/Makefile: rather than here...
69798         * sysdeps/sparc/sparc64/Makefile: and here.
69800 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69802         * malloc/mallocbug.c: Avoid warnings about unused variables.
69804 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69806         [BZ #13760]
69807         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69808         in the right place. Discard and retry query if response is
69809         larger than input buffer size.
69811 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69813         [BZ #369]
69814         [BZ #2678]
69815         [BZ #3866]
69816         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69817         x for large integer exponent.
69818         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69819         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69820         sign of result as needed afterwards.
69821         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69822         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69823         result for underflowing pow the same as for overflow.
69824         (__kernel_standard_l): Handle powl overflow and underflow here
69825         rather than calling __kernel_standard.
69826         * math/libm-test.inc (pow_test): Add more tests.
69828         [BZ #3868]
69829         [BZ #13879]
69830         [BZ #13910]
69831         [BZ #13911]
69832         [BZ #13912]
69833         [BZ #13913]
69834         [BZ #13915]
69835         [BZ #13916]
69836         [BZ #13917]
69837         [BZ #13918]
69838         [BZ #13919]
69839         [BZ #13920]
69840         [BZ #13921]
69841         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69842         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69843         (__kernel_standard_l): New function.
69844         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69845         __kernel_standard.
69846         * math/w_acosl.c (__acosl): Likewise.
69847         * math/w_asinl.c (__asinl): Likewise.
69848         * math/w_atan2l.c (__atan2l): Likewise.
69849         * math/w_atanhl.c (__atanhl): Likewise.
69850         * math/w_coshl.c (__coshl): Likewise.
69851         * math/w_exp10l.c (__exp10l): Likewise.
69852         * math/w_exp2l.c (__exp2l): Likewise.
69853         * math/w_fmodl.c (__fmodl): Likewise.
69854         * math/w_hypotl.c (__hypotl): Likewise.
69855         * math/w_j0l.c (__j0l, __y0l): Likewise.
69856         * math/w_j1l.c (__j1l, __y1l): Likewise.
69857         * math/w_jnl.c (__jnl, __ynl): Likewise.
69858         * math/w_lgammal.c (__lgammal): Likewise.
69859         * math/w_log10l.c (__log10l): Likewise.
69860         * math/w_log2l.c (__log2l): Likewise.
69861         * math/w_logl.c (__logl): Likewise.
69862         * math/w_powl.c (__powl): Likewise.
69863         * math/w_remainderl.c (__remainderl): Likewise.
69864         * math/w_scalbl.c (sysv_scalbl): Likewise.
69865         * math/w_sinhl.c (__sinhl): Likewise.
69866         * math/w_sqrtl.c (__sqrtl): Likewise.
69867         * math/w_tgammal.c (__tgammal): Likewise.
69868         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69869         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69870         * math/libm-test.inc (acos_test): Add more tests.
69871         (acosh_test): Likewise.
69872         (asin_test): Likewise.
69873         (atanh_test): Likewise.
69874         (exp_test): Likewise.
69875         (exp10_test): Likewise.
69876         (exp2_test): Likewise.
69877         (expm1_test): Likewise.
69878         (lgamma_test): Likewise.
69879         (log_test): Likewise.
69880         (log10_test): Likewise.
69881         (log1p_test): Likewise.
69882         (log2_test): Likewise.
69883         (pow_test): Do not allow some spurious overflow exceptions.
69884         (sqrt_test): Add more tests.
69885         (tgamma_test): Likewise.
69886         (y0_test): Likewise.
69887         (y1_test): Likewise.
69888         (yn_test): Likewise.
69890 2012-03-27  Anton Blanchard  <anton@samba.org>
69892         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69893         MAP_HUGETLB.
69894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69895         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69896         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69898 2012-03-27  David S. Miller  <davem@davemloft.net>
69900         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69902         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69903         have-as-vis3 check.
69905 2012-03-27  Andreas Jaeger  <aj@suse.de>
69907         * sysdeps/x86_64/elf/configure.in: Moved to ...
69908         * sysdeps/x86_64/configure.in: ... here.
69909         * sysdeps/x86_64/elf/start.S: Moved to ...
69910         * sysdeps/x86_64/start.S: ... here.
69911         * sysdeps/x86_64/elf/configure: Delete.
69913         * sysdeps/x86_64/configure.in: Merge contents from
69914         sysdeps/i386/configure.in (without i686 check).
69916         * sysdeps/i386/elf/Versions: Merge into ...
69917         * sysdeps/i386/Versions: ... this.
69918         * sysdeps/i386/elf/Versions: Delete file.
69919         * sysdeps/i386/elf/start.S: Moved to ...
69920         * sysdeps/i386/start.S: ...here.
69921         * sysdeps/i386/elf/configure.in: Merge into...
69922         * sysdeps/i386/configure.in: ...here.
69923         * sysdeps/i386/elf/configure.in: Delete file.
69924         * sysdeps/i386/elf/configure: Delete file.
69926         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69927         * debug/backtracesyms.c: ... here.
69928         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69929         * debug/backtracesymsfd.c: ... here.
69930         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69931         * sysdeps/generic/ifunc-sel.h: ... here.
69933         * sysdeps/unix/i386/start.c: Delete file.
69934         * sysdeps/unix/sparc/start.c: Delete file.
69935         * sysdeps/unix/start.c: Delete file.
69937         * sysdeps/sh/elf/configure.in: Moved to ...
69938         * sysdeps/sh/configure.in: ... here.
69939         * sysdeps/sh/elf/start.S: Moved to ...
69940         * sysdeps/sh/start.S: ... here.
69941         * sysdeps/sh/elf/configure: Delete file.
69943         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69944         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69945         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69946         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69947         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69948         * sysdeps/powerpc/powerpc64/start.S: here.
69949         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69950         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69951         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69952         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69953         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69955         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69956         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69957         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69958         * sysdeps/powerpc/powerpc32/start.S: ... here.
69959         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69960         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69961         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69963         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69964         * sysdeps/powerpc/ifunc-sel.h: ... here.
69965         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69966         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69968         * sysdeps/sparc/elf/configure.in: Moved to ...
69969         * sysdeps/sparc/configure.in: ... here.
69970         * sysdeps/sparc/elf/configure: Delete file.
69971         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69972         * sysdeps/sparc/sparc32/start.S: ... here.
69973         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69974         * sysdeps/sparc/sparc64/start.S: ... here.
69975         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69976         * sysdeps/sparc/sparc32/Makefile: ... this.
69977         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69978         * sysdeps/sparc/sparc64/Makefile: ... this.
69980         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69981         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69982         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69983         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69984         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69985         * sysdeps/s390/s390-32/setjmp.S: ... here.
69986         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69987         * sysdeps/s390/s390-32/configure.in: ... here.
69988         * sysdeps/s390/s390-32/elf/configure: Delete file.
69989         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69990         * sysdeps/s390/s390-32/start.S: ... here.
69992         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69993         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69994         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69995         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69996         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69997         * sysdeps/s390/s390-64/setjmp.S: ... here.
69998         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69999         * sysdeps/s390/s390-64/configure.in: ... here
70000         * sysdeps/s390/s390-64/elf/configure: Delete file.
70001         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70002         * sysdeps/s390/s390-64/start.S: ... here.
70003         * sysdeps/s390/s390-64/elf/configure: Delete.
70005         * configure.in: Remove support for elf directories in sysdeps.
70007         * configure: Regenerated.
70008         * sysdeps/i386/configure: Regenerated.
70009         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70010         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70011         * sysdeps/s390/s390-32/configure: Regenerated.
70012         * sysdeps/s390/s390-64/configure: Regenerated.
70013         * sysdeps/sh/configure: Regenerated.
70014         * sysdeps/sparc/configure: Regenerated.
70015         * sysdeps/x86_64/configure: Regenerated.
70017 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70022         denormal result into account.
70024 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70026         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70027         Reported by Allan McRae <allan@archlinux.org>.
70029 2012-03-23  Jeff Law  <law@redhat.com>
70031         * nss/getnssent.c (__nss_getent): Fix typo.
70033 2012-03-23  David S. Miller  <davem@davemloft.net>
70035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70037 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70039         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70040         to pad to uint64_t for each field.
70041         (dl_tls_index): Replace unsigned long with uint64_t.
70043 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70044         Paul Pluzhnikov  <ppluzhnikov@google.com>
70046         [BZ #6528]
70047         * grp/Makefile (otherlibs): Don't set it.
70048         * inet/Makefile (otherlibs): Likewise.
70049         * login/Makefile (otherlibs): Likewise.
70050         * nscd/Makefile (otherlibs): Likewise.
70051         * posix/Makefile (otherlibs): Likewise.
70052         * pwd/Makefile (otherlibs): Likewise.
70053         * rt/Makefile (otherlibs): Likewise.
70054         * sunrpc/Makefile (otherlibs): Likewise.
70055         * nss/Makefile (otherlibs): Likewise.
70056         Add libnss_files to routines and static-only-routines.
70057         ($(objpfx)getent): Remove rule.
70058         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70059         static-only-routines.
70061 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70063         [BZ #13892]
70064         * math/s_cexp.c: Include <float.h>.
70065         (__cexp): Handle exp result overflowing not necessarily
70066         overflowing both real and imaginary parts of result.
70067         * math/s_cexpf.c: Likewise.
70068         * math/s_cexpl.c: Likewise.
70069         * math/libm-test.inc (cexp_test): Add more tests.
70070         * sysdeps/i386/fpu/libm-test-ulps: Update.
70071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70073 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70075         * include/link.h (ELFW): New macro.
70076         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70077         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70079 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70081         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70082         with uint64_t.
70084 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70086         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70087         declaration.
70088         (struct La_x32_retval): Likewise.
70090 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70092         * sysdeps/x86_64/preconfigure.in: New file.
70093         * sysdeps/x86_64/preconfigure: New generated file.
70095 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70097         [BZ #13824]
70098         * math/e_exp2l.c: Include <float.h>.
70099         (__ieee754_exp2l): Handle overflow and underflow cases
70100         separately.  Only pass fractional part of argument to
70101         __ieee754_expl.
70102         * math/libm-test.inc (exp2_test): Add more tests.
70104         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70105         negating x to take absolute value.
70106         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70107         Likewise.
70108         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70110         Likewise.
70111         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70112         computing low part if x was negated.
70113         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70115 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70117         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70118         la_x32_gnu_pltexit.
70119         (pltexit): Cast int_retval to ptrdiff_t.
70120         * elf/tst-auditmod3b.c: Likewise.
70121         * elf/tst-auditmod4b.c: Likewise.
70122         * elf/tst-auditmod5b.c: Likewise.
70123         * elf/tst-auditmod6b.c: Likewise.
70124         * elf/tst-auditmod6c.c: Likewise.
70125         * elf/tst-auditmod7b.c: Likewise.
70127         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70128         and x32_gnu_pltexit.
70130         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70131         __ELF_NATIVE_CLASS.
70132         (La_x32_regs): New macro.
70133         (La_x32_retval): Likewise.
70134         (la_x32_gnu_pltenter): New function prototype.
70135         (la_x32_gnu_pltexit): Likewise.
70137 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70139         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70140         exponent.
70142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70144         * configure.in (libc_cv_cc_nofma): Check for option to disable
70145         generation of FMA instructions.
70146         * configure: Regenerate.
70147         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70148         * sysdeps/ieee754/dbl-64/Makefile: New file.
70149         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70150         Remove brandred-fma4.
70151         (CFLAGS-brandred-fma4.c): Remove.
70152         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70153         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70154         define.
70155         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70156         define.
70158 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70160         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70161         LLONG_MAX != LONG_MAX.
70162         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70163         (_fitoa_word): Likewise.
70164         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70165         LLONG_MAX != LONG_MAX.
70166         * stdio-common/_itowa.h: Include <_itoa.h>.
70167         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70168         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70169         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70170         only if not defined.
70171         (_ITOA_WORD_TYPE): Likewise.
70172         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70173         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70175 2012-03-21  David S. Miller  <davem@davemloft.net>
70177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70179 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70181         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70182         of x86_64 when setting libc_cv_slibdir, libdir and
70183         libc_cv_localedir.
70184         * sysdeps/unix/sysv/linux/configure: Regenerated.
70186 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70188         * manual/lang.texi (Old Varargs): Remove section.
70189         (How Variadic): Update menu.
70190         (va_start): Do not mention varargs.h.
70192 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70193             Joseph Myers  <joseph@codesourcery.com>
70195         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70196         link test.
70197         * configure: Regenerated.
70199 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70201         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70202         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70203         conformtest.pl
70205 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70207         * NOTES: Remove.
70208         * Makefile (files-for-dist): Remove NOTES.
70209         (NOTES): Remove rule.
70210         * README: Don't refer to NOTES.
70211         * manual/creature.texi: Don't include macros.texi.
70212         * manual/intro.texi (creature.texi): Remove comment referring to
70213         NOTES.
70215         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70216         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70217         * configure: Regenerated.
70218         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70219         LIBC_TRY_CC_OPTION.
70220         (libc_cv_as_i686): Likewise.
70221         (libc_cv_cc_avx): Likewise.
70222         (libc_cv_cc_sse2avx): Likewise.
70223         (libc_cv_cc_fma4): Likewise.
70224         (libc_cv_cc_novzeroupper): Likewise.
70225         * sysdeps/i386/configure: Regenerated.
70227         [BZ #13883]
70228         * sysdeps/i386/fpu/s_cexp.S: Remove.
70229         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70230         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70231         * math/libm-test.inc (cexp_test): Add more tests.
70232         * sysdeps/i386/fpu/libm-test-ulps: Update.
70233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70235 2012-03-21  Allan McRae  <allan@archlinux.org>
70237         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70239 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70241         [BZ #13871]
70242         * math/w_exp2.c: Do not include <float.h>.
70243         (o_threshold, u_threshold): Remove.
70244         (__exp2): Calculate result before checking finiteness and calling
70245         __kernel_standard.
70246         * math/w_exp2f.c: Likewise.
70247         * math/w_exp2l.c: Likewise.
70248         * math/libm-test.inc (exp2_test): Require overflow exception for
70249         1e6 input.
70251         [BZ #3866]
70252         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70253         range of signed 64-bit integers before using fistpll.  Remove
70254         checks for whether integers fit in mantissa bits.
70255         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70256         the range of signed 32-bit integers before using fistpl.  Remove
70257         checks for whether integers fit in mantissa bits.
70258         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70259         (__ieee754_powl): Test for y outside the range of signed 64-bit
70260         integers before using fistpll.  Reduce 64-bit values to 63-bit
70261         ones as needed.
70262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70263         divide-by-zero is raised for zero to large negative powers.
70264         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70265         (__ieee754_powl): Test for y outside the range of signed 64-bit
70266         integers before using fistpll.  Reduce 64-bit values to 63-bit
70267         ones as needed.
70268         * math/libm-test.inc (pow_test): Add more tests.
70270 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70272         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70273         <stdio-common/_itoa.h>.
70274         * debug/segfault.c: Likewise.
70275         * elf/dl-cache.c: Likewise.
70276         * elf/dl-minimal.c: Likewise.
70277         * elf/dl-misc.c: Likewise.
70278         * elf/dl-sysdep.c: Likewise.
70279         * elf/dl-version.c: Likewise.
70280         * elf/rtld.c: Likewise.
70281         * hurd/hurdsock.c: Likewise.
70282         * hurd/lookup-retry.c: Likewise.
70283         * malloc/malloc.c: Likewise.
70284         * malloc/mtrace.c: Likewise.
70285         * nscd/nscd_getgr_r.c: Likewise.
70286         * nscd/nscd_getpw_r.c: Likewise.
70287         * nscd/nscd_getserv_r.c: Likewise.
70288         * posix/getopt_init.c: Likewise.
70289         * posix/wordexp.c: Likewise.
70290         * stdio-common/_itoa.c: Likewise.
70291         * stdio-common/printf_fphex.c: Likewise.
70292         * stdio-common/vfprintf.c: Likewise.
70293         * string/_strerror.c: Likewise.
70294         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70295         * sysdeps/i386/i686/hp-timing.h: Likewise.
70296         * sysdeps/mach/_strerror.c: Likewise.
70297         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70298         * sysdeps/mach/hurd/sethostid.c: Likewise.
70299         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70300         * sysdeps/mach/xpg-strerror.c: Likewise.
70301         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70302         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70303         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70304         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70305         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70306         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70307         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70308         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70309         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70310         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70311         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70312         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70313         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70314         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70315         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70316         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70317         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70318         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70319         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70320         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70321         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70323         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70325         * stdio-common/_itoa.h: Moved to ...
70326         * sysdeps/generic/_itoa.h: Here.
70328         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70330         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70331         instead of "_itoa.h" and "_itowa.h".
70332         * stdio-common/vfprintf.: Likewise.
70334 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70336         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70337         <bits/wordsize.h>.
70338         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70339         (__signbit): Likwise.
70340         (llrintf): Likwise.
70341         (llrint): Likwise.
70343 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70345         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70346         __WORDSIZE != 64.
70348 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70350         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70351         OVERFLOW_EXCEPTION_OK.
70352         * math/libm-test.inc ("Philosophy"): Update comment about
70353         exception testing.
70354         (OVERFLOW_EXCEPTION): Define.
70355         (OVERFLOW_EXCEPTION_OK): Likewise.
70356         (INVALID_EXCEPTION_OK): Renumber.
70357         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70358         (IGNORE_ZERO_INF_SIGN): Likewise.
70359         (test_exceptions): Handle FE_OVERFLOW.
70360         (exp10_test): Expect overflow exceptions.
70361         (exp2_test): Likewise.
70362         (expm1_test): Likewise.
70363         (nextafter_test): Likewise.
70364         (pow_test): Likewise.
70365         (scalbn_test): Likewise.
70366         (scalbln_test): Likewise.
70368 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70370         * sysdeps/x86_64/bits/atomic.h
70371         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70372         64bit integer.
70373         (atomic_exchange_acq): Likewise.
70374         (__arch_exchange_and_add_body): Likewise.
70375         (__arch_add_body): Likewise.
70376         (atomic_add_negative): Likewise.
70377         (atomic_add_zero): Likewise.
70379 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70381         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70382         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70384 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70386         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70387         Check __x86_64__ instead of __WORDSIZE.
70389 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70391         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70393 2012-03-19  David S. Miller  <davem@davemloft.net>
70395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70397         * sysdeps/sparc/fpu/fenv_private.h: New file.
70398         * sysdeps/sparc/fpu/math_private.h: Use it.
70399         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70400         Remove.
70401         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70402         (libc_feholdexcept_setroundl): Remove.
70403         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70404         Remove.
70405         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70406         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70408 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70410         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70411         int64_t instead of long int.
70412         (INSERT_WORDS64): Likwise.
70414 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70416         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70417         _Unwind_GetCFA return to _Unwind_Ptr first.
70419 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70421         [BZ #13629]
70422         * math/s_clog.c: Include <float.h>.
70423         (__clog): Scale large or subnormal inputs.
70424         * math/s_clogf.c: Likewise.
70425         * math/s_clogl.c: Likewise.
70426         * math/s_clog10.c: Include <float.h>.
70427         (M_LOG10_2): Define.
70428         (__clog10): Scale large or subnormal inputs.
70429         * math/s_clog10f.c: Likewise.
70430         * math/s_clog10l.c: Likewise.
70431         * math/libm-test.inc (clog_test): Add more tests.
70432         (clog10_test): Likewise.
70433         * sysdeps/i386/fpu/libm-test-ulps: Update.
70434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70436         [BZ #11451]
70437         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70438         x and y.
70439         * math/libm-test.inc (atan2_test): Add another test.
70441         * Makerules (common-objdir-compile): Remove.
70442         * sysdeps/unix/Makefile (config-generated): Do not add
70443         $(unix-generated) to variable.
70444         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70445         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70446         Remove rule.
70447         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70448         Likewise.
70449         [generic bits/local_lim.h] (before-compile): Do not append to
70450         variable.
70451         [generic bits/local_lim.h] (common-generated): Likewise.
70452         [generic sys/param.h] (before-compile): Do not append to variable.
70453         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70454         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70455         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70456         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70457         include.
70458         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70459         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70460         [generic sys/param.h] ($(addprefix
70461         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70462         [generic sys/param.h] (common-generated): Do not append to
70463         variable.
70464         [generic sys/param.h] (sysdep_headers): Likewise.
70465         [generic bits/errno.h] (before-compile): Do not append to
70466         variable.
70467         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70468         rule.
70469         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70470         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70471         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70472         [generic bits/errno.h] (common-generated): Do not append to
70473         variable.
70474         [generic bits/ioctls.h] (before-compile): Do not append to
70475         variable.
70476         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70477         rule.
70478         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70479         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70480         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70481         rule.
70482         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70483         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70484         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70485         [generic bits/ioctls.h] (common-generated): Do not append to
70486         variable.
70487         [generic sys/syscall.h] (syscall.h): Remove variable.
70488         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70489         rule.
70490         [generic sys/syscall.h] (before-compile): Do not append to
70491         variable.
70492         [generic sys/syscall.h] (common-generated): Likewise.
70493         * sysdeps/unix/errnos-tmpl.c: Remove file.
70494         * sysdeps/unix/errnos.awk: Likewise.
70495         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70496         * sysdeps/unix/ioctls.awk: Likewise.
70497         * sysdeps/unix/mk-local_lim.c: Likewise.
70498         * sysdeps/unix/snarf-ioctls: Likewise.
70500 2012-03-19  Richard Henderson  <rth@twiddle.net>
70502         * sysdeps/i386/fpu/fenv_private.h: New file.
70503         * sysdeps/i386/fpu/math_private.h: Use it.
70504         (math_opt_barrier, math_force_eval): Remove.
70505         (libc_feholdexcept_setround_53bit): Remove.
70506         (libc_feupdateenv_53bit): Remove.
70507         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70508         (math_opt_barrier, math_force_eval): Remove.
70509         (libc_feholdexcept): Remove.
70510         (libc_feholdexcept_setround): Remove.
70511         (libc_fetestexcept, libc_fesetenv): Remove.
70512         (libc_feupdateenv_test): Remove.
70513         (libc_feupdateenv, libc_feholdsetround): Remove.
70514         (libc_feresetround): Remove.
70516         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70517         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70519         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70520         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70521         (libc_feupdateenv_testl): New.
70522         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70523         (libc_feupdateenv_testf): New.
70524         (libc_feupdateenv): Use libc_feupdateenv_test.
70525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70526         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70528         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70529         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70530         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70531         (libc_feresetround_noex): New.
70532         (libc_feresetround_noexf): New.
70533         (libc_feresetround_noexl): New.
70534         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70535         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70536         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70537         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70538         SET_RESTORE_ROUND.
70539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70540         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70541         (__cos): Likewise.
70542         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70543         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70544         SET_RESTORE_ROUND_NOEX.
70545         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70546         SET_RESTORE_ROUND_NOEXF.
70547         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70548         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70549         (libc_feholdsetroundf): New.
70550         (libc_feresetround, libc_feresetroundf): New.
70552         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70553         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70554         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70556         * sysdeps/generic/math_private.h: Include <fenv.h>.
70557         (default_libc_feholdexcept): New.
70558         (default_libc_feholdexcept_setround): New.
70559         (default_libc_fesetenv, default_libc_feupdateenv): New.
70560         (libc_feholdexcept): Only define if undefined.
70561         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70562         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70563         (libc_feholdexcept_setroundl): Likewise.
70564         (libc_feholdexcept_setround_53bit): Likewise.
70565         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70566         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70567         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70568         (libc_feupdateenv_53bit): Likewise.
70569         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70570         (libc_feholdexcept): Convert from macro to inline function.
70571         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70572         (libc_fesetenv, libc_feupdateenv): Likewise.
70574         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70575         not previously defined.
70576         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70577         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70578         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70579         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70580         * sysdeps/ieee754/flt-32/math_private.h: New file.
70581         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70582         math_private.h below SET_FLOAT_WORD.
70583         (__isnan, __isinf_ns, __finite): Remove.
70584         (__isnanf, __isinf_nsf, __finitef): Remove.
70586 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70590 2012-03-17  David S. Miller  <davem@davemloft.net>
70592         [BZ #6471]
70593         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70594         for 2.16.
70596 2012-03-16  David S. Miller  <davem@davemloft.net>
70598         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70599         warnings.
70601         [BZ #6471]
70602         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70603         properly.
70604         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70605         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70606         sysdep_routines when subdir is sysvipc.
70607         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70608         __getshmlba helper.
70610         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70612 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70614         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70615         [__LP64__].
70617 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70619         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70620         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70621         (__lround): Renamed to ...
70622         (__llround): This.  Replace long int with long long int.
70623         Define lround functions as aliases of llround functions.
70624         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70626 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70628         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70629         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70630         adresses to uintptr_t.  Replace "long int" and "unsigned long
70631         int" with "greg_t" on va_arg.
70633 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70635         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70636         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70638         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70639         Move e_machine check before EI_CLASS check.  Handle x32
70640         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70641         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70642         SKIP_EM_IA_64 and include
70643         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70645         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70646         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70647         (add_system_dir): New macro.
70649         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70650         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70652 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70654         [BZ #2551]
70655         [BZ #2552]
70656         [BZ #2553]
70657         [BZ #2554]
70658         [BZ #2562]
70659         [BZ #2563]
70660         [BZ #2565]
70661         [BZ #2566]
70662         [BZ #2576]
70663         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70664         (y0): Likewise.
70665         * math/w_j0f.c (j0f): Likewise.
70666         (y0f): Likewise.
70667         * math/w_j0l.c (__j0l): Likewise.
70668         (__y0l): Likewise.
70669         * math/w_j1.c (j1): Likewise.
70670         (y1): Likewise.
70671         * math/w_j1f.c (j1f): Likewise.
70672         (y1f): Likewise.
70673         * math/w_j1l.c (__j1l): Likewise.
70674         (__y1l): Likewise.
70675         * math/w_jn.c (jn): Likewise.
70676         (yn): Likewise.
70677         * math/w_jnf.c (jnf): Likewise.
70678         (ynf): Likewise.
70679         * math/w_jnl.c (__jnl): Likewise.
70680         (__ynl): Likewise.
70681         * math/libm-test.inc (j0_test): Add more tests.
70682         (j1_test): Likewise.
70683         (jn_test): Likewise.  Add trailing semicolon to existing test.
70684         (y0_test): Likewise.
70685         (y1_test): Likewise.
70686         * sysdeps/i386/fpu/libm-test-ulps: Update.
70687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70689         [BZ #13851]
70690         [BZ #13854]
70691         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70692         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70693         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70694         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70695         (__tanl): Set errno for infinite argument.
70696         * sysdeps/i386/fpu/mptan.c: Remove.
70697         * sysdeps/i386/fpu/s_tan.S: Likewise.
70698         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70699         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70700         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70701         * math/libm-test.inc (tan_test): Add more tests and enable more
70702         tests for double and long double.
70703         * sysdeps/i386/fpu/libm-test-ulps: Update.
70704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70706 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70708         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70709         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70711 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70713         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70714         * configure.in: Use it for both main tree and add-ons.
70715         * configure: Regenerated.
70717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70719         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70721 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70723         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70724         in comment.
70726         [BZ #13851]
70727         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70728         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70732         infinite argument.
70733         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70734         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70735         != 0 for prec == 2.
70736         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70737         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70738         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70739         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70740         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70741         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70742         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70743         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70744         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70745         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70746         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70747         * math/libm-test.inc (cos_test): Add more tests and enable more
70748         tests for long double.
70749         (sin_test): Likewise.
70750         (sincos_test): Likewise.
70751         * sysdeps/i386/fpu/libm-test-ulps: Update.
70752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70754 2012-03-16  David S. Miller  <davem@davemloft.net>
70756         * sysdeps/sparc/fpu/math_private.h: New file.
70758 2012-03-15  David S. Miller  <davem@davemloft.net>
70760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70761         file.
70762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70764         file.
70765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70771         sysdep routines.
70772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70774         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70775         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70777         * sysdeps/sparc/sparc-ifunc.h: New file.
70778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70779         sparc-ifunc.h
70780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70782         Likewise.
70783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70784         Likewise.
70785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70789         Likewise.
70790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70795         Likewise.
70796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70797         Likewise.
70798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70816         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70817         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70818         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70819         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70820         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70821         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70823 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70825         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70826         scaling.
70827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70829 2012-03-15  Andreas Jaeger  <aj@suse.de>
70831         [BZ #13852]
70832         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70833         ieee754/flt-32 implementation for sin, cos and sincos.
70834         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70835         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70836         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70837         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70838         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70839         ieee754/flt-32 implementation for tan.
70841         * math/libm-test.inc (cos_test): Enable some large input tests for
70842         float as well
70843         (sin_test): Likewise.
70844         (sincos_test): Likewise.
70845         (tan_test): Add tests for large input.
70847         * sysdeps/i386/fpu/libm-test-ulps: Update.
70849 2012-03-15  Andreas Jaeger  <aj@suse.de>
70851         [BZ #13658]
70852         * math/libm-test.inc (cos_test): Add more test cases.
70853         (sin_test): Likewise.
70854         (sincos_test): Likewise.
70856 2012-03-15  Andreas Jaeger  <aj@suse.de>
70858         [BZ #13837]
70859         * math/libm-test.inc (cos_test): Add a test case for large input
70860         value.
70861         (sin_test): Likewise.
70862         (sincos_test): Likewise.
70864 2012-03-15  Andreas Jaeger  <aj@suse.de>
70865             Joseph Myers  <joseph@codesourcery.com>
70867         [BZ #13658]
70868         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70869         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70870         * sysdeps/i386/fpu/branred.c: Likewise.
70871         * sysdeps/i386/fpu/dosincos.c: Likewise.
70872         * sysdeps/i386/fpu/mpa.c: Likewise.
70873         * sysdeps/i386/fpu/s_cos.S: Likewise.
70874         * sysdeps/i386/fpu/s_sin.S: Likewise.
70875         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70876         * sysdeps/i386/fpu/sincos32.c: Likewise.
70878         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70879         Define.
70880         (libc_feupdateenv_53bit): Define.
70881         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70882         Define.
70883         (libc_feupdateenv_53bit): Define.
70885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70886         53 bit (without extend i386 double precision).
70888         * math/libm-test.inc (sincos_test): Add tests for large input.
70889         (sin): Likewise.
70890         (cos): Likewise.
70892         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70894 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70898 2012-03-15  David S. Miller  <davem@davemloft.net>
70900         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70901         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70902         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70903         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70914         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70916         file.
70917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70919         file.
70920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70922         file.
70923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70925         file.
70926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70928         fmin/fmax sysdep routines.
70929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70931 2012-03-14  David S. Miller  <davem@davemloft.net>
70933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70939         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70940         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70955         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70956         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70957         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70958         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70959         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70960         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70962         routines.
70963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70964         file.
70965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70967         file.
70968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70970         file.
70971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70973         file.
70974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70976         file.
70977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70979         file.
70980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70981         file.
70982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70983         file.
70984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70985         file.
70986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70987         New file.
70988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70989         file.
70990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70991         file.
70992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70994         file.
70995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70997         file.
70998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71000         file.
71001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71003         VIS3 routines.
71005         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71006         New file.
71008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71010         * sysdeps/sparc/configure.in: New file.
71011         * sysdeps/sparc/configure: Generate.
71012         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71013         * configure: Regenerate.
71014         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71015         * config.make.in (have-as-vis3): New.
71016         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71017         available use -Av9d instead of -Av9a.
71018         * sysdeps/sparc/sparc64/Makefile: Likewise.
71019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71021         New file.
71022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71023         file.
71024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71025         New file.
71026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71027         file.
71028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71031         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71032         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71034         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71035         fzeros/fnegs to load 0x80000000 into a float register instead of
71036         using the stack.
71037         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71039 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71042         bits/syscall.h.
71043         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71044         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71045         ($(inst_includedir)/bits/syscall.h): Remove rule.
71046         ($(objpfx)bits/syscall.d): Include instead of
71047         $(objpfx)syscall-list.d.
71048         (generated): Change syscall-list.h and syscall-list.d to
71049         bits/syscall.h and bits/syscall.d.
71051 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71053         [BZ #13846]
71054         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71056 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71058         [BZ #13841]
71059         * math/s_csqrt.c: Include <float.h>.
71060         (__csqrt): Scale large or subnormal inputs.
71061         * math/s_csqrtf.c: Likewise.
71062         * math/s_csqrtl.c: Likewise.
71063         * math/libm-test.inc (csqrt_test): Add more tests.
71064         * sysdeps/i386/fpu/libm-test-ulps: Update.
71065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71067         [BZ #13840]
71068         * math/libm-test.inc (hypot_test): Add more tests.
71070 2012-03-13  David S. Miller  <davem@davemloft.net>
71072         [BZ #13840]
71073         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71074         double-precision for the calculation instead of scaling.
71076 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71078         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71079         manipulate bits before adding and subtracting TWO52[sx].
71080         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71081         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71082         Likewise.
71083         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71085 2012-03-13  David S. Miller  <davem@davemloft.net>
71087         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71088         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71089         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71090         rtld-global-offsets.h
71091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71093         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71094         large parameters.
71096         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71098         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71099         'err' in the ifdef scope in which it is actually used.
71101         * nss/nss_db/db-init.c: Include string.h
71103 2012-03-12  David S. Miller  <davem@davemloft.net>
71105         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71106         masking out of the most significant byte of random value used.
71107         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71108         Fix coding style in previous change.
71110         * sysdeps/unix/sysv/linux/kernel-features.h
71111         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71112         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71113         expression.
71114         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71115         later.
71117 2012-03-11  David S. Miller  <davem@davemloft.net>
71119         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71120         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71121         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71122         for 'resultvar' otherwise things get truncated on 64-bit.
71124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71125         Fix masking out of the most significant byte of random value used.
71127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71129 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71133 2012-03-09  David S. Miller  <davem@davemloft.net>
71135         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71136         variables with appropriate CPP guards.
71137         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71138         from the frame pointer, not the stack pointer.  Correct layout
71139         comments.  Fix test on resulting framesize and the management of
71140         the outregs buffer for pltexit.  Preserve floating point return
71141         values across _dl_call_pltexit call.
71142         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71143         framesize and the management of the outregs buffer for pltexit.
71144         Preserve floating point return values across _dl_call_pltexit
71145         call.
71146         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71147         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71148         (la_sparc64_gnu_pltexit): New functions.
71149         (print_exit): Fix format string for return register value.
71151 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71153         * sunrpc/Makefile (others): Add rpcgen.
71154         ($(objpfx)rpcgen): Remove special build rule and dependency on
71155         libc.
71156         * sunrpc/rpcgen.c: New file.
71158 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71160         [BZ #13673]
71161         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71162         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71163         * sysdeps/i386/crti.S: Likewise.
71164         * sysdeps/i386/crtn.S: Likewise.
71165         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71166         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71167         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71168         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71169         * sysdeps/sh/crti.S: Likewise.
71170         * sysdeps/sh/crtn.S: Likewise.
71171         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71173         [BZ #13673]
71174         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71175         with URL.
71176         * locale/programs/locfile-kw.gperf: Likewise.
71177         * locale/programs/charmap-kw.h: Regenerated.
71178         * locale/programs/locfile-kw.h: Likewise.
71180         [BZ #13673]
71181         * intl/plural.y: Replace FSF snail mail address with URL.
71182         * intl/plural.c: Regenerated.
71184 2012-03-09  Richard Henderson  <rth@twiddle.net>
71186         * include/math_private.h: Remove file.
71187         * math/math_private.h: Move file ...
71188         * sysdeps/generic/math_private.h: ... here.
71190         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71191         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71192         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71194         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71195         and <math_private.h>.
71196         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71197         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71198         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71199         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71200         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71201         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71202         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71203         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71205         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71207         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71208         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71210         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71211         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71217         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71218         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71220         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71221         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71222         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71223         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71224         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71225         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71226         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71227         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71228         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71229         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71230         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71231         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71232         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71233         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71234         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71235         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71236         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71237         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71238         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71239         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71240         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71241         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71242         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71243         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71244         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71246         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71247         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71248         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71249         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71250         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71251         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71252         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71253         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71254         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71255         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71256         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71257         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71258         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71259         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71260         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71261         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71262         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71263         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71264         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71265         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71266         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71267         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71269         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71274         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71276         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71277         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71278         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71279         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71280         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71281         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71283         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71284         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71285         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71286         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71287         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71288         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71289         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71290         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71291         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71292         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71293         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71294         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71295         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71296         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71297         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71298         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71299         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71300         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71301         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71302         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71303         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71304         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71305         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71306         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71307         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71308         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71309         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71310         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71311         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71312         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71313         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71314         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71315         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71316         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71317         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71318         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71319         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71320         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71321         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71322         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71323         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71324         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71325         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71326         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71327         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71328         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71329         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71330         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71331         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71332         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71333         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71334         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71335         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71336         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71337         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71338         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71339         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71340         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71341         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71342         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71343         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71344         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71345         * sysdeps/ieee754/k_standard.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71347         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71348         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71349         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71350         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71351         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71352         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71353         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71354         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71358         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71359         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71360         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71361         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71362         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71363         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71364         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71365         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71366         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71367         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71368         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71369         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71370         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71371         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71372         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71373         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71374         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71376         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71377         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71378         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71379         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71380         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71381         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71382         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71383         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71384         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71385         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71386         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71387         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71388         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71389         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71390         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71391         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71392         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71394         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71396         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71397         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71398         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71399         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71400         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71401         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71402         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71403         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71404         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71405         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71406         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71407         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71408         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71409         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71410         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71411         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71412         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71413         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71414         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71415         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71416         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71418         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71419         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71420         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71422         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71423         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71425         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71426         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71427         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71429         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71430         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71431         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71432         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71433         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71434         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71435         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71436         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71437         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71438         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71439         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71441         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71442         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71443         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71444         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71445         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71446         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71448         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71449         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71450         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71451         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71452         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71453         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71454         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71455         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71456         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71457         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71458         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71459         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71461         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71462         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71463         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71464         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71465         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71466         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71467         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71468         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71469         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71470         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71471         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71472         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71473         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71474         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71476         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71477         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71478         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71479         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71480         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71481         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71482         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71483         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71484         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71485         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71486         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71487         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71488         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71489         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71490         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71491         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71492         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71493         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71494         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71495         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71496         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71497         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71498         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71499         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71500         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71501         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71502         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71503         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71504         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71505         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71506         * sysdeps/ieee754/s_lib_version.c: Likewise.
71507         * sysdeps/ieee754/s_matherr.c: Likewise.
71508         * sysdeps/ieee754/s_signgam.c: Likewise.
71509         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71510         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71511         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71512         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71513         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71514         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71515         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71516         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71517         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71518         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71519         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71520         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71521         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71522         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71523         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71524         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71525         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71526         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71527         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71529         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71531 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71533         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71534         * sunrpc/rpc_main.c: Likewise.
71535         * sunrpc/rpc_svcout.c: Likewise.
71537 2012-03-09  David S. Miller  <davem@davemloft.net>
71539         * include/math_private.h: New file.
71541 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71543         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71544         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71545         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71546         from <bits/socket_type.h>.
71547         (enum __socket_type): Don't define here.
71548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71550         bits/socket_type.h.
71552         [BZ #13566]
71553         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71554         checking __USE_GNU.
71556         * Makerules ($(inst_includedir)/%.h): New rule.
71557         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71558         (install-others): Remove variable setting.
71559         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71561 2012-03-08  Richard Henderson  <rth@twiddle.net>
71563         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71564         from macro to inline function; merge with the
71565         !__LIBC_INTERNAL_MATH_INLINES version.
71566         (__ieee754_sqrtf): Likewise.
71568         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71569         to inline function.
71570         (__rintf, __floor, __floorf): Likewise.
71572         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71573         macro to inline function.
71574         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71576         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71577         not <math/math_private.h>.
71579 2012-03-08  David S. Miller  <davem@davemloft.net>
71581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71582         copyright year.
71583         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71585 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71587         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71588         normalization.
71589         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71590         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71592 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71594         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71595         be defined individually, they must be defined as a block.  Define
71596         S for printing a string instead of hidint the different by using a
71597         macro for adding the 'l'.
71598         * stdio-common/tst-fphex-wide.c: Adjust.
71600 2012-03-07  Marek Polacek  <polacek@redhat.com>
71602         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71604 2012-03-08  Marek Polacek  <polacek@redhat.com>
71606         [BZ #13806]
71607         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71608         * stdio-common/tst-fphex.c: Define a few macros to make the
71609         test reusable.  Use them.
71610         * stdio-common/tst-fphex-wide.c: New file.
71612 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71614         [BZ #6911]
71615         * manual/macros.texi (gnusystems): New macro.
71616         (nongnusystems): Likewise.
71617         (gnulinuxhurdsystems): Likewise.
71618         (gnuhurdsystems): Likewise..
71619         (gnulinuxsystems): Likewise.
71620         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71621         variants of the GNU system, not "GNU system".
71622         * manual/conf.texi: Likewise.
71623         * manual/errno.texi: Likewise.  Update example of errno macro
71624         expansion.
71625         * manual/filesys.texi: Likewise.
71626         (getumask): Document as specific to GNU/Hurd.
71627         * manual/install.texi: Likewise.  Reword some references to
71628         GNU/Linux.
71629         * manual/intro.texi: Likewise.
71630         * manual/io.texi: Likewise.
71631         (File Name Portability): Detail which constraints are inapplicable
71632         to all GNU systems and which are only inapplicable to GNU/Hurd.
71633         * manual/job.texi: Likewise.
71634         * manual/llio.texi: Likewise.
71635         (O_NOCTTY): Document as present on GNU/Linux.
71636         * manual/maint.texi: Likewise.
71637         * manual/memory.texi: Likewise.
71638         * manual/pattern.texi: Likewise.
71639         * manual/pipe.texi: Likewise.
71640         * manual/process.texi: Likewise.
71641         * manual/resource.texi: Likewise.
71642         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71643         child on GNU/Hurd.
71644         * manual/setjmp.texi: Likewise.
71645         * manual/signal.texi: Likewise.
71646         * manual/startup.texi: Likewise.
71647         * manual/stdio.texi: Likewise.
71648         * manual/terminal.texi: Likewise.
71649         (ONLCR): Document as POSIX.
71650         (OXTABS): Document availability on GNU/Linux as XTABS.
71651         (ONOEOT): Document availability separately from other bits.
71652         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71653         * manual/time.texi: Likewise.
71654         * manual/users.texi: Likewise.
71655         * INSTALL: Regenerated.
71656         * sysdeps/gnu/errlist.c: Regenerated.
71658         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71659         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71660         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71661         puts.
71662         * configure: Regenerated.
71664 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71666         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71667         default includes instead of AC_HEADER_CHECK.
71668         * sysdeps/i386/configure: Regenerated.
71670         [BZ #10716]
71671         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71672         * math/s_cacoshf.c (__cacoshf): Likewise.
71673         * math/s_cacoshl.c (__cacoshl): Likewise.
71674         * math/s_casinh.c (__casinh): Set signs of result from argument.
71675         * math/s_casinhf.c (__casinhf): Likewise.
71676         * math/s_casinhl.c (__casinhl): Likewise.
71677         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71678         (casinh_test): Add more tests.
71679         * sysdeps/i386/fpu/libm-test-ulps: Update.
71680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71682 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71684         * po/zh_TW.po: Update from translation team.
71686         * login/Makefile (distribute): Remove variable.
71687         * catgets/Makefile: Likewise.
71688         * mach/Makefile: Likewise.
71689         * malloc/Makefile: Likewise.
71690         * misc/Makefile: Likewise.
71691         * iconv/Makefile: Likewise.
71692         * nscd/Makefile: Likewise.
71693         * hurd/Makefile: Likewise.
71694         * manual/Makefile: Likewise.
71695         * locale/Makefile: Likewise.
71696         * intl/Makefile: Likewise.
71697         * conform/Makefile: Likewise.
71698         * nss/Makefile: Likewise.
71699         * time/Makefile: Likewise.
71700         * soft-fp/Makefile: Likewise.
71701         * dirent/Makefile: Likewise.
71702         * gmon/Makefile: Likewise.
71703         * po/Makefile: Likewise.
71704         * rt/Makefile: Likewise.
71705         * socket/Makefile: Likewise.
71706         * math/Makefile: Likewise.
71707         * signal/Makefile: Likewise.
71708         * debug/Makefile: Likewise.
71709         * elf/Makefile: Likewise.
71710         * timezone/Makefile: Likewise.
71711         * stdlib/Makefile: Likewise.
71712         * iconvdata/Makefile: Likewise.
71713         * sunrpc/Makefile: Likewise.
71714         * io/Makefile: Likewise.
71715         * argp/Makefile: Likewise.
71716         * inet/Makefile: Likewise.
71717         * hesiod/Makefile: Likewise.
71718         * grp/Makefile: Likewise.
71719         * csu/Makefile: Likewise.
71720         * wctype/Makefile: Likewise.
71721         * crypt/Makefile: Likewise.
71722         * libio/Makefile: Likewise.
71723         * string/Makefile: Likewise.
71724         * nis/Makefile: Likewise.
71725         * resolv/Makefile: Likewise.
71726         * stdio-common/Makefile: Likewise.
71727         * wcsmbs/Makefile: Likewise.
71728         * dlfcn/Makefile: Likewise.
71729         * posix/Makefile: Likewise.
71731         [BZ #6959]
71732         * timezone/Makefile: Don't install timezone files, just the programs
71733         and scripts.
71735 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71737         * nss/databases.def: Add missing gshadow entry.
71739         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71741 2012-03-06  Marek Polacek  <polacek@redhat.com>
71743         [BZ #13726]
71744         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71745         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71746         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71747         * stdio-common/tst-long-dbl-fphex.c: New file.
71749 2012-03-06  David S. Miller  <davem@davemloft.net>
71751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71752         (set_obp_int): New function.
71753         (get_obp_int): New function.
71754         (__get_clockfreq_via_dev_openprom): Likewise.
71755         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71756         Avoid unused variable warnings on 'val' and use builtin_expect.
71757         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71758         __builtin_expect.
71759         (INLINE_CLONE_SYSCALL): Likewise.
71761 2012-03-05  David S. Miller  <davem@davemloft.net>
71763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71765 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71770         only for |x| >= 40.
71771         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71773 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71775         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71776         Replace gettimeofday with __vdso_gettimeofday.
71778         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71779         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71780         __vdso_clock_gettime and __vdso_getcpu.
71782         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71783         time with __vdso_time.
71785 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71787         * manual/lang.texi (size_t): Note types to which size_t may be
71788         equivalent with the GNU C Library, but do not describe when
71789         differences between them are significant.
71791 2012-03-05  Andreas Jaeger  <aj@suse.de>
71793         * sysdeps/i386/fpu/libm-test-ulps: Update.
71795 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71797         [BZ #3976]
71798         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71799         (__ieee754_pow): Save and restore rounding mode and use
71800         round-to-nearest for main computations.
71801         * math/libm-test.inc (pow_test_tonearest): New function.
71802         (pow_test_towardzero): Likewise.
71803         (pow_test_downward): Likewise.
71804         (pow_test_upward): Likewise.
71805         (main): Call the new functions.
71806         * sysdeps/i386/fpu/libm-test-ulps: Update.
71807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71809         [BZ #3976]
71810         * math/libm-test.inc (cosh_test_tonearest): New function.
71811         (cosh_test_towardzero): Likewise.
71812         (cosh_test_downward): Likewise.
71813         (cosh_test_upward): Likewise.
71814         (sinh_test_tonearest): Likewise.
71815         (sinh_test_towardzero): Likewise.
71816         (sinh_test_downward): Likewise.
71817         (sinh_test_upward): Likewise.
71818         (main): Call the new functions.
71819         * sysdeps/i386/fpu/libm-test-ulps: Update.
71820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71822 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71824         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71825         default stack guard is set in last bytes.
71826         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71828 2012-03-05  Kees Cook  <keescook@chromium.org>
71830         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71832         [BZ #13656]
71833         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71834         possibly allocate from heap instead of stack.
71835         * stdio-common/bug-vfprintf-nargs.c: New file.
71836         * stdio-common/Makefile (tests): Add nargs overflow test.
71838 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71842 2012-03-03  Marek Polacek  <polacek@redhat.com>
71844         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71845         * math/math_private.h: Likewise.
71846         * stdlib/tst-strtod.c: Likewise.
71847         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71848         * sysdeps/x86_64/bits/atomic.h: Likewise.
71850 2012-03-02  David S. Miller  <davem@davemloft.net>
71852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71856         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71857         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71858         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71859         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71861 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71863         [BZ #13792]
71864         * manual/examples/README: New file, says the example source files
71865         can be used under GPL>=2.
71866         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71867         line containing just "*/".
71868         * manual/examples/add.c: Add copyright header (GPL>=2).
71869         * manual/examples/argp-ex1.c: Likewise.
71870         * manual/examples/argp-ex2.c: Likewise.
71871         * manual/examples/argp-ex3.c: Likewise.
71872         * manual/examples/argp-ex4.c: Likewise.
71873         * manual/examples/atexit.c: Likewise.
71874         * manual/examples/db.c: Likewise.
71875         * manual/examples/dir.c: Likewise.
71876         * manual/examples/dir2.c: Likewise.
71877         * manual/examples/execinfo.c: Likewise.
71878         * manual/examples/filecli.c: Likewise.
71879         * manual/examples/filesrv.c: Likewise.
71880         * manual/examples/fmtmsgexpl.c: Likewise.
71881         * manual/examples/genpass.c: Likewise.
71882         * manual/examples/inetcli.c: Likewise.
71883         * manual/examples/inetsrv.c: Likewise.
71884         * manual/examples/isockad.c: Likewise.
71885         * manual/examples/longopt.c: Likewise.
71886         * manual/examples/memopen.c: Likewise.
71887         * manual/examples/memstrm.c: Likewise.
71888         * manual/examples/mkfsock.c: Likewise.
71889         * manual/examples/mkisock.c: Likewise.
71890         * manual/examples/mygetpass.c: Likewise.
71891         * manual/examples/pipe.c: Likewise.
71892         * manual/examples/popen.c: Likewise.
71893         * manual/examples/rprintf.c: Likewise.
71894         * manual/examples/search.c: Likewise.
71895         * manual/examples/select.c: Likewise.
71896         * manual/examples/setjmp.c: Likewise.
71897         * manual/examples/sigh1.c: Likewise.
71898         * manual/examples/sigusr.c: Likewise.
71899         * manual/examples/stpcpy.c: Likewise.
71900         * manual/examples/strdupa.c: Likewise.
71901         * manual/examples/strftim.c: Likewise.
71902         * manual/examples/strncat.c: Likewise.
71903         * manual/examples/subopt.c: Likewise.
71904         * manual/examples/swapcontext.c: Likewise.
71905         * manual/examples/termios.c: Likewise.
71906         * manual/examples/testopt.c: Likewise.
71907         * manual/examples/testpass.c: Likewise.
71908         * manual/examples/timeval_subtract.c: Likewise.
71910         [BZ #13792]
71911         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71912         function to ...
71913         * manual/timeval_subtract.c.texi: ... here, new file.
71915 2012-03-02  David S. Miller  <davem@davemloft.net>
71917         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71919 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71921         [BZ #3976]
71922         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71923         (__sin): Save and restore rounding mode and use round-to-nearest
71924         for all computations.
71925         (__cos): Save and restore rounding mode and use round-to-nearest
71926         for all computations.
71927         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71928         <fenv.h>.
71929         (tan): Save and restore rounding mode and use round-to-nearest for
71930         all computations.
71931         * math/libm-test.inc (cos_test_tonearest): New function.
71932         (cos_test_towardzero): Likewise.
71933         (cos_test_downward): Likewise.
71934         (cos_test_upward): Likewise.
71935         (sin_test_tonearest): Likewise.
71936         (sin_test_towardzero): Likewise.
71937         (sin_test_downward): Likewise.
71938         (sin_test_upward): Likewise.
71939         (tan_test_tonearest): Likewise.
71940         (tan_test_towardzero): Likewise.
71941         (tan_test_downward): Likewise.
71942         (tan_test_upward): Likewise.
71943         (main): Call the new functions.
71944         * sysdeps/i386/fpu/libm-test-ulps: Update.
71945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71947         [BZ #10135]
71948         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71949         small n, then large n, before computing and testing k+n.
71950         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71952         Likewise.
71953         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71954         Likewise.
71955         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71956         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71961         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71962         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71963         * math/libm-test.inc (scalbn_test): Add more tests.
71964         (scalbln_test): Likewise.
71966         * manual/filesys.texi (mode_t): Describe constraints on size and
71967         signedness, not exact equivalence to a particular type.
71968         (ino_t): Likewise.
71969         (ino64_t): Likewise.
71970         (dev_t): Likewise.
71971         (nlink_t): Likewise.
71972         (blkcnt_t): Likewise.
71973         (blkcnt64_t): Likewise.
71974         * manual/llio.texi (off_t): Likewise.
71976         [BZ #3976]
71977         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71978         (__ieee754_exp): Save and restore rounding mode and use
71979         round-to-nearest for all computations.
71980         * math/libm-test.inc (exp_test_tonearest): New function.
71981         (exp_test_towardzero): Likewise.
71982         (exp_test_downward): Likewise.
71983         (exp_test_upward): Likewise.
71984         (main): Call the new functions.
71985         * sysdeps/i386/fpu/libm-test-ulps: Update.
71986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71988 2012-03-01  Chris Demetriou  <cgd@google.com>
71990         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71991         have predictable order.
71993 2012-03-01  David S. Miller  <davem@davemloft.net>
71995         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71997         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71998         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71999         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72000         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72002         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72003         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72004         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72006         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72007         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72008         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72009         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72010         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72014         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72015         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72016         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72018         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72019         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72020         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72021         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72022         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72023         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72024         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72025         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72026         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72027         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72028         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72031         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72032         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72034         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72035         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72036         * sysdeps/sparc/elf/configure: Regenerated.
72038 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72040         * configure.in (AS, LD): Require binutils 2.20 or later.
72041         * configure: Regenerated.
72042         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72043         as required minimum version.
72044         * INSTALL: Regenerated.
72046         [BZ #2541]
72047         [BZ #4108]
72048         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72049         before squaring exponent.
72050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72051         bottom long double and 27 bits of top long double before squaring
72052         exponent.
72053         * math/libm-test.inc (erfc_test): Add more tests.
72054         * sysdeps/i386/fpu/libm-test-ulps: Update.
72055         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72058 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72060         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72061         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72062         containing bit-fields.
72063         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72064         * soft-fp/single.h (_FP_UNION_S): Likewise.
72065         * soft-fp/double.h (_FP_UNION_D): Likewise.
72067 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72069         [BZ #13786]
72070         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72071         not include ../strcmp.S.
72072         [USE_AS_STRNCASECMP_L]: Likewise.
72073         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72074         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72075         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72076         (__strncasecmp_l_ia32): Define as alias to
72077         __strncasecmp_l_nonascii.
72079         [BZ #5794]
72080         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72081         * sysdeps/i386/fpu/libm-test-ulps: Update.
72082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72084         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72087 2012-02-29  Jeff Law  <law@redhat.com>
72089         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72090         out of bounds read.
72092 2012-02-29  Marek Polacek  <polacek@redhat.com>
72094         [BZ #13706]
72095         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72096         * elf/Makefile: Add rules to run tst-unused-dep.out.
72098 2012-02-28  David S. Miller  <davem@davemloft.net>
72100         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72101         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72102         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72103         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72104         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72105         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72107 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72109         * math/libm-test.inc (llround_test): Move one test from
72110         lround_test.  Use TEST_f_L in moved test.
72111         (lround_test): Move misplaced test to llround_test.  Add testcase
72112         from bug 2561.
72114 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72116         * sysdeps/x86_64/fpu/e_expf.S: New file.
72117         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72119 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72121         [BZ #13637]
72122         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72123         of remain_len that may cause incomplete multi-byte character and
72124         false match.
72125         * posix/bug-regex33.c: New file.
72126         * posix/Makefile (tests): Add bug-regex33.
72128 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72130         * manual/macros.texi: New file.
72131         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72132         * manual/libc.texinfo: Include macros.texi.
72133         * manual/creatute.texi: Likewise.
72134         * manual/install.texi: Likewise.
72135         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72136         @glibcadj{} in references to the GNU C Library.
72137         * manual/charset.texi: Likewise.
72138         * manual/conf.texi: Likewise.
72139         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72140         when not using those macros.
72141         * manual/creature.texi: Likewise.
72142         * manual/crypt.texi: Likewise.
72143         * manual/errno.texi: Likewise.
72144         * manual/filesys.texi: Likewise.
72145         * manual/header.texi: Likewise.
72146         * manual/install.texi: Likewise.
72147         * manual/intro.texi: Likewise.
72148         * manual/io.texi: Likewise.
72149         * manual/job.texi: Likewise.
72150         * manual/lang.texi: Likewise.
72151         * manual/libc.texiinfo: Likewise.
72152         * manual/llio.texi: Likewise.
72153         * manual/locale.texi: Likewise.
72154         * manual/maint.texi: Likewise.
72155         * manual/math.texi: Likewise.
72156         * manual/memory.texi: Likewise.
72157         * manual/message.texi: Likewise.
72158         * manual/nss.texi: Likewise.
72159         * manual/pattern.texi: Likewise.
72160         * manual/process.texi: Likewise.
72161         * manual/resource.texi: Likewise.
72162         * manual/search.texi: Likewise.
72163         * manual/setjmp.texi: Likewise.
72164         * manual/signal.texi: Likewise.
72165         * manual/socket.texi: Likewise.
72166         * manual/startup.texi: Likewise.
72167         * manual/stdio.texi: Likewise.
72168         * manual/string.texi: Likewise.
72169         * manual/sysinfo.texi: Likewise.
72170         * manual/syslog.texi: Likewise.
72171         * manual/terminal.texi: Likewise.
72172         * manual/time.texi: Likewise.
72173         * manual/users.texi: Likewise.
72174         * INSTALL: Regenerated.
72175         * NOTES: Regenerated.
72176         * sysdeps/gnu/errlist.c: Regenerated.
72178 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72180         * include/dirent.h: Include <dirstream.h> before
72181         <dirent/dirent.h>.
72183 2012-02-28  David S. Miller  <davem@davemloft.net>
72185         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72186         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72187         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72188         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72190 2012-02-27  David S. Miller  <davem@davemloft.net>
72192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72194         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72195         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72198         frame pointer instead of stack pointer relative arg slot.
72199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72203 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72205         [BZ #3992]
72206         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72208 2012-02-27  David S. Miller  <davem@davemloft.net>
72210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72214         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72215         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72216         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72217         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72219 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72221         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72222         later.  Allow versions 5-9.
72223         * configure: Regenerated.
72224         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72225         required minimum version and 4.6 as recommended version.  Do not
72226         mention bugs in GCC 2.7 and 2.8.
72227         * INSTALL: Regenerated.
72229 2012-02-27  David S. Miller  <davem@davemloft.net>
72231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72235         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72236         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72237         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72238         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72240         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72241         manipulate bits before adding and subtracting TWO112[sx].
72242         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72244 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72246         [BZ #13775]
72247         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72248         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72249         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72250         being in POSIX, because they are in 1003.1-2008.
72252         * rt/tst-aio.c: Include <fcntl.h>.
72253         * rt/tst-aio7.c: Likewise.
72254         * rt/tst-aio64.c: Likewise.
72256         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72258 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72260         * manual/install.texi (--with-headers): Describe headers as
72261         interface headers, not private headers.
72262         (Specific advice for GNU/Linux systems): Describe use of headers
72263         from "make headers_install", not private headers from older
72264         kernels.
72265         * INSTALL: Regenerated.
72266         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72267         Change to 2.6.19.
72268         * sysdeps/unix/sysv/linux/configure: Regenerated.
72270         * manual/llio.texi (fclean): Remove documentation.
72272         * manual/Makefile (libc-texi-generated): New variable.  Include
72273         version.texi.
72274         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72275         $(libc-texi-generated), not duplicated list of files.
72276         (version.texi, stamp-version): New rules.
72277         (realclean): Remove $(libc-texi-generated), not individual files
72278         from that list.  Do not remove dir-add.texinfo.
72279         * manual/libc.texinfo: Comment out uses of edition numbers and
72280         references to printed manual.  Remove last-updated dates.
72281         (EDITION): Comment out.
72282         (ISBN): Likewise.
72283         (VERSION, UPDATED): Remove.
72284         (version.texi): Include.
72286 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72288         * sysdeps/posix/spawni.c: Include <signal.h>.
72289         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72290         * sysdeps/pthread/aio_fsync.c: Likewise.
72292 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72294         * conform/Makefile (tests): Run only when not cross-compiling and
72295         when fast-check is not defined.
72297         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72298         * conform/data/limits.h-data: Fixes for POSIX2008.
72299         * conform/run-conformtest.sh: Run all tests.
72300         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72301         headers.
72302         * include/bits/dlfcn.h: Likewise.
72303         * include/langinfo.h: Likewise.
72304         * include/monetary.h: Likewise.
72305         * include/sys/poll.h: Likewise.
72307         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72308         for __USE_GNU.
72309         * posix/spawn.h: Define __need_sigset_t.
72310         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72311         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72312         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72313         to get sigevent_t only.
72314         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72315         only for __USE_GNU.
72316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72317         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72318         process_vm_writev only for __USE_GNU.
72319         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72321         * conform/Makefile: For now ignore errors from run-conformtest.
72322         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72323         POSIX to avoid namespace pollution.  Don't prepend headers.
72324         * conform/data/aio.h-data: Fixes for POSIX testing.
72325         * conform/data/fcntl.h-data: Likewise.
72326         * conform/data/glob.h-data: Likewise.
72327         * conform/data/grp.h-data: Likewise.
72328         * conform/data/pthread.h-data: Likewise.
72329         * conform/data/pwd.h-data: Likewise.
72330         * conform/data/signal.h-data: Likewise.
72331         * conform/data/spawn.h-data: Likewise.
72332         * conform/data/stdio.h-data: Likewise.
72333         * conform/data/stdlib.h-data: Likewise.
72334         * conform/data/stropts.h-data: Likewise.
72335         * conform/data/sys/mman.h-data: Likewise.
72336         * conform/data/sys/stat.h-data: Likewise.
72337         * conform/data/sys/types.h-data: Likewise.
72338         * conform/data/sys/wait.h-data: Likewise.
72339         * conform/data/time.h-data: Likewise.
72340         * conform/data/unistd.h-data: Likewise.
72341         * conform/data/utime.h-data: Likewise.
72343         * io/sys/stat.h: fchmod was always in POSIX.
72344         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72345         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72346         * rt/aio.h: Define __need_timespec before including <time.h>.
72347         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72348         struct.  Add forward declaration of pthread_attr_t and use it in
72349         sigevent.
72350         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72351         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72352         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72353         always remove CLK_TCK definition.
72355 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72357         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72359 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72361         * conform/run-conformtest.sh: New file.
72362         * conform/Makefile: Run run-conformtest for tests.
72363         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72364         support.
72366         * conform/data/uchar.h-data: New file.
72367         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72368         * conform/data/arpa/inet.h-data: Likewise.
72369         * conform/data/assert.h-data: Likewise.
72370         * conform/data/complex.h-data: Likewise.
72371         * conform/data/cpio.h-data: Likewise.
72372         * conform/data/ctype.h-data: Likewise.
72373         * conform/data/dirent.h-data: Likewise.
72374         * conform/data/dlfcn.h-data: Likewise.
72375         * conform/data/errno.h-data: Likewise.
72376         * conform/data/fcntl.h-data: Likewise.
72377         * conform/data/float.h-data: Likewise.
72378         * conform/data/fmtmsg.h-data: Likewise.
72379         * conform/data/fnmatch.h-data: Likewise.
72380         * conform/data/ftw.h-data: Likewise.
72381         * conform/data/glob.h-data: Likewise.
72382         * conform/data/grp.h-data: Likewise.
72383         * conform/data/iconv.h-data: Likewise.
72384         * conform/data/inttypes.h-data: Likewise.
72385         * conform/data/langinfo.h-data: Likewise.
72386         * conform/data/libgen.h-data: Likewise.
72387         * conform/data/limits.h-data: Likewise.
72388         * conform/data/locale.h-data: Likewise.
72389         * conform/data/math.h-data: Likewise.
72390         * conform/data/monetary.h-data: Likewise.
72391         * conform/data/mqueue.h-data: Likewise.
72392         * conform/data/ndbm.h-data: Likewise.
72393         * conform/data/net/if.h-data: Likewise.
72394         * conform/data/netdb.h-data: Likewise.
72395         * conform/data/netinet/in.h-data: Likewise.
72396         * conform/data/nl_types.h-data: Likewise.
72397         * conform/data/poll.h-data: Likewise.
72398         * conform/data/pthread.h-data: Likewise.
72399         * conform/data/pwd.h-data: Likewise.
72400         * conform/data/regex.h-data: Likewise.
72401         * conform/data/sched.h-data: Likewise.
72402         * conform/data/search.h-data: Likewise.
72403         * conform/data/semaphore.h-data: Likewise.
72404         * conform/data/setjmp.h-data: Likewise.
72405         * conform/data/signal.h-data: Likewise.
72406         * conform/data/spawn.h-data: Likewise.
72407         * conform/data/stdarg.h-data: Likewise.
72408         * conform/data/stdio.h-data: Likewise.
72409         * conform/data/stdlib.h-data: Likewise.
72410         * conform/data/string.h-data: Likewise.
72411         * conform/data/strings.h-data: Likewise.
72412         * conform/data/stropts.h-data: Likewise.
72413         * conform/data/sys/ipc.h-data: Likewise.
72414         * conform/data/sys/mman.h-data: Likewise.
72415         * conform/data/sys/msg.h-data: Likewise.
72416         * conform/data/sys/resource.h-data: Likewise.
72417         * conform/data/sys/select.h-data: Likewise.
72418         * conform/data/sys/sem.h-data: Likewise.
72419         * conform/data/sys/shm.h-data: Likewise.
72420         * conform/data/sys/socket.h-data: Likewise.
72421         * conform/data/sys/stat.h-data: Likewise.
72422         * conform/data/sys/statvfs.h-data: Likewise.
72423         * conform/data/sys/time.h-data: Likewise.
72424         * conform/data/sys/timeb.h-data: Likewise.
72425         * conform/data/sys/times.h-data: Likewise.
72426         * conform/data/sys/types.h-data: Likewise.
72427         * conform/data/sys/uio.h-data: Likewise.
72428         * conform/data/sys/un.h-data: Likewise.
72429         * conform/data/sys/utsname.h-data: Likewise.
72430         * conform/data/sys/wait.h-data: Likewise.
72431         * conform/data/syslog.h-data: Likewise.
72432         * conform/data/tar.h-data: Likewise.
72433         * conform/data/termios.h-data: Likewise.
72434         * conform/data/utime.h-data: Likewise.
72435         * conform/data/utmpx.h-data: Likewise.
72436         * conform/data/varargs.h-data: Likewise.
72437         * conform/data/wchar.h-data: Likewise.
72438         * conform/data/wctype.h-data: Likewise.
72439         * conform/data/wordexp.h-data: Likewise.
72441         * include/stropts.h: New file.
72442         * include/uchar.h: New file.
72443         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72444         * include/assert.h: Likewise.
72445         * include/ctype.h: Likewise.
72446         * include/dirent.h: Likewise.
72447         * include/dlfcn.h: Likewise.
72448         * include/fcntl.h: Likewise.
72449         * include/fnmatch.h: Likewise.
72450         * include/glob.h: Likewise.
72451         * include/grp.h: Likewise.
72452         * include/libio.h: Likewise.
72453         * include/locale.h: Likewise.
72454         * include/math.h: Likewise.
72455         * include/net/if.h: Likewise.
72456         * include/netdb.h: Likewise.
72457         * include/netinet/in.h: Likewise.
72458         * include/pthread.h: Likewise.
72459         * include/pwd.h: Likewise.
72460         * include/regex.h: Likewise.
72461         * include/sched.h: Likewise.
72462         * include/search.h: Likewise.
72463         * include/setjmp.h: Likewise.
72464         * include/signal.h: Likewise.
72465         * include/stdio.h: Likewise.
72466         * include/stdlib.h: Likewise.
72467         * include/string.h: Likewise.
72468         * include/sys/cdefs.h: Likewise.
72469         * include/sys/mman.h: Likewise.
72470         * include/sys/msg.h: Likewise.
72471         * include/sys/resource.h: Likewise.
72472         * include/sys/select.h: Likewise.
72473         * include/sys/socket.h: Likewise.
72474         * include/sys/stat.h: Likewise.
72475         * include/sys/statvfs.h: Likewise.
72476         * include/sys/time.h: Likewise.
72477         * include/sys/times.h: Likewise.
72478         * include/sys/uio.h: Likewise.
72479         * include/sys/utsname.h: Likewise.
72480         * include/sys/wait.h: Likewise.
72481         * include/termios.h: Likewise.
72482         * include/time.h: Likewise.
72483         * include/ulimit.h: Likewise.
72484         * include/unistd.h: Likewise.
72485         * include/utime.h: Likewise.
72486         * include/wchar.h: Likewise.
72487         * include/wctype.h: Likewise.
72488         * include/wordexp.h: Likewise.
72490         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72492         * time/time.h: TIME_UTC must be a macro.
72493         Make timespec_get available for ISO C11 only as well.
72495 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72497         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72498         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72500 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72502         * configure.in: Use -o not -a in test for unsupported multi-arch.
72504 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72506         * manual/texinfo.tex: Update to version 2012-01-19.16.
72508 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72510         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72512 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72514         [BZ #13738]
72515         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72516         * manual/fdl-1.3.texi: New file.
72517         * manual/fdl-1.1.texi: File removed.
72519         [BZ #13738]
72520         * manual/libc.texinfo (FDL_VERSION): New @set.
72521         Use it for mention of FDL in cover text.
72522         (Documentation License): Use it in @include file name.
72524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72525             Roland McGrath  <roland@hack.frob.com>
72527         [BZ #5461]
72528         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72529         (not LONG_LONG_MAX and LONG_LONG_MIN.
72530         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72531         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72532         name.
72533         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72535 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72537         [BZ #2547]
72538         [BZ #11365]
72539         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72540         manipulate bits before adding and subtracting TWO23[sx].
72541         * math/libm-test.inc (nearbyint_test): Add more tests.
72543 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72545         [BZ #2548]
72546         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72547         bits before adding and subtracting TWO23[sx].
72548         * math/libm-test.inc (rint_test): Add more tests.
72549         (rint_test_tonearest): Likewise.
72550         (rint_test_towardzero): Likewise.
72551         (rint_test_downward): Likewise.
72552         (rint_test_upward: Likewise.
72554 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72556         [BZ #10110]
72557         * include/stdc-predef.h: New file.  Extracted from features.h.
72558         * include/features.h: Include stdc-predef.h.
72559         * Makefile (headers): Add stdc-predef.h.
72560         * CONFORMANCE (Compiler limitations): Update.
72562 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72564         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72566 2012-02-21  David S. Miller  <davem@davemloft.net>
72568         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72569         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72571 2012-02-20  David S. Miller  <davem@davemloft.net>
72573         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72574         using a normal save/restore sequence, rather than allocating a
72575         dummy stack frame just to store a frame pointer and restore.
72576         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72578 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72580         * manual/install.texi: Fix stray word in line-wrapped comment.
72582 2012-02-20  David S. Miller  <davem@davemloft.net>
72584         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72585         both binutils and gcc support GOTDATA.
72587         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72588         "rd %pc" in the PIC register setup sequences.
72590         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72591         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72592         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72593         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72594         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72596         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72597         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72599         (SYSCALL_ERROR_HANDLER): Likewise.
72600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72601         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72603         (SYSCALL_ERROR_HANDLER): Likewise.
72605         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72606         (HAVE_GCC_GOTDATA): New.
72607         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72608         relocation support in both binutils and gcc.
72609         * sysdeps/sparc/elf/configure: Regenerate.
72611         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72612         * sysdeps/sparc/sparc32/elf/configure: Delete.
72613         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72614         * sysdeps/sparc/sparc64/elf/configure: Delete.
72615         * sysdeps/sparc/elf/configure.in: New file.
72616         * sysdeps/sparc/elf/configure: Generate.
72618         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72619         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72620         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72621         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72622         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72624 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72626         * manual/install.texi: Do not mention specific glibc version
72627         numbers.
72628         * manual/libc.texinfo (VERSION, UPDATED): Update.
72629         (@copying): Use @copyright{} and range of years.
72631 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72633         [BZ #13695]
72634         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72635         [crti.S not in sysdirs] (generated): Do not append.
72636         [crti.S not in sysdirs] (omit-deps): Likewise.
72637         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72638         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72639         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72640         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72641         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72642         Likewise.
72643         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72644         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72645         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72646         * csu/defs.awk: Remove file.
72647         * sysdeps/generic/initfini.c: Likewise.
72648         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72649         variable.
72650         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72651         Likewise.
72653 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72655         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72656         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72657         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72659         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72660         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72661         <bits/epoll.h>.
72662         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72663         (__EPOLL_PACKED): Define to empty if not defined by
72664         <bits/epoll.h>.
72665         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72667         bits/epoll.h.
72669 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72671         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72672         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72673         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72674         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72675         <bits/timerfd.h>.
72676         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72678         bits/timerfd.h.
72680 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72682         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72683         in C locale.
72684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72685         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72689 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72691         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72692         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72694 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72696         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72697         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72698         defined.
72699         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72700         Likewise.
72701         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72702         entry for 2.16.
72704 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72706         * math/w_acos.c: Use non-signaling floating-point comparisons.
72707         * math/w_acosf.c: Likewise.
72708         * math/w_acosh.c: Likewise.
72709         * math/w_acoshf.c: Likewise.
72710         * math/w_acoshl.c: Likewise.
72711         * math/w_acosl.c: Likewise.
72712         * math/w_asin.c: Likewise.
72713         * math/w_asinf.c: Likewise.
72714         * math/w_asinl.c: Likewise.
72715         * math/w_atanh.c: Likewise.
72716         * math/w_atanhf.c: Likewise.
72717         * math/w_atanhl.c: Likewise.
72718         * math/w_exp2.c: Likewise.
72719         * math/w_exp2f.c: Likewise.
72720         * math/w_exp2l.c: Likewise.
72721         * math/w_j0.c: Likewise.
72722         * math/w_j0f.c: Likewise.
72723         * math/w_j0l.c: Likewise.
72724         * math/w_j1.c: Likewise.
72725         * math/w_j1f.c: Likewise.
72726         * math/w_j1l.c: Likewise.
72727         * math/w_jn.c: Likewise.
72728         * math/w_jnf.c: Likewise.
72729         * math/w_log.c: Likewise.
72730         * math/w_log10.c: Likewise.
72731         * math/w_log10f.c: Likewise.
72732         * math/w_log10l.c: Likewise.
72733         * math/w_log2.c: Likewise.
72734         * math/w_log2f.c: Likewise.
72735         * math/w_log2l.c: Likewise.
72736         * math/w_logf.c: Likewise.
72737         * math/w_logl.c: Likewise.
72738         * math/w_sqrt.c: Likewise.
72739         * math/w_sqrtf.c: Likewise.
72740         * math/w_sqrtl.c: Likewise.
72741         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72742         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72743         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72744         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72745         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72747 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72749         [BZ #9739]
72750         * manual/string.texi (strnlen): Use correct parameter name in
72751         equivalent expression.
72753 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72755         [BZ #11174]
72756         * manual/users.texi (seteuid): Consistently use neweuid for
72757         argument name.
72759 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72761         [BZ #13704]
72762         * manual/nss.texi (Services in the NSS configuration): Correct
72763         list of services in example configuration file.
72765 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72767         [BZ #11322]
72768         * manual/arith.texi: Remove statements about negative zero
72769         behaving identically to zero.
72771 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72773         [BZ #5993]
72774         * manual/install.texi: Do not document upgrading from libc5.
72776 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72778         [BZ #4596]
72779         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72781 2012-02-18  David S. Miller  <davem@davemloft.net>
72783         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72784         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72785         %o7 across the call.
72786         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72787         instead.
72788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72789         SETUP_PIC_REG_LEAF.
72790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72791         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72792         * sysdeps/sparc/crtn.S: Likewise.
72794 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72796         * aout/Makefile: Remove.
72798 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72800         [BZ #13058]
72801         * manual/examples/argp-ex1.c (main): Format definition in GNU
72802         style.
72803         * manual/examples/argp-ex2.c (main): Likewise.
72804         * manual/examples/argp-ex3.c (main): Likewise.
72805         * manual/examples/argp-ex4.c (main): Likewise.
72806         * manual/examples/longopt.c (main): Use new-style prototype
72807         definition.
72808         * manual/examples/strncat.c (main): Specify return type and use
72809         (void) for arguments.
72810         * manual/examples/subopt.c (main): Use char **argv argument.
72812 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72814         [BZ #5077]
72815         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72816         rounding modes.
72818 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72820         [BZ #6907]
72821         * manual/string.texi (strchr): Change when strchrnul is
72822         recommended.
72824 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72826         [BZ #174]
72827         * manual/locale.texi (setlocale): Document LOCPATH.
72829 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72831         [BZ #10210]
72832         * manual/process.texi (execle): Move @dots{} before last argument.
72834 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72836         [BZ #12047]
72837         * manual/charset.texi (Generic Charset Conversion): Fix typo
72838         (LC_TYPE -> LC_CTYPE).
72840 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72842         [BZ #5805]
72843         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72844         (scalbnf): Likewise.
72845         (scalbnl): Likewise.
72846         (scalbln): Likewise.
72847         (scalblnf): Likewise.
72848         (scalblnl): Likewise.
72849         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72850         (vwarnx): Likewise.
72851         (verr): Likewise.
72852         (verrx): Likewise.
72853         * manual/filesys.texi (telldir): Use braces around return type.
72854         * manual/llio.texi (mmap): Add space after comma.
72855         (mmap64): Likewise.
72856         * manual/math.texi (jn): Use @var{} on parameter names.
72857         (jnf): Likewise.
72858         (jnl): Likewise.
72859         (yn): Likewise.
72860         (ynf): Likewise.
72861         (ynl): Likewise.
72862         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72863         line.
72864         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72865         "...".
72866         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72867         (sched_get_priority_max): Likewise.
72868         * manual/signal.texi (sigvec): Add space after comma.
72869         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72870         names.
72871         (if_indextoname): Likewise.
72872         (if_freenameindex): Likewise.
72873         (sendto): Use ',' instead of '.' in prototype.
72874         * manual/startup.texi (syscall): Use @dots{} instead of literal
72875         "...".
72876         * manual/stdio.texi (__fpending): Separate initial words of
72877         paragraph from @deftypefun line.
72878         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72879         "...".
72880         (vsyslog): Use @var{} on parameter names.
72881         * manual/terminal.texi (stty): Use @var{} on parameter names.
72882         * manual/users.texi (getutmp): Use @var{} on parameter names.
72883         (getutmpx): Likewise.
72885 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72887         [BZ #6884]
72888         * manual/stdio.texi (fopen): Fix typos in description of
72889         ",ccs=STRING".
72891 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72893         [BZ #4026]
72894         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72895         get clock_id definition.
72897 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72899         [BZ #4822]
72900         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72901         (madvise): Cast every argument to void on its own.
72903 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72905         [BZ #9902]
72906         * manual/startup.texi (Exit Status): Fix typo.
72908 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72910         [BZ #10140]
72911         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72912         * manual/examples/argp-ex2.c: Likewise.
72913         * manual/examples/argp-ex3.c: Likewise.
72915 2012-02-16  Richard Henderson  <rth@redhat.com>
72917         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72918         * sysdeps/s390/s390-32/initfini.c: Remove.
72919         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72920         * sysdeps/s390/s390-64/initfini.c: Remove.
72922 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72924         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72925         compiler output for sysdeps/generic/initfini.c.
72926         * sysdeps/sh/elf/initfini.c: Remove file.
72928 2012-02-16  David S. Miller  <davem@davemloft.net>
72930         [BZ #11494]
72931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72933         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72934         * sysdeps/sparc/crti.S: New file.
72935         * sysdeps/sparc/crtn.S: New file.
72936         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72937         * sysdeps/sparc/sparc64/Makefile: Likewise.
72939 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72941         [BZ #3335]
72942         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72944 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72946         [BZ #4822]
72947         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72949         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72950         (write, read, close): Likewise.
72951         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72953 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72955         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72956         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72957         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72958         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72959         <bits/signalfd.h>.
72960         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72962         bits/signalfd.h.
72964 2012-02-14  Marek Polacek  <polacek@redhat.com>
72966         * sysdeps/x86_64/crti.S: New file.
72967         * sysdeps/x86_64/crtn.S: New file.
72968         * sysdeps/x86_64/elf/initfini.c: Remove file.
72970 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72972         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72973         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72974         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72975         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72976         <bits/inotify.h>.
72977         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72979         bits/inotify.h.
72981 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72983         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72984         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72985         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72986         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72987         <bits/eventfd.h>.
72988         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72990         bits/eventfd.h.
72992 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72994         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72995         __feraiseexcept instead of feraiseexcept.
72997         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72998         nanosleep invocations.
72999         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73000         strings, and add error checking for a nanosleep invocations.
73002 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73004         Replace FSF snail mail address with URLs, as per GNU coding standards.
73005         Most of the snail mail addresses were wrong anyway, and omitting
73006         them makes the source code easier to maintain.  Almost all of the
73007         changes are to license notices and to locale LC_IDENTIFICATION
73008         addresses, except for this one:
73009         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73010         not its snail mail address.
73012 2012-02-09  Richard Henderson  <rth@twiddle.net>
73014         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73015         of kernel-features.h.
73017         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73019 2012-02-08  Marek Polacek  <polacek@redhat.com>
73021         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73022         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73023         * sysdeps/gnu/_G_config.h: Likewise.
73024         * sysdeps/generic/_G_config.h: Likewise.
73026 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73028         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73029         tests.
73030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73032         * sysdeps/powerpc/powerpc32/crti.S: New file.
73033         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73034         * sysdeps/powerpc/powerpc64/crti.S: New file.
73035         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73037         * Makeconfig (have-initfini): Don't set.
73038         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73039         * configure.in (nopic_initfini): Don't substitute.
73040         * config.h.in (HAVE_INITFINI): Don't #undef.
73041         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73042         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73044 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73046         Support crti.S and crtn.S provided directly by architectures.
73047         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73048         [crti.S in sysdirs] (omit-deps): Likewise.
73049         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73050         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73051         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73052         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73053         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73054         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73055         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73056         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73057         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73058         compiler output for sysdeps/generic/initfini.c.
73059         * sysdeps/i386/elf/Makefile: Remove file.
73060         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73062 2012-02-07  Marek Polacek  <polacek@redhat.com>
73064         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73065         * sysdeps/gnu/_G_config.h: Likewise.
73066         * sysdeps/mach/hurd/_G_config.h: Likewise.
73068 2012-02-07  Marek Polacek  <polacek@redhat.com>
73070         * math/Makefile (tests): Add tst-CMPLX2.
73071         * math/tst-CMPLX2.c: New file.
73073 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73075         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73077         * math/libm-test.inc (jn_test): Add missing L suffix.
73079 2012-02-06  Marek Polacek  <polacek@redhat.com>
73081         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73082         * sysdeps/i386/fpu/e_powf.S: Likewise.
73083         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73084         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73085         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73086         * sysdeps/i386/fpu/e_pow.S: Likewise.
73087         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73088         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73089         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73090         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73091         * sysdeps/i386/fpu/e_log2.S: Likewise.
73092         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73093         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73094         * sysdeps/i386/fpu/e_powl.S: Likewise.
73095         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73096         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73097         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73098         * sysdeps/i386/fpu/e_logl.S: Likewise.
73099         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73100         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73101         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73102         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73103         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73104         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73105         * sysdeps/i386/fpu/e_log.S: Likewise.
73106         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73107         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73108         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73109         * sysdeps/i386/fpu/e_logf.S: Likewise.
73110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73111         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73112         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73113         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73114         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73115         * sysdeps/i386/fpu/e_log10.S: Likewise.
73116         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73117         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73118         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73119         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73120         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73121         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73122         * sysdeps/i386/asm-syntax.h: Likewise.
73123         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73124         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73125         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73126         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73127         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73128         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73129         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73130         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73131         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73132         * sysdeps/powerpc/sysdep.h: Likewise.
73133         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73134         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73136 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73138         [BZ #411]
73139         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73141 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73143         * sysdeps/i386/sysdep.h: Include <features.h>.
73144         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73145         version.
73147 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73149         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73150         Define.
73151         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73152         LOAD_PIC_REG_STR.
73154 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73156         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73157         (SETUP_PIC_REG): Use GET_PC_THUNK.
73158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73159         macro.
73161 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73163         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73164         for non-PIC compilation.
73165         (SETUP_PIC_REG): Add .p2align directive.
73166         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73167         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73168         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73169         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73170         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73171         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73172         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73173         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73174         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73175         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73176         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73177         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73178         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73179         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73180         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73181         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73182         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73183         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73184         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73185         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73186         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73187         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73188         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73189         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73190         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73194         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73195         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73196         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73197         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73198         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73199         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73200         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73201         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73202         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73203         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73204         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73205         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73206         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73208 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73210         * math/tst-CMPLX.c: Include <stdio.h>.
73212 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73214         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73215         float.
73216         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73217         * sysdeps/sparc/bits/mathdef.h: Likewise.
73219 2012-01-31  Marek Polacek  <polacek@redhat.com>
73221         * libio/libio.h: Don't define _PARAMS.
73222         * locale/programs/config.h: Don't define PARAMS.
73223         * stdlib/strtol_l.c: Likewise.
73224         (__strtol_l): Remove PARAMS from the prototype.
73226 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73228         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73229         names.  Just use the correct names.  Remove unnecessary wrapper
73230         functions.
73231         * malloc/arena.c: Likewise.
73232         * malloc/hooks.c: Likewise.
73234         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73235         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73236         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73238 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73240         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73241         into tail calls.
73242         (update_get_addr): New function.
73243         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73244         GET_ADDR_MODULE parameter.
73246 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73248         * crypt/cert.c: Remove __STDC__ conditionals.
73249         * crypt/crypt-entry.c: Likewise.
73250         * crypt/crypt_util.c: Likewise.
73251         * libio/filedoalloc.c: Likewise.
73252         * libio/fileops.c: Likewise.
73253         * libio/genops.c: Likewise.
73254         * libio/iofclose.c: Likewise.
73255         * libio/iofdopen.c: Likewise.
73256         * libio/iofopen.c: Likewise.
73257         * libio/iofopen64.c: Likewise.
73258         * libio/iogetdelim.c: Likewise.
73259         * libio/iopopen.c: Likewise.
73260         * libio/obprintf.c: Likewise.
73261         * libio/oldfileops.c: Likewise.
73262         * libio/oldiofclose.c: Likewise.
73263         * libio/oldiofdopen.c: Likewise.
73264         * libio/oldiofopen.c: Likewise.
73265         * libio/oldiopopen.c: Likewise.
73266         * libio/wfiledoalloc.c: Likewise.
73267         * libio/wgenops.c: Likewise.
73268         * locale/programs/xmalloc.c: Likewise.
73269         * misc/syslog.c: Likewise.
73270         * stdio-common/xbug.c: Likewise.
73271         * string/memchr.c: Likewise.
73272         * string/memcmp.c: Likewise.
73273         * string/memrchr.c: Likewise.
73274         * string/rawmemchr.c: Likewise.
73275         * sysdeps/posix/getcwd.c: Likewise.
73276         * time/strftime_l.c: Likewise.
73278 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73280         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73281         * config.make.in (config-cflags-sse2avx): Define.
73282         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73283         Fix typo.
73285 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73287         * scripts/config.guess: Update from upstream config git repository.
73288         * scripts/config.sub: Likewise.
73290 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73292         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73293         (EM_NUM): Update.
73294         (R_TILEPRO_*, R_TILEGX_*): New macros.
73296         * scripts/firstversions.awk: Fix bug in version range handling.
73298         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73300         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73302         * include/sys/epoll.h: New file.
73303         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73304         libc_hidden_def.
73306 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73308         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73309         Avoid unnecessary __WORDSIZE == 64 test.
73310         (fmaxf): Use VEX format if possible.
73311         (fmax): Likewise.
73312         (fminf): Likewise.
73313         (fmin): Likewise.
73315         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73316         * math/math_private.h: Remove libc_fegetround* and
73317         libc_fesetround*.
73318         * sysdeps/i386/configure.in: Check for -msse2avx.
73319         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73320         also if SSE2AVX is defined.
73321         Remove libc_fegetround* and libc_fesetround*.
73322         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73323         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73324         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73325         of HAS_YMM_USABLE.
73326         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73327         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73328         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73329         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73330         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73332         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73334 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73336         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73337         size is not set.
73338         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73340 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73342         [BZ #13618]
73343         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73344         relocation.
73345         * Makeconfig (libm): Define.
73346         * elf/Makefile: Add rules to build and run tst-relsort1.
73347         * elf/tst-relsort1.c: New file.
73348         * elf/tst-relsort1mod1.c: New file.
73349         * elf/tst-relsort1mod2.c: New file.
73351 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73353         * math/s_ldexp.c: Remove __STDC__ conditionals.
73354         * math/s_ldexpf.c: Likewise.
73355         * math/s_ldexpl.c: Likewise.
73356         * math/s_nextafter.c: Likewise.
73357         * math/s_nexttowardf.c: Likewise.
73358         * math/s_significand.c: Likewise.
73359         * math/s_significandf.c: Likewise.
73360         * math/s_significandl.c: Likewise.
73361         * math/w_jnl.c: Likewise.
73362         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73363         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73364         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73365         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73366         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73368         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73369         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73370         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73371         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73378         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73379         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73381         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73382         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73383         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73384         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73386         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73387         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73388         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73389         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73390         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73391         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73392         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73393         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73394         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73395         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73396         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73397         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73398         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73399         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73400         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73401         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73402         * sysdeps/ieee754/k_standard.c: Likewise.
73403         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73404         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73405         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73406         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73407         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73408         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73409         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73410         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73411         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73412         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73413         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73414         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73415         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73416         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73417         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73419         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73420         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73421         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73422         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73425         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73426         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73427         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73428         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73431         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73432         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73433         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73434         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73435         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73436         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73438         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73439         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73441         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73446         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73448         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73449         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73450         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73452         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73453         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73454         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73456         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73457         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73458         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73459         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73460         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73461         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73462         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73463         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73464         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73465         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73466         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73467         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73468         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73469         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73470         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73471         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73472         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73473         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73474         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73475         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73477         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73478         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73479         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73480         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73481         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73482         * sysdeps/ieee754/s_matherr.c: Likewise.
73483         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73484         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73485         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73486         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73488 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73490         * crypt/md5.h: Remove __STDC__ conditionals.
73491         * libio/libioP.h: Likewise.
73492         * locale/programs/config.h: Likewise.
73493         * sysdeps/generic/sysdep.h: Likewise.
73494         * sysdeps/i386/asm-syntax.h: Likewise.
73495         * sysdeps/s390/asm-syntax.h: Likewise.
73496         * sysdeps/unix/sysdep.h: Likewise.
73497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73500 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73502         * libio/libio.h: Remove __STDC__ conditionals.
73503         * malloc/obstack.h: Likewise.
73504         * math/complex.h: Likewise.
73505         * math/math.h: Likewise.
73506         * sysdeps/generic/_G_config.h: Likewise.
73507         * sysdeps/gnu/_G_config.h: Likewise.
73508         * sysdeps/mach/hurd/_G_config.h: Likewise.
73509         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73510         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73511         * sysdeps/sparc/bits/mathdef.h: Likewise.
73513 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73515         [BZ #13583]
73516         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73517         Clean up HAS_* macros.
73518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73519         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73520         possible.
73521         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73522         HAS_AVX.
73523         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73524         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73525         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73526         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73529 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73531         * elf/tst-unique3.cc (gets): Remove declaration.
73532         * elf/tst-unique3lib.cc (gets): Likewise.
73533         * elf/tst-unique3lib2.cc (gets): Likewise.
73534         * elf/tst-unique4.cc (gets): Likewise.
73536 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73538         * include/stdio.h: Add C++ protection.  Add gets declarations and
73539         definitions.
73540         * debug/tst-chk1.c: Don't declare gets here.
73541         * stdio-common/tst-gets.c: Likewise.
73543 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73545         * posix/glob: Remove directory.
73547 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73549         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73551 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73553         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73554         of the non-standard EPFNOSUPPORT.
73556 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73558         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73559         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73560         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73562 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73564         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73566 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73568         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73569         transient errors.
73570         * nscd/grpcache.c (cache_addgr): Likewise.
73571         * nscd/hstcache.c (cache_addhst): Likewise.
73572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73573         * nscd/pwdcache.c (cache_addpw): Likewise.
73574         * nscd/servicescache.c (cache_addserv): Likewise.
73576 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73578         * malloc/malloc.c: Various cleanups.
73579         * malloc/hooks.c: Likewise.
73581         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73582         * stdlib/bug-fmtmsg1.c: New file.
73584         * stdlib/fmtmsg.c (init): Add missing unlock.
73585         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73587 2012-01-12  Marek Polacek  <polacek@redhat.com>
73589         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73590         and _GNU_SOURCE.
73592 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73594         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73595         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73596         macro to ensure uniqueness of label name.
73597         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73598         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73600 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73602         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73604         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73605         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73609 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73611         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73613         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73614         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73615         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73617         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73619         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73620         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73621         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73624         * math/bits/math-finite.h: Add ldexp support.
73626 2012-01-10  Marek Polacek  <polacek@redhat.com>
73628         * locale/programs/localedef.h (show_archive_content): Add noreturn
73629         attribute.
73631 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73633         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73635 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73637         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73639         * io/Makefile (headers): Add bits/poll2.h.
73641 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73644         typo #include statement.
73646 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73648         * include/sys/cdefs.h: Define __attribute_alloc_size.
73649         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73650         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73651         * elf/pldd.c: Likewise.
73652         * iconv/iconv_charmap.c: Likewise.
73653         * iconv/iconvconfig.c: Likewise.
73654         * iconv/strtab.c: Likewise.
73655         * locale/programs/locale.c: Likewise.
73656         * locale/programs/localedef.h: Likewise.
73657         * locale/programs/simple-hash.c: Likewise.
73658         * nscd/nscd.h: Likewise.
73659         * nss/makedb.c: Likewise.
73660         * sysdeps/generic/ldconfig.h: Likewise.
73661         * locale/programs/localedef.c: Remove xmalloc prototype.
73662         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73664 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73667         appropriate.
73669 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73671         * math/Makefile (tests): Add tst-CMPLX.
73672         * math/tst-CMPLX.c: New file.
73674         * math/complex.h (CMPLXL): Fix typo.
73676         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73677         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73678         GLIBC_2.16.
73679         * debug/tst-chk1.c: Add poll and ppoll tests.
73680         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73681         * include/sys/poll.h: Add hidden proto for ppoll.
73682         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73683         * sysdeps/mach/hurd/ppoll.c: Likewise.
73684         * io/ppoll.c: Likewise.
73685         * debug/poll_chk.c: New file.
73686         * debug/ppoll_chk.c: New file.
73687         * include/bits/poll2.h: New file.
73688         * io/bits/poll2.h: New file.
73690         [BZ #1350]
73691         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73693         * configure.in: static is always set to yes.  Remove.
73694         * config.make.in: Don't set build-static.
73695         * Makeconfig: Remove use of build-static.
73696         * dlfcn/Makefile: Likewise.
73697         * elf/Makefile: Likewise.
73698         * math/Makefile: Likewise.
73699         * misc/Makefile: Likewise.
73700         * nptl/Makefile: Likewise.
73701         * sysdeps/mach/hurd/Makefile: Likewise.
73703         * configure.in: PWD_P is not used anymore.
73704         * config.make.in: Remove PWD_P entry.
73706         * configure.in: Remove last remnants of RANLIB.
73707         No need to check for signed size_t anymore.
73708         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73709         and IA-64.
73710         Remove __builtin_expect test because we require at least gcc 3.4.
73711         * aclocal.m4: Likewise.
73713         * wcsmbs/mbrtoc16.c: Implement using towc function.
73714         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73715         * wcsmbs/wcsmbsload.c: Likewise.
73716         * iconv/gconv_simple.c: Likewise.
73717         * iconv/gconv_int.h: Likewise.
73718         * iconv/gconv_builtin.h: Likewise.
73719         * iconv/iconv_prog.c: Remove CHAR16 handling.
73721         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73723         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73725         * configure.in: Remove --with-elf and --enable-bounded options.
73726         Dont set base_machine for ia64.  More non-ELF conditions removed.
73727         Remove testing and setting of leading underscore information.
73728         * config.make.in (build-bounded): Set to no.
73729         * config.h.in: Remove NO_UNDERSCORES entry.
73730         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73731         them.
73732         * csu/start.c: Remove !NO_UNDERSCORE code.
73733         * locale/localeinfo.h: Likewise.
73734         * sysdeps/generic/machine-gmon.h: Likewise.
73735         * sysdeps/generic/sysdep.h: Likewise.
73736         * sysdeps/i386/sysdep.h: Likewise.
73737         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73738         * sysdeps/mach/sysdep.h: Likewise.
73739         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73740         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73741         * sysdeps/sh/sysdep.h: Likewise.
73742         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73743         * sysdeps/unix/i386/sysdep.S: Likewise.
73744         * sysdeps/unix/sparc/start.c: Likewise.
73745         * sysdeps/unix/sparc/sysdep.S: Likewise.
73746         * sysdeps/unix/sparc/sysdep.h: Likewise.
73747         * sysdeps/unix/start.c: Likewise.
73748         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73749         * sysdeps/x86_64/sysdep.h: Likewise.
73751 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73753         [BZ #13553]
73754         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73755         for non-gcc.
73756         * argp/argp-fmtstream.h: Use const instead __const.
73757         * argp/argp.h: Likewise.
73758         * assert/assert.h: Likewise.
73759         * bits/fenv.h: Likewise.
73760         * bits/sched.h: Likewise.
73761         * bits/sigset.h: Likewise.
73762         * bits/sigthread.h: Likewise.
73763         * catgets/nl_types.h: Likewise.
73764         * conform/data/pthread.h-data: Likewise.
73765         * crypt/crypt-private.h: Likewise.
73766         * crypt/crypt.h: Likewise.
73767         * crypt/crypt_util.c: Likewise.
73768         * ctype/ctype.h: Likewise.
73769         * debug/execinfo.h: Likewise.
73770         * debug/mbsnrtowcs_chk.c: Likewise.
73771         * debug/mbsrtowcs_chk.c: Likewise.
73772         * debug/wcsnrtombs_chk.c: Likewise.
73773         * debug/wcsrtombs_chk.c: Likewise.
73774         * debug/wcstombs_chk.c: Likewise.
73775         * dirent/dirent.h: Likewise.
73776         * dlfcn/dlfcn.h: Likewise.
73777         * elf/neededtest4.c: Likewise.
73778         * grp/grp.h: Likewise.
73779         * gshadow/gshadow.h: Likewise.
73780         * iconv/gconv.h: Likewise.
73781         * iconv/gconv_int.h: Likewise.
73782         * iconv/gconv_simple.c: Likewise.
73783         * iconv/iconv.h: Likewise.
73784         * iconv/loop.c: Likewise.
73785         * iconv/skeleton.c: Likewise.
73786         * include/aio.h: Likewise.
73787         * include/aliases.h: Likewise.
73788         * include/argz.h: Likewise.
73789         * include/arpa/inet.h: Likewise.
73790         * include/assert.h: Likewise.
73791         * include/dirent.h: Likewise.
73792         * include/dlfcn.h: Likewise.
73793         * include/execinfo.h: Likewise.
73794         * include/fcntl.h: Likewise.
73795         * include/fenv.h: Likewise.
73796         * include/glob.h: Likewise.
73797         * include/grp.h: Likewise.
73798         * include/libintl.h: Likewise.
73799         * include/mntent.h: Likewise.
73800         * include/netdb.h: Likewise.
73801         * include/pwd.h: Likewise.
73802         * include/rpc/netdb.h: Likewise.
73803         * include/sched.h: Likewise.
73804         * include/search.h: Likewise.
73805         * include/shadow.h: Likewise.
73806         * include/signal.h: Likewise.
73807         * include/stdio.h: Likewise.
73808         * include/stdlib.h: Likewise.
73809         * include/string.h: Likewise.
73810         * include/sys/socket.h: Likewise.
73811         * include/sys/stat.h: Likewise.
73812         * include/sys/statfs.h: Likewise.
73813         * include/sys/statvfs.h: Likewise.
73814         * include/sys/syslog.h: Likewise.
73815         * include/sys/time.h: Likewise.
73816         * include/sys/uio.h: Likewise.
73817         * include/time.h: Likewise.
73818         * include/unistd.h: Likewise.
73819         * include/utmp.h: Likewise.
73820         * include/wchar.h: Likewise.
73821         * include/wctype.h: Likewise.
73822         * inet/aliases.h: Likewise.
73823         * inet/arpa/inet.h: Likewise.
73824         * inet/netinet/ether.h: Likewise.
73825         * inet/netinet/in.h: Likewise.
73826         * intl/libintl.h: Likewise.
73827         * io/bits/fcntl2.h: Likewise.
73828         * io/fcntl.h: Likewise.
73829         * io/ftw.h: Likewise.
73830         * io/sys/poll.h: Likewise.
73831         * io/sys/stat.h: Likewise.
73832         * io/sys/statfs.h: Likewise.
73833         * io/sys/statvfs.h: Likewise.
73834         * io/utime.h: Likewise.
73835         * libio/bits/stdio.h: Likewise.
73836         * libio/bits/stdio2.h: Likewise.
73837         * libio/libio.h: Likewise.
73838         * libio/libioP.h: Likewise.
73839         * libio/stdio.h: Likewise.
73840         * locale/lc-ctype.c: Likewise.
73841         * locale/locale.h: Likewise.
73842         * login/utmp.h: Likewise.
73843         * malloc/arena.c: Likewise.
73844         * malloc/malloc.c: Likewise.
73845         * malloc/malloc.h: Likewise.
73846         * malloc/mcheck.c: Likewise.
73847         * malloc/mtrace.c: Likewise.
73848         * math/bits/mathcalls.h: Likewise.
73849         * math/fenv.h: Likewise.
73850         * math/math_private.h: Likewise.
73851         * misc/bits/error.h: Likewise.
73852         * misc/bits/syslog.h: Likewise.
73853         * misc/err.h: Likewise.
73854         * misc/error.h: Likewise.
73855         * misc/fstab.h: Likewise.
73856         * misc/mntent.h: Likewise.
73857         * misc/regexp.h: Likewise.
73858         * misc/search.h: Likewise.
73859         * misc/sgtty.h: Likewise.
73860         * misc/sys/mman.h: Likewise.
73861         * misc/sys/syslog.h: Likewise.
73862         * misc/sys/uio.h: Likewise.
73863         * misc/sys/xattr.h: Likewise.
73864         * misc/ttyent.h: Likewise.
73865         * nis/rpcsvc/ypclnt.h: Likewise.
73866         * nss/nss.h: Likewise.
73867         * posix/bits/unistd.h: Likewise.
73868         * posix/fnmatch.h: Likewise.
73869         * posix/glob.h: Likewise.
73870         * posix/sched.h: Likewise.
73871         * posix/spawn.h: Likewise.
73872         * posix/sys/wait.h: Likewise.
73873         * posix/unistd.h: Likewise.
73874         * posix/wordexp.h: Likewise.
73875         * pwd/pwd.h: Likewise.
73876         * resolv/netdb.h: Likewise.
73877         * resource/sys/resource.h: Likewise.
73878         * rt/aio.h: Likewise.
73879         * rt/bits/mqueue2.h: Likewise.
73880         * rt/mqueue.h: Likewise.
73881         * shadow/shadow.h: Likewise.
73882         * signal/signal.h: Likewise.
73883         * socket/send.c: Likewise.
73884         * socket/sendto.c: Likewise.
73885         * socket/sys/socket.h: Likewise.
73886         * stdio-common/printf.h: Likewise.
73887         * stdlib/bits/stdlib.h: Likewise.
73888         * stdlib/fmtmsg.h: Likewise.
73889         * stdlib/monetary.h: Likewise.
73890         * stdlib/stdlib.h: Likewise.
73891         * stdlib/ucontext.h: Likewise.
73892         * streams/stropts.h: Likewise.
73893         * string/argz.h: Likewise.
73894         * string/bits/string2.h: Likewise.
73895         * string/string.h: Likewise.
73896         * string/strings.h: Likewise.
73897         * sunrpc/rpc/auth.h: Likewise.
73898         * sunrpc/rpc/auth_des.h: Likewise.
73899         * sunrpc/rpc/clnt.h: Likewise.
73900         * sunrpc/rpc/netdb.h: Likewise.
73901         * sunrpc/rpc/pmap_clnt.h: Likewise.
73902         * sunrpc/rpc/xdr.h: Likewise.
73903         * sysdeps/generic/inttypes.h: Likewise.
73904         * sysdeps/generic/net/if.h: Likewise.
73905         * sysdeps/generic/sys/swap.h: Likewise.
73906         * sysdeps/gnu/net/if.h: Likewise.
73907         * sysdeps/gnu/utmpx.h: Likewise.
73908         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73909         * sysdeps/i386/i486/bits/string.h: Likewise.
73910         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73911         * sysdeps/s390/bits/string.h: Likewise.
73912         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73913         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73914         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73915         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73916         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73917         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73918         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73919         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73920         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73921         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73922         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73923         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73924         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73925         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73926         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73927         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73928         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73930         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73932         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73933         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73934         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73935         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73936         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73937         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73938         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73939         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73940         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73941         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73942         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73943         * sysvipc/sys/ipc.h: Likewise.
73944         * sysvipc/sys/msg.h: Likewise.
73945         * sysvipc/sys/sem.h: Likewise.
73946         * sysvipc/sys/shm.h: Likewise.
73947         * termios/termios.h: Likewise.
73948         * time/sys/time.h: Likewise.
73949         * time/time.h: Likewise.
73950         * wcsmbs/bits/wchar2.h: Likewise.
73951         * wcsmbs/uchar.h: Likewise.
73952         * wcsmbs/wchar.h: Likewise.
73953         * wctype/wctype.h: Likewise.
73955         [BZ #13551]
73956         * Makeconfig: Remove all but ELF support including AIX support.
73957         * Makerules: Likewise.
73958         * config.h.in: Likewise.
73959         * config.make.in: Likewise.
73960         * configure: Likewise.
73961         * configure.in: Likewise.
73962         * csu/Makefile: Likewise.
73963         * csu/version.c: Likewise.
73964         * debug/Makefile: Likewise.
73965         * dlfcn/Makefile: Likewise.
73966         * elf/Makefile: Likewise.
73967         * extra-lib.mk: Likewise.
73968         * iconv/Makefile: Likewise.
73969         * include/libc-symbols.h: Likewise.
73970         * include/shlib-compat.h: Likewise.
73971         * resolv/Makefile: Likewise.
73972         * resolv/res_libc.c: Likewise.
73973         * rt/Makefile: Likewise.
73974         * sysdeps/i386/asm-syntax.h: Likewise.
73975         * sysdeps/i386/sysdep.h: Likewise.
73976         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73977         * sysdeps/mach/sysdep.h: Likewise.
73978         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73979         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73980         * sysdeps/s390/asm-syntax.h: Likewise.
73981         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73982         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73983         * sysdeps/sh/sysdep.h: Likewise.
73984         * sysdeps/unix/sparc/sysdep.h: Likewise.
73985         * sysdeps/wordsize-32/divdi3.c: Likewise.
73986         * sysdeps/x86_64/sysdep.h: Likewise.
73988         * argp/Versions: Remove _argp_unlock_xxx.
73990         [BZ #13559]
73991         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73992         * abilist/libBrokenLocale.abilist: Likewise.
73993         * abilist/libanl.abilist: Likewise.
73994         * abilist/libc.abilist: Likewise.
73995         * abilist/libcrypt.abilist: Likewise.
73996         * abilist/libdl.abilist: Likewise.
73997         * abilist/libm.abilist: Likewise.
73998         * abilist/libnsl.abilist: Likewise.
73999         * abilist/libpthread.abilist: Likewise.
74000         * abilist/libresolv.abilist: Likewise.
74001         * abilist/librt.abilist: Likewise.
74002         * abilist/libthread_db.abilist: Likewise.
74003         * abilist/libutil.abilist: Likewise.
74004         * abilist/libnss_db.abilist: New file.
74006         * scripts/abilist.awk: Add support for indirect functions.
74008         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74010         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74012         * shlib-versions: Remove entries for ports architectures.
74014         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74015         files in ports.
74016         * elf/stackguard-macros.h: Remove support for IA-64.
74017         * elf/tst-auditmod1.c: Likewise.
74018         * sysdeps/generic/ldsodefs.h: Likewise.
74020         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74021         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74022         configure files.
74024         [BZ #13552]
74025         * configure.in: Remove --enable-omitfp support.
74026         * FAQ.in: Adjust.
74027         * config.make.in: Likewise.
74028         * Makeconfig: Likewise.
74029         * manual/install.texi: Likewise.
74031         In case anyone cares, the IA-64 architecture could move to ports.
74032         * sysdeps/ia64/*: Removed.
74033         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74034         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74036         [BZ #13555]
74037         * configure.in: Remove entries for unsupported architectures.
74039         [BZ #13533]
74040         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74041         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74042         routines.
74043         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74044         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74045         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74046         fall back to using wcrtomb.
74047         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74048         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74049         renaming.
74050         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74051         * wcsmbs/tst-c16c32-1.c: New file.
74053         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74054         local variable.
74056         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74058         * elf/tst-unique3.cc: Add explicit declaration of gets.
74059         * elf/tst-unique3lib.cc: Likewise.
74060         * elf/tst-unique3lib2.cc: Likewise.
74061         * elf/tst-unique4.cc: Likewise.
74063         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74065 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74067         [BZ #13566]
74068         * assert/assert.h (static_assert): Don't define for C++.
74069         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74070         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74072 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74074         * iconv/loop.c (single loop): Fix assertion in storing of
74075         remaining bytes.
74077         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74079 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74081         * posix/getconf.c: Update copyright year.
74082         * nss/getent.c: Likewise.
74083         * nss/makedb.c: Likewise.
74084         * iconv/iconvconfig.c: Likewise.
74085         * iconv/iconv_prog.c: Likewise.
74086         * elf/ldconfig.c: Likewise.
74087         * elf/pldd.c: Likewise.
74088         * elf/sotruss.ksh: Likewise.
74089         * catgets/gencat.c: Likewise.
74090         * csu/version.c: Likewise.
74091         * elf/ldd.bash.in: Likewise.
74092         * elf/sprof.c (print_version): Likewise.
74093         * locale/programs/locale.c: Likewise.
74094         * locale/programs/localedef.c: Likewise.
74095         * login/programs/pt_chown.c: Likewise.
74096         * nscd/nscd.c (print_version): Likewise.
74097         * debug/xtrace.sh: Likewise.
74098         * malloc/memusage.sh: Likewise.
74099         * malloc/mtrace.pl: Likewise.
74100         * debug/catchsegv.sh: Likewise.
74102 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74104         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74105         pure attribute.
74107 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74109         [BZ #13533]
74110         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74111         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74112         transformations.
74113         * iconv/gconv_int.h: Likewise.
74114         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74115         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74116         from libc for GLIBC_2.16.
74117         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74118         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74119         * wcsmbs/uchar.h: Really define mbstate_t.
74120         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74121         * wcsmbs/c16rtomb.c: New file.
74122         * wcsmbs/mbrtoc16.c: New file.
74123         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74124         for C/POSIX locale.
74125         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74126         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74128         * wcsmbs/wchar.h: Add missing __restrict.
74130 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74132         [BZ #13532]
74133         * time/Makefile (routines): Add timespec_get.
74134         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74135         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74136         timespec for ISO C11.
74137         * time/timespec_get.c: New file.
74138         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74139         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74141         [BZ #13531]
74142         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74143         * stdlib/stdlib.h: Declare aligned_alloc.
74144         * Versions.def: Add GLIBC_2.16 for libc.
74145         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74147         [BZ 13527]
74148         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74149         ISO C11.
74151         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74152         code.
74154         [BZ #13528]
74155         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74157         [BZ #13529]
74158         * assert/assert.h (static_assert): Define.
74160         * version.h: Update for 2.16 development version.
74162         [BZ #13526]
74163         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74164         _ISOC11_SOURCE.
74166         * version.h (RELEASE): Bump for 2.15 release.
74167         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74169         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74170         Patch by Marek Polacek <mpolacek@redhat.com>.
74172         * bits/byteswap.h: Protect long long constants with __extension__.
74173         * sysdeps/i386/bits/byteswap.h: Likewise.
74174         * sysdeps/ia64/bits/byteswap.h: Likewise.
74175         * sysdeps/s390/bits/byteswap.h: Likewise.
74176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74178 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74180         [BZ #13540]
74181         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74182         destination buffer.
74183         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74185 2011-12-23  Marek Polacek  <polacek@redhat.com>
74187         * elf/dl-addr.c (determine_info): Add inline keyword.
74188         * elf/tst-auditmod4b.c (check_avx): Likewise.
74189         * elf/tst-auditmod6b.c (check_avx): Likewise.
74190         * elf/tst-auditmod6c.c (check_avx): Likewise.
74191         * elf/tst-auditmod7b.c (check_avx): Likewise.
74193 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74195         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74196         !__SSE_MATH__.
74198 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74200         [BZ #13540]
74201         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74202         processing for last bytes.
74204 2011-08-06  Bruno Haible  <bruno@clisp.org>
74206         [BZ #13061]
74207         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74208         U+0385, not to U+1FEE.
74210         [BZ #13062]
74211         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74212         entry for U+00A5 U+0301.
74214 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74216         [BZ #13166]
74217         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74218         buffer for the output is too small.
74220         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74221         optimization.
74223         [BZ #13185]
74224         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74225         SSE flags if possible.
74227 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74229         [BZ #13540]
74230         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74231         processing for last bytes.
74233 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74235         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74236         (syscall-list-default-options, syscall-list-default-condition)
74237         (syscall-list-includes): Define.
74238         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74239         list of ABIs and options and #if conditions for each ABI.  Do not
74240         handle common syscalls between ABIs specially.
74241         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74242         Remove.
74243         (syscall-list-variants, syscall-list-32bit-options)
74244         (syscall-list-32bit-condition, syscall-list-64bit-options)
74245         (syscall-list-64bit-condition): Define.
74246         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74247         (syscall-list-variants, syscall-list-32bit-options)
74248         (syscall-list-32bit-condition, syscall-list-64bit-options)
74249         (syscall-list-64bit-condition): Define.
74250         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74251         Remove.
74252         (syscall-list-variants, syscall-list-32bit-options)
74253         (syscall-list-32bit-condition, syscall-list-64bit-options)
74254         (syscall-list-64bit-condition): Define.
74255         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74256         Remove.
74257         (syscall-list-variants, syscall-list-32bit-options)
74258         (syscall-list-32bit-condition, syscall-list-64bit-options)
74259         (syscall-list-64bit-condition): Define.
74261 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74263         * locale/iso-639.def: Add brx entry.
74265         [BZ #13328]
74266         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74267         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74269         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74270         __feraiseexcept_renamed.
74272 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74274         [BZ #13538]
74275         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74276         EPOLLET with unsigned values.
74277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74280         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74281         to large cancellation.
74282         * math/s_cacoshf.c: Likewise.
74283         * math/s_cacoshl.c: Likewise.
74285 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74287         [BZ #13305]
74288         [BZ #12786]
74289         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74290         * math/s_cacoshf.c: Likewise.
74291         * math/s_cacoshl.c: Likewise.
74293 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74295         [BZ #13439]
74296         * iconv/gconv.h: Define __GCONV_SWAP.
74297         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74298         * iconvdata/utf-16.c: Likewise.
74299         * iconvdata/utf-32.c: Likewise.
74301 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74303         [BZ #13524]
74304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74305         numerator after shifting it by one limb.
74307 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74309         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74310         under [__USE_EXTERN_INLINES].
74312 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74314         [BZ #13446]
74315         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74317 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74319         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74320         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74321         optimized code.
74322         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74323         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74324         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74325         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74326         for strncasecmp/strncasecmp_l compilation.
74327         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74328         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74330 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74332         [BZ #13484]
74333         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74334         of __asm__.
74336 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74338         [BZ #13506]
74339         * time/tzfile.c (__tzfile_read): Check values from file header.
74341 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74343         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74344         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74345         * powerpc/powerpc32/dl-start.S: Likewise.
74346         * powerpc/powerpc32/elf/start.S: Likewise.
74347         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74348         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74349         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74350         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74351         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74352         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74353         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74354         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74355         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74356         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74357         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74358         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74359         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74360         * powerpc/powerpc32/memset.S: Likewise.
74361         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74362         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74363         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74364         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74365         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74366         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74367         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74368         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74369         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74370         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74371         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74372         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74373         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74375 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74377         * math/libm-test.inc: Added more nearbyint tests.
74378         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74379         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74383 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74385         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74386         FD_CLOEXEC.
74388 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74390         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74391         Add wcscpy-ssse3 wcscpy-c.
74392         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74393         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74394         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74395         * sysdeps/x86_64/wcschr.S: New file.
74396         * sysdeps/x86_64/wcsrchr.S: New file.
74397         * string/test-strcmp.c: Remove checking of wcscmp function for
74398         wrong alignments.
74399         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74400         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74401         wcsrchr-sse2 wcsrchr-c.
74402         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74403         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74404         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74405         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74406         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74407         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74408         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74409         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74410         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74411         * wcsmbc/wcschr.c (WCSCHR): New macro.
74413 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74415         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74416         * wcsmbs/test-wcsrchr.c: New file.
74417         * string/test-strrchr.c: Add wcsrchr support.
74418         (WIDE): New macro.
74419         * wcsmbs/test-wcscpy.c: New file.
74420         * string/test-strcpy.c: Add wcscpy support.
74421         (WIDE): New macro.
74423 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74425         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74426         the inner loop.
74428 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74430         [BZ #13472]
74431         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74433 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74435         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74436         Minor optimizations.
74438         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74439         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74440         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74442 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74444         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74445         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74446         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74447         for gcc to avoid warnings.
74448         * inet/Makefile (tests): Add tst-checks.
74449         * inet/tst-checks.c: New file.
74451         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74452         warning.
74454         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74455         __wmemcmp_sse2.
74457         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74458         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74460         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74462 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74464         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74465         problem.
74467         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74469 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74471         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74472         conditional on GCC version.
74473         (__arch_compare_and_exchange_val_8_acq)
74474         (__arch_compare_and_exchange_val_16_acq)
74475         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74476         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74477         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74479 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74481         * sysdeps/sh/backtrace.c: New file.
74483 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74485         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74486         parenthesis.
74488 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74490         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74491         falling back to utime.
74493 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74495         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74496         expectations for float.
74498 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74500         * locale/weight.h (findidx): Add parameter len.
74501         * locale/weightwc.h (findidx): Likewise.
74502         * posix/fnmatch_loop.c (FCT): Adjust caller.
74503         * posix/regcomp.c (build_equiv_class): Likewise.
74504         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74505         * posix/regexec.c (check_node_accept_bytes): Likewise.
74506         * string/strcoll_l.c (STRCOLL): Likewise.
74507         * string/strxfrm_l.c (STRXFRM): Likewise.
74509 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74511         * Makefile.in: Remove CVSOPT handling.
74512         * configure.in: Remove use of AC_REVISION.
74513         * iconvdata/Makefile (distribute): No need to filter out CVS.
74514         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74515         handling.
74517 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74520         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74521         [USE_AS_STRNCASECMP_L]: Likewise.
74522         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74523         NO_TLS_DIRECT_SEG_REFS.
74524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74525         Fix argument offsets for non-PIC.
74526         [USE_AS_STRNCASECMP_L]: Likewise.
74527         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74528         NO_TLS_DIRECT_SEG_REFS.
74530 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74532         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74533         O_CLOEXEC.
74534         * locale/loadlocale.c (_nl_load_locale): Likewise.
74536 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74538         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74539         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74540         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74541         (SYSCALL_GETTIME): Set errno on error.
74543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74544         count references to noai6ai_cached.
74546 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74548         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74550         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74551         FD_CLOEXEC for /proc/self/maps.
74553         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74554         FD_CLOEXEC for /proc/meminfo.
74556         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74557         gai.conf.
74559         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74560         FD_CLOEXEC for given file.
74562         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74564         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74565         FD_CLOEXEC for /etc/hosts.
74566         (_gethtent): Likewise.
74568         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74570         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74571         cancellation and set FD_CLOEXEC for /etc/netgroup.
74573         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74574         reading /etc/publickey.
74576         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74577         allow cancellation when reading /etc/group.
74579         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74580         cancellation.
74581         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74583         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74584         when using data file.
74586         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74588         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74589         (write_nis_obj): Use "c" and "e" in fopen.
74591         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74593         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74595         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74597         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74599         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74600         locale.alias.
74602         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74604         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74606         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74608         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74609         file parsing and set FD_CLOEXEC.
74611 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74613         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74615 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74617         * malloc/arena.c (arena_get2): Don't call reused_arena when
74618         _int_new_arena failed.
74620 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74622         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74623         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74624         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74625         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74626         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74627         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74628         to compile strcasecmp and strncasecmp.
74629         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74630         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74634 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74636         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74637         locale-defines.sym to gen-as-const-headers.
74638         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74639         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74641         to compile strcasecmp and strncasecmp.
74642         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74643         strcasecmp_l and strncasecmp_l.
74644         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74645         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74646         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74647         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74648         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74649         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74650         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74651         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74652         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74653         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74654         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74656 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74658         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74659         result of SYSDEP_GETTIME_CPU to retval.
74660         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74661         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74663         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74664         variable.
74666         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74667         mantissa words.
74668         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74670         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74671         from unused variable.
74673         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74674         DWARF definitions.
74675         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74676         for assembling.
74678         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74679         over namespaces.
74681         * sunrpc/rpc_prot.c (rejected): Fix case value.
74683         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74684         unsigned long long int to avoid warnings in shift.
74686         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74687         of use of trans.
74688         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74689         variable tmp.
74691         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74692         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74693         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74695         * nis/nis_table.c (nis_list): Use variable of correct type for
74696         result of __follow_path call.
74698 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74700         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74701         of math functions ceil, trunc, floor, round, and sqrt, when
74702         avaliable on the platform.
74703         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74704         name clash.
74705         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74706         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74707         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74709 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74711         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74712         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74714 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74716         * include/unistd.h: Fix __readlink return type.
74717         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74719 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74721         * stdlib/ucontext.h: Undo last change for makecontext.
74723 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74725         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74727         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74728         * setjmp/setjmp.h: Mark functions as non-leaf.
74729         * setjmp/bits/setjmp2.h: Likewise.
74730         * stdlib/ucontext.h: Likewise.
74732 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74734         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74735         (reused_arena): Don't check arena limit.
74736         (arena_get2): Atomically check arena limit.
74738 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74740         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74741         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74743         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74744         instructions.
74746 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74748         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74749         handler when locking.
74751         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74752         Fix size of allocated buffer.
74754 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74756         [BZ #10103]
74757         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74758         declarations for long double functions.
74759         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74761         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74763 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74765         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74766         installed.
74768         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74769         is disabled.
74771 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74773         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74775 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74777         * include/alloca.h (stackinfo_alloca_round): Define.
74778         (extend_alloca): Use it.
74779         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74780         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74781         here.
74783         * scripts/check-local-headers.sh: Ignore libaudit.h.
74785         * nscd/Makefile (extra-objs): Make recursively expanded.
74787 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74789         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74790         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74792         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74793         * posix/tst-rfc3484-2.c: Likewise.
74794         * posix/tst-rfc3484-3.c: Likewise.
74796         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74797         process_vm_writev.
74798         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74799         process_vm_writev.
74800         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74801         process_vm_writev from libc using GLIBC_2.15 version.
74803         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74805 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74807         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74808         stack usage.
74810 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74812         [BZ #13367]
74813         * nss/getent.c (initgroups_keys): Show error message in case no group
74814         names are given.
74816         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74817         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74818         __bump_nl_timestamp.
74819         * nscd/connections (nscd_init): When host database is served open
74820         netlink socket and request notification about configuration changes.
74821         (main_loop_poll): Track netlink file descriptor and bump timestamp
74822         in case data becomes available.
74823         (main_loop_epoll): Likewise.
74824         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74825         (database_pers_head): Add extra_data fileds.
74826         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74827         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74828         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74829         Adjust caller.
74830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74831         in6ai data, call __free_in6ai.
74832         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74833         Add -DHAVE_NETLINK.
74834         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74835         interface information.  Reuse previous data if netlink timestamp
74836         is not changed.
74837         (__bump_nl_timestamp): New function.
74838         (__free_in6ai): New function.
74840 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74842         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74843         close_not_cancel_no_status here.
74844         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74846 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74848         [BZ #13276]
74849         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74850         return value.
74852         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74853         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74854         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74856 2011-07-03  Andreas Jaeger  <aj@suse.de>
74858         [BZ #10709]
74859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74860         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74861         * math/libm-test.inc (sin_test): Add test case.
74863 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74865         [BZ #13337]
74866         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74867         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74869         * elf/chroot_canon.c (chroot_canon): Cleanups.
74871         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74873         [BZ #13335]
74874         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74875         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74877         * string/test-strchr.c: Make usable for strchrnul testing.
74878         * string/test-strchrnul.c: New file.
74879         * string/Makefile (strop-tests): Add strchrnul.
74881         * po/it.po: Update from translation team.
74882         * po/es.po: Likewise.
74884 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74886         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74887         the three constants needed as parameters.  Drop the others.
74888         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74889         __m128i_strloadu_tolower.
74890         Create and initialize variable zero and use it in all the places
74891         where _mm_setzero_si128 was used.
74893         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74894         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74895         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74896         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74897         anymore.
74898         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74899         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74900         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74901         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74902         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74903         __mpranred, __mptan.
74904         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74905         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74906         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74907         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74908         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74909         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74910         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74911         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74912         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74914 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74916         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74917         redefine if SHARED.
74918         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74921         wide char related routines to wcsmbs subdir.
74923 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74925         [BZ #13344]
74926         * misc/sys/cdefs.h (__THROWNL): Define.
74927         * posix/unistd.h: Use __THREADNL instead of __THREAD
74928         for memory synchronization functions.
74930 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74932         [BZ #13349]
74933         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74934         doesn't exist.
74935         * manual/stdio.texi (Obstack Streams): Node removed.
74937 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74939         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74940         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74941         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74943         * math/math_private.h (math_force_eval): Allow non-addressable
74944         arguments.
74945         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74947 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74950         file is not needed.
74952         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74954         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74955         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74956         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74957         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74958         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74959         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74960         Add AVX variants.
74961         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74962         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74963         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74964         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74965         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74966         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74967         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74968         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74969         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74970         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74971         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74972         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74974         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74975         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74976         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74977         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74978         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74979         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74981         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74982         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74984         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74985         place.  Use VEX encoding when compiling for AVX.
74987 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74989         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74990         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74992         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74994 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74996         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74997         useless if() expression.
74998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74999         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75000         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75001         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75002         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75003         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75004         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75006         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75007         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75008         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75009         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75010         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75011         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75012         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75013         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75014         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75015         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75016         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75018         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75020 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75022         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75023         condition.
75024         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75026 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75028         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75029         .text section.  Avoid duplicate constants.
75030         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75031         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75032         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75034         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75037         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75038         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75039         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75040         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75041         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75042         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75043         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75044         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75045         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75046         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75048         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75050         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75051         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75052         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75053         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75054         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75055         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75056         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75057         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75058         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75059         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75060         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75061         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75062         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75063         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75064         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75065         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75066         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75067         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75068         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75069         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75070         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75071         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75072         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75073         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75074         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75076 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75078         * sysdeps/x86_64/dla.h: Move to ...
75079         * sysdeps/x86_64/fpu/dla.h: ...here.
75080         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75081         situations.  Use __builtin_fma only for gcc 4.6 and up.
75083         * config.make.in: Add have-mfma4 entry.
75084         * configure.in: Substitute libc_cv_cc_fma4.
75085         * math/Makefile (dbl-only-routines): Add sincostab.
75086         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75087         Use __sincostab not sincos.
75088         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75089         name is a macro.
75090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75093         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75094         using __copysign.
75095         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75096         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75097         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75098         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75099         and __inv.
75100         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75101         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75102         __copysign.
75103         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75104         define aliases when function name is a macro.
75105         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75106         sysdeps/ieee754/dbl-64/sincos.tbl.
75107         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75108         fma4-enabled routines.
75109         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75110         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75111         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75112         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75114         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75115         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75116         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75117         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75118         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75119         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75120         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75121         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75122         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75123         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75124         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75125         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75126         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75127         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75128         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75129         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75130         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75131         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75132         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75133         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75134         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75135         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75136         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75137         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75138         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75140         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75141         rename.
75142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75151 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75153         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75155 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75159         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75160         prediction.
75161         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75163         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75164         Remove unused variable magic_bits.
75165         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75167         * string/strnlen.c: Define and use STRNLEN macro.
75168         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75169         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75170         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75171         * wcsmbs/wcslen.c: Define and use WCSLEN.
75172         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75173         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75174         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75175         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75176         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75177         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75178         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75180 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75183         strnlen-sse2-no-bsf.
75184         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75185         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75186         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75187         Add strnlen support.
75188         (USE_AS_STRNLEN): New macro.
75189         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75191         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75192         * sysdeps/x86_64/wcslen.S: New file.
75194 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75196         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75197         XMM-moves are used for copying on small sizes.
75199 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75201         * wcsmbs/Makefile (strop-tests): Add wcschr.
75202         * wcsmbs/test-wcschr.c: New file.
75203         * string/test-strchr.c: Update.
75204         Add wcschr support.
75205         (WIDE): New macro.
75207 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75209         * wcsmbs/Makefile (strop-tests): Add wcslen.
75210         * wcsmbs/test-wcslen.c: New file.
75211         * string/test-strlen.c: Update.
75212         Add wcslen support.
75213         (WIDE): New macro.
75215 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75217         * po/it.po: Update from translation team.
75219 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75221         * sysdeps/x86_64/wcscmp.S: Update.
75222         Fix wrong comparison semantics.
75223         wcscmp shall use signed comparison not unsigned.
75224         Don't use substraction to avoid overflow bug.
75225         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75226         * wcsmbc/wcscmp.c: Likewise.
75227         * string/test-strcmp.c: Likewise.
75228         Add new tests to check cases with negative values.
75230 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75232         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75233         * sysdeps/x86_64/dla.h: ...here.  New file.
75234         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75238         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75241         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75242         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75244 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75247         __ynl_finite aliases.
75249 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75253         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75254         define DLA_FMA.
75255         [DLA_FMA] (EMULV): Use DLA_FMA.
75256         [DLA_FMA] (MUL12): Use EMULV.
75257         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75258         that are not needed.
75259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75267 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75269         * math/s_nan.c: Undef __nan.
75270         * math/s_nanf.c: Undef __nanf.
75271         * math/s_nanl.c: Undef __nanl.
75272         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75273         "math_private.h".
75275 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75277         * math/s_catan.c: Add branch predictions.
75278         * math/s_catanf.c: Likewise.
75279         * math/s_catanh.c: Likewise.
75280         * math/s_catanhf.c: Likewise.
75281         * math/s_catanhl.c: Likewise.
75282         * math/s_catanl.c: Likewise.
75283         * math/s_cexp.c: Likewise.
75284         * math/s_cexpf.c: Likewise.
75285         * math/s_cexpl.c: Likewise.
75286         * math/s_clog.c: Likewise.
75287         * math/s_clog10.c: Likewise.
75288         * math/s_clog10f.c: Likewise.
75289         * math/s_clog10l.c: Likewise.
75290         * math/s_clogf.c: Likewise.
75291         * math/s_clogl.c: Likewise.
75292         * math/s_csqrt.c: Likewise.
75293         * math/s_csqrtf.c: Likewise.
75294         * math/s_csqrtl.c: Likewise.
75295         * math/s_ctanf.c: Likewise.
75296         * math/s_ctanh.c: Likewise.
75297         * math/s_ctanhf.c: Likewise.
75298         * math/s_ctanhl.c: Likewise.
75299         * math/s_ctanl.c: Likewise.
75301         * math/math_private.h: Define __nan, __nanf, __nanl.
75302         * math/s_cacosh.c: Include <math_private.h>.
75303         * math/s_cacoshl.c: Likewise.
75304         * math/s_casinh.c: Likewise.
75305         * math/s_casinhf.c: Likewise.
75306         * math/s_casinhl.c: Likewise.
75307         * math/s_ccos.c: Rely entire on ccosh.
75308         * math/s_ccosf.c: Rely entire on ccoshf.
75309         * math/s_ccosl.c: Rely entirely on ccoshl.
75310         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75311         Remove tests for FE_INVALID.
75312         * math/s_ccoshf.c: Likewise.
75313         * math/s_ccoshl.c: Likewise.
75314         * math/s_csin.c: Likewise.
75315         * math/s_csinf.c: Likewise.
75316         * math/s_csinh.c Likewise.
75317         * math/s_csinhf.c: Likewise.
75318         * math/s_csinhl.c: Likewise.
75319         * math/s_csinl.c: Likewise.
75320         * math/s_ctan.c: Likewise.
75321         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75322         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75323         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75325 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75328         compilation problems.
75330         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75331         __builtin_expect.
75333 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75335         * sysdeps/i386/configure.in: Test for -mfma4 option.
75336         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75337         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75338         COMMON_CPUID_INDEX_80000001.
75339         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75340         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75341         use it if FMA3 is not supported.
75342         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75344         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75345         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75347 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75349         [BZ #12892]
75350         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75351         it would create a cycle with a link time dependency.
75353 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75355         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75356         instruction.
75357         * string/Makefile (strop-tests): Add rawmemchr.
75358         * string/test-rawmemchr.c: New file.
75360         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75361         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75362         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75363         when compiling str{,n}casecmp and when AVX is available.  Hook up
75364         new optimized code in initializers.
75366 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75368         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75369         __feraiseexcept instead of feraiseexcept.
75371 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75373         * math/math_private.h: Define defaults for libc_fetestexcept and
75374         libc_feupdateenv.
75375         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75376         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75377         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75378         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75379         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75380         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75381         libc_fetestexcept and libc_feupdateenv.
75383         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75384         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75385         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75386         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75387         libc_feholdexcept_setround.
75389         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75390         Add s_nearbyint-c and s_nearbyintf-c.
75391         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75392         nearbyintf inlines.
75393         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75394         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75395         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75396         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75398         * math/math_private.h: Define defaults for libc_fegetround,
75399         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75400         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75401         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75403         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75404         standard functions.
75405         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75406         Remove comments and hacks for old compiler versions.
75407         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75408         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75409         libc_feholdexceptl.
75411 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75413         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75414         (__feraiseexcept_renamed): Add __NTH.
75415         (feraiseexcept): Add __NTH.  Rename local variables to fix
75416         namespace violations.
75418 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75420         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75422         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75424         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75425         recently added interfaces.
75426         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75428         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75429         about macro parameter expansion.
75431         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75432         __NO_MATH_INLINES is defined.  Cleanups.
75434         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75435         and __floorf is target has SSE4.1.
75436         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75437         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75438         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75439         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75441         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75442         name.
75443         (floorf): Likewise.
75445         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75447 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75449         * misc/sys/cdefs.h: Fix last change.
75451         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75452         database lookup.
75454 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75456         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75458         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75459         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75460         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75461         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75463         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75464         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75465         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75466         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75467         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75468         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75469         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75470         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75471         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75472         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75473         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75474         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75475         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75476         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75477         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75478         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75479         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75481         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75482         ceil, ceilf, floor, floorf.
75484         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75485         Perform IRELATIVE relocations last.
75487         * elf/do-rel.h: Add another parameter nrelative, replacing the
75488         local variable with the same name.  Change name of the function
75489         to end in Rel or Rela (uppercase).
75490         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75491         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75492         elf_dynamic_do_##reloc function.
75494 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75496         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75497         is sufficient, at least on modern CPUs.
75499         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75501         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75502         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75504         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75505         __expl_finite.
75506         * math/bits/math-finite.h: Add entries for exp.
75507         * math/e_expl.c: Add __*_finite alias.
75508         * sysdeps/i386/fpu/e_exp.S: Likewise.
75509         * sysdeps/i386/fpu/e_expf.S: Likewise.
75510         * sysdeps/i386/fpu/e_expl.c: Likewise.
75511         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75512         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75513         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75515         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75516         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75517         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75519         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75520         is sufficient, at least on modern CPUs.
75522         * ctype/ctype-info.c (__ctype_init): Define.
75523         * include/ctype.h (__ctype_init): Declare.
75524         (__ctype_b_loc): The variable is always initialized.
75525         (__ctype_toupper_loc): Likewise.
75526         (__ctype_tolower_loc): Likewise.
75527         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75528         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75530 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75532         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75534         * configure.in: Also look in $cxxmachine/include for C++ system
75535         headers.
75537 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75539         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75540         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75541         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75542         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75543         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75544         (USE_AS_WMEMCMP): New macro.
75545         Fixing indents.
75546         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75547         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75548         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75549         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75551         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75552         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75553         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75554         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75555         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75556         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75557         (USE_AS_WMEMCMP): New macro.
75558         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75559         * sysdeps/string/test-memcmp.c: Update.
75560         Fix simple_wmemcmp.
75561         Add new tests.
75562         * wcsmbs/wmemcmp.c: Update.
75563         (WMEMCMP): New macro.
75564         Fix overflow bug.
75566 2011-10-12  Andreas Jaeger  <aj@suse.de>
75568         [BZ #13268]
75569         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75571 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75573         * libio/iofwide.c (do_length): Avoid warning.
75575         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75577 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75579         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75581         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75582         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75583         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75584         * sysdeps/i386/i686/fpu/e_log.S: New file.
75585         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75586         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75588         * ctype/ctype.h: Add support for inlined isXXX functions when
75589         compiling C++ code.
75591 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75593         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75595         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75597 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75599         [BZ #13291]
75600         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75602 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75604         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75605         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75606         feraiseexcept.
75608         * sysdeps/x86_64/memrchr.S: Check for zero size.
75610         * string/stratcliff.c: Add memrchr tests.
75612 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75615         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75616         rawmemchr-sse2 rawmemchr-sse2-bsf.
75617         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75618         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75619         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75620         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75621         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75622         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75623         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75624         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75625         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75626         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75627         * string/memrchr.c (MEMRCHR): New macro.
75629 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75631         Add integration with gcc's -ffinite-math-only and optimize wrapper
75632         functions in libm.
75633         * Versions.def: Define GLIBC_2.15 version for libm.
75634         * math/Makefile (headers): Add bits/math-finite.h.
75635         * math/bits/math-finite.h: New file.
75636         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75637         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75638         * math/e_acoshl.c: Add __*_finite alias.
75639         * math/e_acosl.c: Likewise.
75640         * math/e_asinl.c: Likewise.
75641         * math/e_atan2l.c: Likewise.
75642         * math/e_atanhl.c: Likewise.
75643         * math/e_coshl.c: Likewise.
75644         * math/e_exp10.c: Likewise.
75645         * math/e_exp10f.c: Likewise.
75646         * math/e_exp10l.c: Likewise.
75647         * math/e_exp2l.c: Likewise.
75648         * math/e_fmodl.c: Likewise.
75649         * math/e_gammal_r.c: Likewise.
75650         * math/e_hypotl.c: Likewise.
75651         * math/e_j0l.c: Likewise.
75652         * math/e_j1l.c: Likewise.
75653         * math/e_jnl.c: Likewise.
75654         * math/e_lgammal_r.c: Likewise.
75655         * math/e_log10l.c: Likewise.
75656         * math/e_log2l.c: Likewise.
75657         * math/e_logl.c: Likewise.
75658         * math/e_powl.c: Likewise.
75659         * math/e_sinhl.c: Likewise.
75660         * math/e_sqrtl.c: Likewise.
75661         * math/e_scalb.c: Completely rewritten and optimized.
75662         * math/e_scalbf.c: Likewise.
75663         * math/e_scalbl.c: Likewise.
75664         * math/w_acos.c: Likewise.
75665         * math/w_acosf.c: Likewise.
75666         * math/w_acosl.c: Likewise.
75667         * math/w_acosh.c: Likewise.
75668         * math/w_acoshf.c: Likewise.
75669         * math/w_acoshl.c: Likewise.
75670         * math/w_asin.c: Likewise.
75671         * math/w_asinf.c: Likewise.
75672         * math/w_asinl.c: Likewise.
75673         * math/w_atan2.c: Likewise.
75674         * math/w_atan2f.c: Likewise.
75675         * math/w_atan2l.c: Likewise.
75676         * math/w_atanh.c: Likewise.
75677         * math/w_atanhf.c: Likewise.
75678         * math/w_atanhl.c: Likewise.
75679         * math/w_exp10.c: Likewise.
75680         * math/w_exp10f.c: Likewise.
75681         * math/w_exp10l.c: Likewise.
75682         * math/w_fmod.c: Likewise.
75683         * math/w_fmodf.c: Likewise.
75684         * math/w_fmodl.c: Likewise.
75685         * math/w_j0.c: Likewise.
75686         * math/w_j0f.c: Likewise.
75687         * math/w_j0l.c: Likewise.
75688         * math/w_j1.c: Likewise.
75689         * math/w_j1f.c: Likewise.
75690         * math/w_j1l.c: Likewise.
75691         * math/w_jn.c: Likewise.
75692         * math/w_jnf.c: Likewise.
75693         * math/w_log.c: Likewise.
75694         * math/w_logf.c: Likewise.
75695         * math/w_logl.c: Likewise.
75696         * math/w_log10.c: Likewise.
75697         * math/w_log10f.c: Likewise.
75698         * math/w_log10l.c: Likewise.
75699         * math/w_log2.c: Likewise.
75700         * math/w_log2f.c: Likewise.
75701         * math/w_log2l.c: Likewise.
75702         * math/w_pow.c: Likewise.
75703         * math/w_powf.c: Likewise.
75704         * math/w_powl.c: Likewise.
75705         * math/w_remainder.c: Likewise.
75706         * math/w_remainderf.c: Likewise.
75707         * math/w_remainderl.c: Likewise.
75708         * math/w_scalb.c: Likewise.
75709         * math/w_scalbf.c: Likewise.
75710         * math/w_scalbl.c: Likewise.
75711         * math/w_sqrt.c: Likewise.
75712         * math/w_sqrtf.c: Likewise.
75713         * math/w_sqrtl.c: Likewise.
75714         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75715         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75716         used.
75717         * math/math_private.h: Declare __kernel_standard_f.
75718         * math/w_cosh.c: Remove cruft and optimize a bit.
75719         * math/w_coshf.c: Likewise.
75720         * math/w_coshl.c: Likewise.
75721         * math/w_exp2.c: Likewise.
75722         * math/w_exp2f.c: Likewise.
75723         * math/w_exp2l.c: Likewise.
75724         * math/w_hypot.c: Likewise.
75725         * math/w_hypotf.c: Likewise.
75726         * math/w_hypotl.c: Likewise.
75727         * math/w_lgamma.c: Likewise.
75728         * math/w_lgamma_r.c: Likewise.
75729         * math/w_lgammaf.c: Likewise.
75730         * math/w_lgammaf_r.c: Likewise.
75731         * math/w_lgammal.c: Likewise.
75732         * math/w_lgammal_r.c: Likewise.
75733         * math/w_sinh.c: Likewise.
75734         * math/w_sinhf.c: Likewise.
75735         * math/w_sinhl.c: Likewise.
75736         * math/w_tgamma.c: Likewise.
75737         * math/w_tgammaf.c: Likewise.
75738         * math/w_tgammal.c: Likewise.
75739         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75740         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75741         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75742         Minor optimizations.  Pretty printing.  Remove cruft.
75743         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75744         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75745         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75746         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75747         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75748         * sysdeps/i386/fpu/e_asin.S: Likewise.
75749         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75750         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75751         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75752         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75753         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75754         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75755         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75756         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75757         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75758         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75759         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75760         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75761         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75762         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75763         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75764         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75765         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75766         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75767         * sysdeps/i386/fpu/e_log.S: Likewise.
75768         * sysdeps/i386/fpu/e_log10.S: Likewise.
75769         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75770         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75771         * sysdeps/i386/fpu/e_log2.S: Likewise.
75772         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75774         * sysdeps/i386/fpu/e_logf.S: Likewise.
75775         * sysdeps/i386/fpu/e_logl.S: Likewise.
75776         * sysdeps/i386/fpu/e_pow.S: Likewise.
75777         * sysdeps/i386/fpu/e_powf.S: Likewise.
75778         * sysdeps/i386/fpu/e_powl.S: Likewise.
75779         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75780         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75781         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75782         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75783         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75784         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75785         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75786         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75787         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75788         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75789         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75791         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75792         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75793         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75794         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75795         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75796         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75797         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75798         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75799         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75801         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75802         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75804         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75805         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75808         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75809         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75810         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75811         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75812         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75813         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75814         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75815         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75816         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75817         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75818         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75819         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75820         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75821         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75822         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75823         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75824         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75825         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75826         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75827         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75828         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75829         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75830         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75831         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75832         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75833         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75834         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75835         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75836         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75837         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75838         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75843         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75844         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75845         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75846         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75847         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75848         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75849         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75850         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75852         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75853         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75854         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75856         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75857         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75858         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75859         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75860         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75862         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75863         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75864         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75865         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75866         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75867         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75868         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75869         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75870         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75871         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75872         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75873         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75874         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75875         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75876         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75877         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75879         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75880         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75881         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75882         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75883         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75884         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75885         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75886         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75887         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75888         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75889         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75890         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75891         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75892         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75893         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75894         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75895         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75896         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75897         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75898         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75899         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75900         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75901         (__isnanf): Likewise.
75902         (__isinf_ns): Likewise.
75903         (__isinf_nsf): Likewise.
75904         (__finite): Likewise.
75905         (__finitef): Likewise.
75906         (__ieee754_sqrt): Define as macro.
75907         (__ieee754_sqrtf): Define as macro.
75908         (__ieee754_sqrtl): Define as macro.
75909         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75910         inlined copy.
75911         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75912         __FINITE_MATH_ONLY__ consistent.
75913         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75915 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75917         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75918         of rawmemchr.
75920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75922 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75924         * po/ja.po: Update from translation team.
75926 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75928         * locale/programs/locarchive.c (prepare_address_space): New function.
75929         (create_archive, enlarge_archive, open_archive): Use it.
75931         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75932         inside [SHARED], where it is used.
75934         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75936         * nss/getent.c (netgroup_keys): Remove unused variable.
75937         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75939 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75941         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75942         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75943         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75944         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75945         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75946         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75947         * math/Makefile (libm-calls): Add s_isinf_ns.
75948         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75949         * math/multc3.c: Likewise.
75950         * math/s_casin.c: Likewise.
75951         * math/s_casinf.c: Likewise.
75952         * math/s_casinl.c: Likewise.
75953         * math/s_ccos.c: Likewise.
75954         * math/s_ccosf.c: Likewise.
75955         * math/s_ccosl.c: Likewise.
75956         * math/s_ctan.c: Likewise.
75957         * math/s_ctanf.c: Likewise.
75958         * math/s_ctanh.c: Likewise.
75959         * math/s_ctanhf.c: Likewise.
75960         * math/s_ctanhl.c: Likewise.
75961         * math/s_ctanl.c: Likewise.
75962         * math/w_fmod.c: Likewise.
75963         * math/w_fmodf.c: Likewise.
75964         * math/w_fmodl.c: Likewise.
75965         * math/w_remainder.c: Likewise.
75966         * math/w_remainderf.c: Likewise.
75967         * math/w_remainderl.c: Likewise.
75968         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75969         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75972         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75973         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75974         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75975         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75977         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75978         of the number.
75979         * stdio-common/printf_fphex.c: Likewise.
75980         * stdio-common/printf_size.c: Likewise.
75982         * math/e_exp10.c: Include math_private.h using <...> not "...".
75983         * math/e_exp10f.c: Likewise.
75984         * math/e_exp10l.c: Likewise.
75985         * math/e_exp2l.c: Likewise.
75986         * math/e_j0l.c: Likewise.
75987         * math/e_j1l.c: Likewise.
75988         * math/e_jnl.c: Likewise.
75989         * math/e_lgammal_r.c: Likewise.
75990         * math/e_rem_pio2l.c: Likewise.
75991         * math/e_scalb.c: Likewise.
75992         * math/e_scalbf.c: Likewise.
75993         * math/e_scalbl.c: Likewise.
75994         * math/k_cosl.c: Likewise.
75995         * math/k_sinl.c: Likewise.
75996         * math/k_tanl.c: Likewise.
75997         * math/s_cacoshf.c: Likewise.
75998         * math/s_catan.c: Likewise.
75999         * math/s_catanf.c: Likewise.
76000         * math/s_catanh.c: Likewise.
76001         * math/s_catanhf.c: Likewise.
76002         * math/s_catanhl.c: Likewise.
76003         * math/s_catanl.c: Likewise.
76004         * math/s_ccosh.c: Likewise.
76005         * math/s_ccoshf.c: Likewise.
76006         * math/s_ccoshl.c: Likewise.
76007         * math/s_cexp.c: Likewise.
76008         * math/s_cexpf.c: Likewise.
76009         * math/s_cexpl.c: Likewise.
76010         * math/s_clog.c: Likewise.
76011         * math/s_clog10.c: Likewise.
76012         * math/s_clog10f.c: Likewise.
76013         * math/s_clog10l.c: Likewise.
76014         * math/s_clogf.c: Likewise.
76015         * math/s_clogl.c: Likewise.
76016         * math/s_csin.c: Likewise.
76017         * math/s_csinf.c: Likewise.
76018         * math/s_csinh.c: Likewise.
76019         * math/s_csinhf.c: Likewise.
76020         * math/s_csinhl.c: Likewise.
76021         * math/s_csinl.c: Likewise.
76022         * math/s_csqrt.c: Likewise.
76023         * math/s_csqrtf.c: Likewise.
76024         * math/s_csqrtl.c: Likewise.
76025         * math/s_ctan.c: Likewise.
76026         * math/s_ctanf.c: Likewise.
76027         * math/s_ctanh.c: Likewise.
76028         * math/s_ctanhf.c: Likewise.
76029         * math/s_ctanhl.c: Likewise.
76030         * math/s_ctanl.c: Likewise.
76031         * math/s_ldexp.c: Likewise.
76032         * math/s_ldexpf.c: Likewise.
76033         * math/s_ldexpl.c: Likewise.
76034         * math/s_significand.c: Likewise.
76035         * math/s_significandf.c: Likewise.
76036         * math/s_significandl.c: Likewise.
76037         * math/w_acos.c: Likewise.
76038         * math/w_acosf.c: Likewise.
76039         * math/w_acosh.c: Likewise.
76040         * math/w_acoshf.c: Likewise.
76041         * math/w_acoshl.c: Likewise.
76042         * math/w_acosl.c: Likewise.
76043         * math/w_asin.c: Likewise.
76044         * math/w_asinf.c: Likewise.
76045         * math/w_asinl.c: Likewise.
76046         * math/w_atan2.c: Likewise.
76047         * math/w_atan2f.c: Likewise.
76048         * math/w_atan2l.c: Likewise.
76049         * math/w_atanh.c: Likewise.
76050         * math/w_atanhf.c: Likewise.
76051         * math/w_atanhl.c: Likewise.
76052         * math/w_cosh.c: Likewise.
76053         * math/w_coshf.c: Likewise.
76054         * math/w_coshl.c: Likewise.
76055         * math/w_dremf.c: Likewise.
76056         * math/w_exp10.c: Likewise.
76057         * math/w_exp10f.c: Likewise.
76058         * math/w_exp10l.c: Likewise.
76059         * math/w_exp2.c: Likewise.
76060         * math/w_exp2f.c: Likewise.
76061         * math/w_fmod.c: Likewise.
76062         * math/w_fmodf.c: Likewise.
76063         * math/w_fmodl.c: Likewise.
76064         * math/w_hypot.c: Likewise.
76065         * math/w_hypotf.c: Likewise.
76066         * math/w_hypotl.c: Likewise.
76067         * math/w_j0.c: Likewise.
76068         * math/w_j0f.c: Likewise.
76069         * math/w_j0l.c: Likewise.
76070         * math/w_j1.c: Likewise.
76071         * math/w_j1f.c: Likewise.
76072         * math/w_j1l.c: Likewise.
76073         * math/w_jn.c: Likewise.
76074         * math/w_jnf.c: Likewise.
76075         * math/w_jnl.c: Likewise.
76076         * math/w_lgamma.c: Likewise.
76077         * math/w_lgamma_r.c: Likewise.
76078         * math/w_lgammaf.c: Likewise.
76079         * math/w_lgammaf_r.c: Likewise.
76080         * math/w_lgammal.c: Likewise.
76081         * math/w_lgammal_r.c: Likewise.
76082         * math/w_log.c: Likewise.
76083         * math/w_log10.c: Likewise.
76084         * math/w_log10f.c: Likewise.
76085         * math/w_log10l.c: Likewise.
76086         * math/w_log2.c: Likewise.
76087         * math/w_log2f.c: Likewise.
76088         * math/w_log2l.c: Likewise.
76089         * math/w_logf.c: Likewise.
76090         * math/w_logl.c: Likewise.
76091         * math/w_pow.c: Likewise.
76092         * math/w_powf.c: Likewise.
76093         * math/w_powl.c: Likewise.
76094         * math/w_remainder.c: Likewise.
76095         * math/w_remainderf.c: Likewise.
76096         * math/w_remainderl.c: Likewise.
76097         * math/w_scalb.c: Likewise.
76098         * math/w_scalbf.c: Likewise.
76099         * math/w_scalbl.c: Likewise.
76100         * math/w_sinh.c: Likewise.
76101         * math/w_sinhf.c: Likewise.
76102         * math/w_sinhl.c: Likewise.
76103         * math/w_sqrt.c: Likewise.
76104         * math/w_sqrtf.c: Likewise.
76105         * math/w_sqrtl.c: Likewise.
76106         * math/w_tgamma.c: Likewise.
76107         * math/w_tgammaf.c: Likewise.
76108         * math/w_tgammal.c: Likewise.
76110         * po/ja.po: Update from translation team.
76112 2011-09-29  Andreas Jaeger  <aj@suse.de>
76114         [BZ #13179]
76115         * sunrpc/netname.c (netname2host): Fix logic.
76117         [BZ #6779]
76118         [BZ #6783]
76119         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76120         correctly.
76121         * math/w_remainder.c (__remainder): Likewise.
76122         * math/w_remainderf.c (__remainderf): Likewise.
76123         * math/libm-test.inc (remainder_test): Add test cases.
76125 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76127         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76128         sdiv_qrnnd.
76130 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76132         * string/test-memcmp.c: Avoid unncessary #defines.
76133         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76135 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76137         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76138         Use new sse2 version for core i3 - i7 as it's faster
76139         than sse42 version.
76140         (bit_Prefer_PMINUB_for_stringop): New.
76141         * sysdeps/x86_64/rawmemchr.S: Update.
76142         Replace with faster SSE2 version.
76143         * sysdeps/x86_64/memrchr.S: New file.
76144         * sysdeps/x86_64/memchr.S: Update.
76145         Replace with faster SSE2 version.
76147 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76149         * elf/dl-load.c (lose): Add cast to avoid warning.
76151 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76153         * po/ca.po: Update from translation team.
76155         * inet/getnetgrent_r.c: Hook up nscd.
76156         * nscd/Makefile (routines): Add nscd_netgroup.
76157         (nscd-modules): Add netgroupcache.
76158         (CFLAGS-netgroupcache.c): Define.
76159         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76160         (cache_search): Add const to second parameter.
76161         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76162         INNETGR.
76163         (dbs): Add netgrdb entry.
76164         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76165         (verify_persistent_db): Handle netgrdb.
76166         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76167         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76168         GETFDNETGR.
76169         (netgroup_response_header): Define.
76170         (innetgroup_response_header): Define.
76171         (datahead): Add netgroup_response_header and innetgroup_response_header
76172         elements.
76173         * nscd/nscd.conf: Add entries for netgroup cache.
76174         * nscd/nscd.h (dbtype): Add netgrdb.
76175         (_PATH_NSCD_NETGROUP_DB): Define.
76176         (netgroup_iov_disabled): Declare.
76177         (xmalloc, xcalloc, xrealloc): Move declarations here.
76178         (cache_search): Adjust prototype.
76179         Add netgroup-related prototypes.
76180         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76181         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76182         (__nscd_innetgr): Declare.
76183         * nscd/selinux.c (perms): Use access_vector_t as element type and
76184         add netgroup-related initializers.
76185         * nscd/netgroupcache.c: New file.
76186         * nscd/nscd_netgroup.c: New file.
76187         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76188         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76189         For four parameters use innetgr.
76190         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76191         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76192         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76193         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76195         * nscd/connections.c (register_traced_file): Don't register file
76196         for disabled databases.
76198 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76200         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76202         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76203         from tree and freeing node.
76205 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76207         * nss/nsswitch.c (__nss_database_lookup): Handle
76208         nss_parse_service_list out of memory case.
76210 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76212         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76213         out of memory case.
76215 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76217         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76218         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76219         pass it down.
76220         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76221         elf_machine_rela, elf_machine_lazy_rel.
76222         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76223         (ELF_DYNAMIC_DO_REL): Likewise.
76224         (ELF_DYNAMIC_DO_RELA): Likewise.
76225         (ELF_DYNAMIC_RELOCATE): Likewise.
76226         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76227         to ELF_DYNAMIC_DO_REL.
76228         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76229         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76230         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76231         elf_machine_rela.
76232         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76233         skip_ifunc, don't call ifunc function if non-zero.
76234         (elf_machine_rela): Likewise.
76235         (elf_machine_lazy_rel): Likewise.
76236         (elf_machine_lazy_rela): Likewise.
76237         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76238         (elf_machine_lazy_rel): Likewise.
76239         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76240         Likewise.
76241         (elf_machine_lazy_rel): Likewise.
76242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76243         Likewise.
76244         (elf_machine_lazy_rel): Likewise.
76245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76246         (elf_machine_lazy_rel): Likewise.
76247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76248         (elf_machine_lazy_rel): Likewise.
76249         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76250         (elf_machine_lazy_rel): Likewise.
76251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76252         (elf_machine_lazy_rel): Likewise.
76253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76254         (elf_machine_lazy_rel): Likewise.
76255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76256         (elf_machine_lazy_rel): Likewise.
76258 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76260         * nss/nss_files/files-init.c (_nss_files_init): Use static
76261         initialization for all the *_traced_file variables.
76263 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76265         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76267 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76269         [BZ #13226]
76270         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76272 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76275         Reread the line before reparsing it.
76277 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76279         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76281 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76282             Maxim Kuvyrkov  <maxim@codesourcery.com>
76283             Joseph Myers  <joseph@codesourcery.com>
76285         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76286         if needed for __stack_chk_guard.
76288 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76290         * sysdeps/posix/spawni.c (script_execute): Always define it.
76291         It will be optimized away if unused.
76292         (maybe_script_execute): New function.
76293         (__spawni): Call it.
76295         * Makerules: Don't include tls.make.
76296         (config-tls): Always set to thread.
76297         * tls.make.c: File removed.
76299 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76301         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76302         * config.make.in (CPPFLAGS-config): New substituted variable.
76304 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76308         [BZ #13192]
76309         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76310         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76312 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76314         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76315         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76316         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76317         (CALL_FAIL): Likewise.
76318         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76319         (CALL_FAIL): Macro removed.
76320         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76322 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76324         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76325         for __FINITE_MATH_ONLY__ == 1.
76327 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76329         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76330         __ieee754_sqrt instead of sqrt.
76331         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76332         __ieee754_sqrtf instead of sqrtf.
76333         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76334         __floorf instead of floorf.
76335         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76336         __floorf, __truncf instead of floorf, truncf.
76338 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76340         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76342         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76343         __extern_always_inline.
76344         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76345         32-bit.
76347 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76349         * elf/rtld.c (dl_main): Also relocate in dependency order when
76350         doing symbol dependency testing.
76352 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76355         Always define `refsym'.
76357 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76359         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76360         (__FD_ELT): Renamed from __FDELT.
76361         * misc/bits/select2.h (__FD_ELT): Likewise.
76362         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76363         __FD_MASK instead of __FDELT, __FDMASK.
76364         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76365         Likewise.
76366         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76367         Likewise.
76369         * elf/Makefile (gen-ldd): Fix pattern.
76371         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76372         (init_tls): Likewise.
76374 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76378 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76380         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76381         `struct cmsghdr *' instead of `void *'.
76382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76383         Likewise.
76385 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76387         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76388         if non-absolute.
76389         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76390         ldd_rewrite_script.
76392 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76394         * configure.in: Remove --with-tls option.
76395         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76396         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76397         out in case it is missing.
76398         * sysdeps/ia64/elf/configure.in: Likewise.
76399         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76400         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76401         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76402         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76403         * sysdeps/sh/elf/configure.in: Likewise.
76404         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76405         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76406         * sysdeps/x86_64/elf/configure.in: Likewise.
76407         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76408         * sysdeps/mach/hurd/tls.h: Likewise.
76410         [BZ #13067]
76411         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76413         [BZ #13090]
76414         * configure.in: Fix use of AC_INIT.
76416         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76418 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76420         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76421         __set_errno.
76422         * malloc/hooks.c: Likewise.
76424         [BZ #11929]
76425         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76426         variables statically.
76427         (narenas): Initialize.
76428         (list_lock): Initialize.
76429         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76430         initializtion of main_arena and list_lock.  Small cleanups.
76431         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76432         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76433         Add initializers to main_arena and mp_.
76434         (malloc_state): Remove pagesize member.  Change all users to use
76435         GLRO(dl_pagesize).
76437         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76438         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76439         is always initialized.
76441         * malloc/malloc.c: Removed unused configurations and dead code.
76442         * malloc/arena.c: Likewise.
76443         * malloc/hooks.c: Likewise.
76444         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76446         * include/tls.h: Removed.  USE___THREAD must always be defined.
76447         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76448         * elf/dl-libc.c: Likewise.
76449         * elf/dl-tsd.c: Likewise.
76450         * include/errno.h: Likewise.
76451         * include/netdb.h: Likewise.
76452         * include/resolv.h: Likewise.
76453         * inet/herrno-loc.c: Likewise.
76454         * inet/herrno.c: Likewise.
76455         * malloc/arena.c: Likewise.
76456         * malloc/hooks.c: Likewise.
76457         * malloc/malloc.c: Likewise.
76458         * resolv/res-state.c: Likewise.
76459         * resolv/res_libc.c: Likewise.
76460         * sysdeps/i386/dl-machine.h: Likewise.
76461         * sysdeps/ia64/dl-machine.h: Likewise.
76462         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76463         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76464         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76465         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76466         * sysdeps/sh/dl-machine.h: Likewise.
76467         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76468         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76469         * sysdeps/unix/i386/sysdep.S: Likewise.
76470         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76471         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76476         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76481         * sysdeps/x86_64/dl-machine.h: Likewise.
76482         * tls.make.c: Likewise.
76484         * configure.in: Remove --with-__thread option.  Make tests for
76485         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76486         tls_model attribute fail if no support is available.  Remove
76487         USE_IN_LIBIO.
76488         * Makeconfig: Adjust for dropped configure option.  All features are
76489         now mandatory.
76490         * Makerules: Likewise.
76491         * Versions.def: Likewise.
76492         * argp/argp-fmtstream.c: Likewise.
76493         * argp/argp-fmtstream.h: Likewise.
76494         * argp/argp-help.c: Likewise.
76495         * assert/assert.c: Likewise.
76496         * config.h.in: Likewise.
76497         * config.make.in: Likewise.
76498         * configure: Likewise.
76499         * configure.in: Likewise.
76500         * csu/Versions: Likewise.
76501         * csu/init.c: Likewise.
76502         * elf/tst-audit2.c: Likewise.
76503         * elf/tst-tls10.c: Likewise.
76504         * elf/tst-tls10.h: Likewise.
76505         * elf/tst-tls11.c: Likewise.
76506         * elf/tst-tls12.c: Likewise.
76507         * elf/tst-tls14.c: Likewise.
76508         * elf/tst-tlsmod11.c: Likewise.
76509         * elf/tst-tlsmod12.c: Likewise.
76510         * elf/tst-tlsmod13.c: Likewise.
76511         * elf/tst-tlsmod13a.c: Likewise.
76512         * elf/tst-tlsmod14a.c: Likewise.
76513         * elf/tst-tlsmod15b.c: Likewise.
76514         * elf/tst-tlsmod16a.c: Likewise.
76515         * elf/tst-tlsmod16b.c: Likewise.
76516         * elf/tst-tlsmod7.c: Likewise.
76517         * elf/tst-tlsmod8.c: Likewise.
76518         * elf/tst-tlsmod9.c: Likewise.
76519         * gmon/gmon.c: Likewise.
76520         * grp/fgetgrent_r.c: Likewise.
76521         * grp/putgrent.c: Likewise.
76522         * hurd/fopenport.c: Likewise.
76523         * include/libc-symbols.h: Likewise.
76524         * include/tls.h: Likewise.
76525         * intl/gettextP.h: Likewise.
76526         * intl/loadinfo.h: Likewise.
76527         * locale/global-locale.c: Likewise.
76528         * locale/localeinfo.h: Likewise.
76529         * mach/devstream.c: Likewise.
76530         * malloc/arena.c: Likewise.
76531         * malloc/set-freeres.c: Likewise.
76532         * misc/err.c: Likewise.
76533         * misc/getttyent.c: Likewise.
76534         * misc/mntent_r.c: Likewise.
76535         * posix/getopt.c: Likewise.
76536         * posix/wordexp.c: Likewise.
76537         * pwd/fgetpwent_r.c: Likewise.
76538         * resolv/Versions: Likewise.
76539         * resolv/res_hconf.c: Likewise.
76540         * shadow/fgetspent_r.c: Likewise.
76541         * shadow/putspent.c: Likewise.
76542         * stdio-common/printf_fphex.c: Likewise.
76543         * stdio-common/tmpfile.c: Likewise.
76544         * stdlib/abort.c: Likewise.
76545         * stdlib/fmtmsg.c: Likewise.
76546         * sunrpc/auth_unix.c: Likewise.
76547         * sunrpc/clnt_perr.c: Likewise.
76548         * sunrpc/clnt_tcp.c: Likewise.
76549         * sunrpc/clnt_udp.c: Likewise.
76550         * sunrpc/clnt_unix.c: Likewise.
76551         * sunrpc/openchild.c: Likewise.
76552         * sunrpc/svc_simple.c: Likewise.
76553         * sunrpc/svc_tcp.c: Likewise.
76554         * sunrpc/svc_udp.c: Likewise.
76555         * sunrpc/svc_unix.c: Likewise.
76556         * sunrpc/xdr.c: Likewise.
76557         * sunrpc/xdr_array.c: Likewise.
76558         * sunrpc/xdr_rec.c: Likewise.
76559         * sunrpc/xdr_ref.c: Likewise.
76560         * sunrpc/xdr_stdio.c: Likewise.
76562 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76564         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76566 2011-07-03  Andreas Jaeger  <aj@suse.de>
76568         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76569         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76570         regenerate with gen-libm-tests.pl.
76572 2010-05-12  Petr Baudis  <pasky@suse.cz>
76574         [BZ #11589]
76575         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76576         around j0() zero points by switching to j1().
76577         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76578         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76582 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76584         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76585         instead of 0.
76586         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76587         instead of 0.
76588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76589         Patch in part by Pavel Roskin <proski@gnu.org>.
76591         [BZ #13138]
76592         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76593         realloc.
76594         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76595         Free memory block if necessary.
76597         [BZ #12847]
76598         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76599         be NULL.  Don't lock in this case.
76601 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76603         * elf/elf.h (ELFOSABI_GNU): New macro.
76604         (ELFOSABI_LINUX): Define to that.
76606 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76608         * string/strncat.c (strncat): Undef the symbol in case it has been
76609         defined in bits/string.h.
76611 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76613         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76615         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76616         link map.
76618 2011-08-17  Andreas Jaeger  <aj@suse.de>
76620         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76622 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76623             Ian Lance Taylor  <iant@google.com>
76625         * math/libm-test.inc (lround_test): New testcase.
76626         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76628 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76630         * Makefile: Remove support for automatic cvs check-ins.
76631         * Makerules: Likewise.
76632         * config.make.in: Likewise.
76633         * configure.in: Likewise.
76634         * intl/Makefile: Likewise.
76635         * locale/Makefile: Likewise.
76636         * po/Makefile: Likewise.
76637         * posix/Makefile: Likewise.
76638         * sysdeps/gnu/Makefile: Likewise.
76639         * sysdeps/mach/hurd/Makefile: Likewise.
76640         * sysdeps/sparc/sparc32/Makefile: Likewise.
76642         [BZ #13118]
76643         * posix/Makefile (bug-regex32-ENV): Define.
76644         Patch by John Stanley <jpsinthemix@verizon.net>.
76646         * misc/Makefile (headers): Add bits/select2.h.
76647         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76648         * misc/bits/select2.h: New file.
76649         * include/bits/select2.h: New file.
76650         * debug/Makefile (routines): Add fdelt_chk.
76651         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76652         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76653         FD_ISSET.
76654         * debug/fdelt_chk.c: New file.
76656         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76657         * wcsmbs/test-wmemcmp.c: Likewise.
76658         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76659         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76661 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76663         * string/Makefile (strop-tests): Add memcmp.
76664         * string/test-wmemcmp.c: New file.
76665         * string/test-memcmp.c: Add wmemcmp support.
76667 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76669         [BZ #13153]
76670         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76671         2011-07-19 change.
76673         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76674         garbage value in a __mach_port_mod_refs call in the cases of the
76675         task-self and thread-self ports.
76677 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76679         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76681 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76683         * elf/dl-load.c (lose): Check for non-null L.
76685 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76687         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76689         * elf/dl-libc.c (dlerror_run): Pass back error code from
76690         dl_catch_error.
76692         [BZ #13123]
76693         * elf/dl-load.c (lose): Free l_origin if it is valid.
76695         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76696         names.
76697         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76698         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76699         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76700         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76701         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76702         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76704 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76706         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76707         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76708         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76709         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76710         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76711         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76712         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76713         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76714         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76715         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76717 2011-08-15  Alan Modra  <amodra@gmail.com>
76719         [BZ #13092]
76720         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76721         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76722         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76723         ppc_mcount to static-only-routines.
76724         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76725         __mcount_internal.
76726         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76727         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76729 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76731         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76732         for finite and infinity parameters.
76734 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76737         and add nop instructions for throughput optimization.
76738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76740 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76742         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76743         aligned copy for power7 with vector-scalar instructions.
76744         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76746 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76749         AVX check.
76751 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76753         [BZ #13144]
76754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76755         last change.
76757 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76759         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76760         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76761         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76762         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76763         clock_gettime.
76765 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76767         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76768         Forgot to demangle the pointer.
76770         * sysdeps/i386/sysdep.h: Define atom_text_section.
76771         * sysdeps/x86_64/sysdep.h: Likewise.
76772         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76773         section with atom_text_section.
76774         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76775         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76776         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76778         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76780         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76781         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76782         already be defined.  Change to take two parameters and don't assign
76783         result to variable.  Adjust all users.
76784         Define INTERNAL_GETTIME if not already defined.
76785         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76786         call.
76787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76788         HAVE_CLOCK_GETTIME_VSYSCALL.
76789         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76792         gettimeofday vsyscall, just use time.
76794 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76796         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76797         <errno.h>.
76799 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76801         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76802         syscall on x86-64.
76803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76804         syscall.
76805         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76806         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76807         syscall if possible.
76809 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76811         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76812         e_ident.  Don't pass to find_mapsXX.
76813         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76815 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76818         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76819         * sysdeps/x86_64/multiarch/strchr.S: Update.
76820         Check bit_slow_BSF bit.
76821         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76822         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76823         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76825 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76827         [BZ #13134]
76828         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76829         before glibc 2.15.
76830         (tryshell): Define.
76831         (__spawni): Change last parameter to be flag.  Test
76832         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76833         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76834         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76835         * posix/spawni.c: Likewise.
76836         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76837         * posix/spawnp.c: Likewise.  Change normal version to use
76838         SPAWN_XFLAGS_USE_PATH.
76839         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76840         SPAWN_XFLAGS_TRY_SHELL.
76842         [BZ #13150]
76843         * posix/glob.h: Remove gcc 1.x support.
76845         [BZ #13068]
76846         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76848 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76851         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76852         strrchr-sse2-bsf
76853         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76854         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76855         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76857         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76858         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76860 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76862         * sysdeps/x86_64/wcscmp.S: New file.
76864         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76865         wcscmp-c wcscmp-sse2
76866         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76867         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76868         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76869         * wcsmbs/wcscmp.c: Allow renaming.
76871 2011-09-05  David S. Miller  <davem@davemloft.net>
76873         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76874         stack slot, rather than the struct return pointer slot.
76875         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76876         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76878         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76880 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76882         * po/ja.po: Update from translation team.
76884         [BZ #13144]
76885         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76886         kernel in 64-bit binaries.
76888 2011-09-01  David S. Miller  <davem@davemloft.net>
76890         * elf/elf.h (HWCAP_SPARC_*): Move to..
76891         * sysdeps/sparc/sysdep.h: this new file and add new values.
76892         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76893         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76894         _DL_HWCAP_COUNT to 24.
76895         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76896         entries.
76897         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76898         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76899         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76901         instead of magic constants.
76902         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76904 2011-08-31  David S. Miller  <davem@davemloft.net>
76906         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76907         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76908         Reimplement to do errno handling inline.
76909         (SYSCALL_ERROR_HANDLER): New macro.
76910         (__SYSCALL_STRING): Do not do errno handling in asm.
76911         (__CLONE_SYSCALL_STRING): Delete.
76912         (__INTERNAL_SYSCALL_STRING): Delete.
76913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76914         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76915         (PSEUDO): Reimplement to do errno handling inline.
76916         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76917         (SYSCALL_ERROR_HANDLER): New macro.
76918         (__SYSCALL_STRING): Do not do errno handling in asm.
76919         (__CLONE_SYSCALL_STRING): Delete.
76920         (__INTERNAL_SYSCALL_STRING): Delete.
76921         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76922         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76923         i386.
76924         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76925         (inline_syscall*): Add 'err' argument.
76926         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76927         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76928         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76929         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76931         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76932         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76934 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76936         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76938 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76940         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76941         directive.
76943 2011-08-24  David S. Miller  <davem@davemloft.net>
76945         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76947 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76949         * elf/Makefile: Add rules to build and run unload8 test.
76950         * elf/unload8.c: New file.
76951         * elf/unload8mod1.c: New file.
76952         * elf/unload8mod1x.c: New file.
76953         * elf/unload8mod2.c: New file.
76954         * elf/unload8mod3.c: New file.
76956         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76957         it wasn't used.
76959 2011-08-23  David S. Miller  <davem@davemloft.net>
76961         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76962         subtract stack bias.
76963         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76964         %sp not %fp in calculations.
76965         (_JMPBUF_UNWINDS_ADJ): Likewise.
76967         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76968         (aio_suspend): Call it to force an exception region around the
76969         AIO_MISC_WAIT() invocation.
76971 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76973         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76974         backslash.
76976 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76978         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76979         protection macro.
76980         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76981         and <dl-machine.h>.
76982         (Elf64_FuncDesc): Remove.
76984 2011-08-22  David S. Miller  <davem@davemloft.net>
76986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76987         sigaltstack check, add missing cfi directives.
76988         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76989         missing cfi directives, and sigaltstack handling.
76991 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76993         [BZ #11724]
76994         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76995         object is seen twice.
76996         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76998         * elf/Makefile (distribute): Add tst-initorder2.c.
76999         (tests): Add tst-initorder2.
77000         (modules-names): Add tst-initorder2a tst-initorder2b
77001         tst-initorder2c tst-initorder2d.  Add rules to build them.
77002         ($(objpfx)tst-initorder2.out): New rule.
77003         * elf/tst-initorder2.c: New file.
77004         * elf/tst-initorder2.exp: New file.
77006 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77008         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77010         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77011         dependencies back to end of function.
77013         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77014         $(elfobjdir)/ld.so.
77016 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77019         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77021         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77022         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77023         of __vdso_gettimeofday.
77024         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77025         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77026         attribute_hidden.
77027         (_libc_vdso_platform_setup): Remove initialization of
77028         __vdso_gettimeofday and __vdso_time.
77030 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77032         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77033         and fgetc_unlocked.
77034         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77035         getc_unlocked.
77037         * elf/dl-open.c (add_to_global): Report additions to the global scope
77038         for LD_DEBUG=scopes.
77039         (dl_open_worker): Also print scope of newly loaded dependencies.
77040         (_dl_show_scope): Indicate if there is no scope.
77042         [BZ #13114]
77043         * stdio-common/Makefile (tests): Add bug24.
77044         * stdio-common/bug24.c: New file.
77046 2011-08-19  Andreas Jaeger  <aj@suse.de>
77048         [BZ #13114]
77049         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77050         non-existant file when using close-on-exec mode.
77052 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77055         the very first instruction.
77057         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77058         the CFI state in the end.
77059         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77060         inclusion of dl-trampoline.h.
77061         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77063 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77065         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77066         expectations for long double.
77068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77069         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77071 2011-08-14  David S. Miller  <davem@davemloft.net>
77073         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77074         artificual limit depends upon the system page size.
77076 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77078         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77079         * resolv/Makefile: Define CFLAGS-libresolv.
77081 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77083         * nss/makedb.c (compute_tables): Make variables used in nested
77084         function static.
77086 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77088         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77089         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77090         if buffer was too small.
77092         * elf/pldd.c (main): Attach to all threads in the process.
77093         Rewrite /proc handling to use *at functions.
77095 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77097         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77098         specifies first scope to show.
77099         (dl_open_worker): Update callers.  Move printing scope of new
77100         object to before the relocation.
77101         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77102         * sysdeps/generic/ldsodefs.h: Update declaration.
77104         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77105         string for the scope number.
77107 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77109         * nscd/servicescache.c (cache_addserv): Make sure written is always
77110         initialized.
77112 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77114         * sysdeps/i386/i486/bits/atomic.h
77115         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77116         statement expression, so as to suppress "set but not used" warning.
77117         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77119         * string/strncat.c (STRNCAT): Use prototype definition.
77121         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77122         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77123         -Iprograms here.
77124         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77125         (localedef-modules): Add localedef.
77126         (locale-modules): Add locale.
77128         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77129         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77130         to avoid a warning.
77132 2011-08-14  David S. Miller  <davem@davemloft.net>
77134         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77135         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77137 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77139         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77140         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77141         * elf/rtld.c (dl_main): Set l_name of vDSO.
77142         Call _dl_show_scope when DL_DEBUG_SCOPES.
77143         (process_dl_debug): Recognize scopes flag and also set it for all.
77144         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77145         Declare _dl_show_scope.
77147         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77148         (do_dlopen): Pass caller_dlopen to dl_open.
77149         (__libc_dlopen_mode): Initialize caller_dlopen.
77151         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77152         of libc.  Make tolower call locale-independent.  Optimize a bit by
77153         using isdigit instead of isalnum.
77154         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77156 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77158         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77159         was a dependency or dynamically loaded.
77161 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77163         * intl/l10nflist.c: Allow architecture-specific pop function.
77164         * sysdeps/x86_64/l10nflist.c: New file.
77166         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77167         classification.
77169 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77171         * include/dirent.h: Add libc_hidden_proto for scandirat and
77172         scandirat64.  Don't declare __scandirat64.
77173         * dirent/scandirat.c: Add libc_hidden_def.
77174         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77175         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77177 2011-08-10  David S. Miller  <davem@davemloft.net>
77179         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77180         enum.
77181         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77182         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77183         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77185 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77187         * Versions.def [libc]: Add GLIBC_2.15.
77188         * dirent/Makefile (routines): Add scandirat and scandirat64.
77189         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77190         GLIBC_2.15.
77191         * dirent/dirent.h: Declare scandirat and scandirat64.
77192         * dirent/scandirat.c: New file.
77193         * dirent/scandirat64.c: New file.
77194         * sysdeps/wordsize-64/scandirat.c: New file.
77195         * sysdeps/wordsize-64/scandirat64.c: New file.
77196         * dirent/opendir.c: Define opendirat.
77197         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77198         using scandirat.
77199         * dirent/scandir64.c: Adjust for scandir.c change.
77200         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77201         __scandirat64, and __scandir_cancel_handler.
77202         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77203         additional parameter and use openat instead of open (outside of ld.so).
77204         Add new __opendir as wrapper around __opendirat.
77205         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77206         here without requiring old scandirat implementation.
77208 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77210         * dirent/scandir.c (cancel_handler): Renamed to
77211         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77212         defined.  Adjust users.
77213         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77214         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77216 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77218         * string/test-string.h (IMPL): Use __STRING to expand name and then
77219         stringify it.
77221         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77222         of cleanups.
77224 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77226         * string/Makefile: Update.
77227         (strop-tests): Append strncat.
77228         * string/test-wcscmp.c: New file.
77229         New comprehensive test for wcscmp.
77230         * string/test-strcmp.c: Update.
77231         (WIDE): New define.
77233 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77235         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77236         line.
77238 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77241         encoding to ACE if AI_IDN.
77243 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77246         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77248 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77251         Fix overflow bug in strncat.
77252         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77254         * string/test-strncat.c: Update.
77255         Add new tests for checking overflow bugs.
77257 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77260         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77261         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77262         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77264         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77265         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77266         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77267         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77270         (USE_AS_STRCAT): Define.
77271         Add strcat and strncat support.
77272         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77274 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77276         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77277         __n bigger than INT_MAX+1.
77278         (__strncmp_g): Likewise.
77280 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77282         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77283         * libio/stido.h: Likewise.
77285         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77286         (AF_NFC): Define.
77287         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77288         (AF_NFC): Define.
77290         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77291         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77293         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77296         [BZ #13021]
77297         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77298         installed.
77300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77301         typo.
77302         (_dl_x86_64_save_sse): Likewise.
77304 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77306         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77307         OSXSAVE.
77308         (_dl_x86_64_save_sse): Likewise.
77310         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77312         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77314 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77317         change.
77318         (_dl_x86_64_save_sse): Use correct AVX check.
77320 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77323         bug in strncpy/strncat.
77324         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77326 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77328         * string/tester.c (test_strcat): Add tests for different alignments
77329         of source and destination.
77330         (test_strncat): Likewise.
77332 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77334         [BZ #12852]
77335         * posix/glob.c (glob): Check passed in values before using them in
77336         expressions to avoid some overflows.
77337         (glob_in_dir): Likewise.
77339         [BZ #13007]
77340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77341         check for AVX enablement so that we don't crash with old kernels and
77342         new hardware.
77343         * elf/tst-audit4.c: Add same checks here.
77344         * elf/tst-audit6.c: Likewise.
77346         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77348 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77350         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77352 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77354         * po/cs.po: Update from translation team.
77355         * po/bg.po: Likewise.
77357 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77359         * misc/sys/cdefs.h: Add support for const attribute.
77360         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77361         to gnu_dev_{major,minor,makedev} functions.
77363 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77365         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77367 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77369         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77370         strlen results.
77372 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77375         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77376         register in order to avoid conflicts with the soft frame pointer
77377         being held in r11 when necessary.
77378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77379         (INTERNAL_VSYSCALL_NCS): Likewise.
77381 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77383         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77384         * elf/dl-fini.c (_dl_fini): Adjust caller.
77385         * elf/dl-close.c (_dl_close_worker): Likewise.
77386         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77388 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77390         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77391         "aux_cache->nlibs < 0".
77393         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77394         in the reload-count case.
77396 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77399         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77400         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77401         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77402         * sysdeps/x86_64/multiarch/strcat.S: New file.
77403         * sysdeps/x86_64/multiarch/strncat.S: New file.
77404         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77405         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77406         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77407         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77409         (USE_AS_STRCAT): Define.
77410         Add strcat and strncat support.
77411         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77412         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77413         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77414         * string/strncat.c: Update.
77415         (USE_AS_STRNCAT): Define.
77416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77417         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77418         and i7.
77419         * sysdeps/x86_64/multiarch/init-arch.h
77420         (bit_Prefer_PMINUB_for_stringop): New.
77421         (index_Prefer_PMINUB_for_stringop): Likewise.
77422         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77423         bit_Prefer_PMINUB_for_stringop.
77425 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77427         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77428         buffer64.
77429         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77430         of casting of buffer.
77431         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77432         buffer32 and buffer64.
77433         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77434         writes instead of casting of buffer.
77435         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77436         buffer32.
77437         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77438         casting of buffer.
77440 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77442         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77444 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77446         * nscd/nscd.c (termination_handler): Don't do anything for a database
77447         if it has not yet been initialized.
77449 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77451         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77453 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77455         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77457 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77459         * po/nl.po: Update from translation team.
77460         * po/sv.po: Likewise.
77462 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77464         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77465         now disallowed by GCC.
77467         * configure.in (use-default-link): Default to yes if a test -shared
77468         link meets our qualifications.
77469         * configure: Regenerated.
77471         * config.make.in (output-format): New variable.
77472         * configure.in: Check for ld --print-output-format support.
77473         * configure: Regenerated.
77474         * Makerules ($(common-objpfx)format.lds)
77475         [$(output-format) != unknown]: Just use $(output-format),
77476         instead of the linker-script munging.
77478 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77480         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77481         of $(common-objpfx)shlib.lds.
77482         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77484         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77485         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77487         * configure.in (-z relro check): Adjust test code to add a large
77488         writable data section after it.
77489         * configure: Regenerated.
77491 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77493         * configure.in (-z relro check): Fix test code to make the variable
77494         truly const.
77495         * configure: Regenerated.
77497 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77499         * nscd/nscd.h (struct traced_file): Define.
77500         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77501         elements.  Add traced_files.
77502         (inotify_fd): Declare.
77503         (register_traced_file): Declare.
77504         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77505         (inotify_fd): Export.
77506         (resolv_conf_descr): Remove.
77507         (nscd_init): Move inotify descriptor creation to main.
77508         Don't register files for notification here.
77509         (register_traced_file): New function.
77510         (invalidate_cache): Don't use reset_res to determine whether to call
77511         res_init, go through the list of registered files.
77512         (main_loop_poll): The inotify descriptors are now stored in the
77513         structures for the traced files.
77514         (main_loop_epoll): Likewise.
77515         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77516         to __nss_disable_nscd.
77517         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77518         for a database anymore.  Check the records for all the registered
77519         files instead.
77520         * nss/Makefile (libnss_files-routines): Add files-init.
77521         (libnss_db-routines): Add db-init.
77522         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77523         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77524         * nss/nss_db/db-init.c: New file.
77525         * nss/nss_files/files-init.c: New file.
77526         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77527         __nss_lookup_function.
77528         (__nss_lookup_function): Call nss_load_library.
77529         (nss_load_all_libraries): New function.
77530         (__nss_disable_nscd): Take parameter with callback function for files
77531         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77532         used for the cached services.
77533         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77534         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77535         options for features to all the files in nscd.
77537         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77539 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77541         * csu/elf-init.c (__libc_csu_init): Comment typo.
77543 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77545         * po/pl.po: Update from translation team.
77546         * po/ja.po: Likewise.
77547         * po/ru.po: Likewise.
77548         * po/ko.po: Likewise.
77549         * po/fr.po: Likewise.
77551 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77553         * configure.in (.ctors/.dtors header and trailer check):
77554         Use an empirical test on a built program.
77555         * configure: Regenerated.
77557         * configure.in (-z relro check): Use an empirical test on a built DSO.
77558         Detect, but do not require, on ia64.
77559         * configure: Regenerated.
77561         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77562         Update tests that use readelf to use $READELF instead.
77563         * configure: Regenerated.
77565 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77567         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77568         if the result is not used.
77570 2011-07-05  Andreas Jaeger  <aj@suse.de>
77572         [BZ#9696]
77573         * stdlib/tst-strtod.c: Add testcase.
77575 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77577         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77578         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77579         The latter has a higher limit.  Take additional parameter to pass to
77580         the new function.
77581         (__pathconf): Pass file to __statfs_link_max.
77582         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77583         __statfs_link_max.
77584         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77585         __statfs_link_max.
77587         [BZ #12868]
77588         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77589         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77590         Handle Lustre.
77591         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77592         (__statfs_filesize_max): Likewise.
77593         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77595 2011-07-05  Andreas Jaeger  <aj@suse.de>
77597         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77599 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77601         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77602         `status' variable.
77603         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77604         Likewise.
77606 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77608         * Makefile (strop-tests): Add strncat.
77609         * string/test-strncat.c: New file.
77611 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77613         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77615 2011-06-21  Andreas Jaeger  <aj@suse.de>
77617         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77618         Copy rule from iconvdata/Makefile.
77620 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77622         [BZ #12922]
77623         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77624         but no long options are defined, just return 'W'.
77626 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77628         [BZ #9696]
77629         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77631 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77633         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77634         netgroups to read.
77635         (innetgr): Likewise.
77637 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77639         * config.make.in (install_root): Default to $(DESTDIR).
77641 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77643         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77645 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77647         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77649         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77650         containing directory rather than embedding absolute directory names.
77652         * scripts/check-local-headers.sh: Rewritten using awk.
77653         Match by word, not by line.  Print error messages for matches.
77654         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77656         * Makerules [shlib-lds-flags empty]:
77657         ($(common-objpfx)libc_pic.opts): New target.
77658         ($(common-objpfx)libc_pic.os.clean): New target.
77659         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77661         * config.make.in (OBJCOPY): New variable.
77662         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77663         * configure: Regenerated.
77665         * config.make.in (use-default-link): New variable.
77666         * configure.in (use_default_link): Grok --with-default-link to set it.
77667         * configure: Regenerated.
77668         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77669         (shlib-lds, shlib-lds-flags): Define to empty.
77671         * Makerules (shlib-lds): New variable.
77672         (shlib-lds-flags): New variable.
77673         (build-shlib, build-moduile, build-module-asneeded): Use it.
77674         ($(common-objpfx)libc.so): Use $(shlib-lds).
77675         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77676         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77678         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77679         DT_FLAGS/DT_FLAGS_1 with zero flags.
77681         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77682         linker script munging.
77684 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77686         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77687         as 128-bit value.
77688         * crypt/sha512.c (sha512_process_block): Perform total addition using
77689         128-bit if possible.
77690         (__sha512_finish_ctx): Likewise.
77691         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77692         as 64-bit value.
77693         * crypt/sha256.c (SWAP64): Define.
77694         (sha256_process_block): Perform total addition using 64-bit if
77695         possible.
77696         (__sha256_finish_ctx): Likewise.
77698 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77700         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77702         * nscd/hstcache.c (cache_addhst): Likewise.
77703         * nscd/grpcache.c (cache_addgr): Likewise.
77704         * nscd/aicache.c (addhstaiX): Likewise.
77705         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77707 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77709         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77711         * nscd/hstcache.c (cache_addhst): Likewise.
77712         * nscd/grpcache.c (cache_addgr): Likewise.
77713         * nscd/aicache.c (addhstaiX): Likewise.
77715 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77717         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77718         domain only when needed.
77720 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77723         is always restored.
77725 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77727         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77728         are re-adding the entry.
77729         * nscd/servicescache.c (cache_addserv): Likewise.
77731 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77733         * sysdeps/generic/dl-irel.h: fix protection against multiple
77734         inclusions.
77735         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77737 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77739         [BZ #12935]
77740         * malloc/memusage.sh: Fix quoting in message.
77741         * debug/xtrace.sh: Likewise.
77743         * configure.in: Remove support for --experimental-malloc option, make
77744         it the default.
77745         * config.make.in: Likewise.
77746         * malloc/Makefile: Likewise.
77748 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77750         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77751         two-byte characters.
77753 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77755         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77756         AC_CACHE_CHECK invocation.
77757         * configure: Regenerated.
77759         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77761 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77763         [BZ #12350]
77764         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77765         bit from old_res_options.
77767         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77769         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77770         value type for setfct.
77772 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77774         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77775         __gettimeofday instead of gettimeofday.
77777 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77779         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77781 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77783         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77786         info.
77788 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77791         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77792         strcpy-sse2-unaligned strncpy-sse2-unaligned
77793         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77794         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77795         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77796         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77797         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77798         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77800         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77801         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77802         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77803         (STRCPY): Support SSE2 and SSSE3 versions.
77805 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77807         [BZ #12874]
77808         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77809         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77810         kernels which artificially limit size of requests.
77812 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77815         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77816         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77817         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77818         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77819         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77820         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77821         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77822         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77824         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77825         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77826         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77827         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77828         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77830         Enable unaligned load optimization for Intel Core i3, i5 and i7
77831         processors.
77832         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77833         Define.
77834         (index_Fast_Unaligned_Load): Define.
77835         (HAS_FAST_UNALIGNED_LOAD): Define.
77837 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77839         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77841 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77843         [BZ #12907]
77844         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77845         until it is clear that the information is realy needed.
77846         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77848 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77852 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77854         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77855         /sys/devices/system/cpu/online if it is usable.
77857         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77858         reading the information from the /proc filesystem to once a second.
77860 2011-06-21  Andreas Jaeger  <aj@suse.de>
77862         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77863         NULL after inclusion of kernel headers.
77865 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77867         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77868         calls to internal_setent.
77870         [BZ #12885]
77871         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77872         addresses using gethostbyname4_r ignore IPv4 addresses.
77874         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77875         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77877         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77879 2011-06-20  David S. Miller  <davem@davemloft.net>
77881         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77882         inclusions.
77883         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77885         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77886         (elf_irel): Use it.
77887         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77888         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77889         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77890         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77891         * sysdeps/x86_64/dl-irel.h: Likewise.
77893         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77894         * elf/dl-sym.c: Likewise.
77896 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77898         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77899         need to dereference resplen2.
77901 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77903         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77905 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77907         * Makeconfig: Define vardbdir and inst_vardbdir.
77908         * nss/Makefile: Add rules to install db-Makefile.
77910         * nss/nss_db/db-XXX.c: Cleanup.
77912         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77913         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77914         GLIBC_PRIVATE.
77915         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77916         * nss/makedb.c: Implement -g option to specify that value strings
77917         are generated and should not be added to table iterated over for
77918         get*ent calls.
77919         * nss/nss_db/db-initgroups.c: New file.
77921         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77922         interface.
77924         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77925         (internal_getgrouplist): Adjust to name change.
77926         Update use_initgroups_entry if this is not the first call.
77927         * nss/databases.def: Add initgroups entry.
77929         * nss/makedb.c (compute_tables): Check result of multiple hash table
77930         sizes to minimize maximum chain length.
77932 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77934         * Versions.def: Add entry for libnss_db.
77935         * shlib-versions: Likewise.
77936         * nss/Makefile: Add rules to build libnss_db.
77937         * nss/Versions: Add libnss_db information.  Organize libnss_files
77938         entries better.
77939         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77940         makedb progra.  Some minor improvements to generate smaller files.
77941         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77942         here from...
77943         * nss/makedb.c: ...here.
77944         Improve database format to be smaller and require less memory at
77945         runtime.
77946         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77947         db anymore.
77948         * nss/nss_db/db-netgrp.c: Likewise.
77949         * nss/nss_db/db-open.c: Likewise.
77950         * nss/nss_files/flies-XXX.x: Adjust comments.
77951         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77952         * nss/nss_files/files-grp.c: Likewise.
77953         * nss/nss_files/files-hosts.c: Likewise.
77954         * nss/nss_files/files-network.c: Likewise.
77955         * nss/nss_files/files-proto.c: Likewise.
77956         * nss/nss_files/files-pwd.c: Likewise.
77957         * nss/nss_files/files-rpc.c: Likewise.
77958         * nss/nss_files/files-service.c: Likewise.
77959         * nss/nss_files/files-sgrp.c: Likewise.
77960         * nss/nss_files/files-spwd.c: Likewise.
77961         * nss/nss_db/db-alias.c: Removed.
77962         * nss/nss_db/dummy-db.h: Removed.
77964 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77966         * nss/makedb.c: Rewritten to not use database library.
77967         * nss/Makefile: Update to build new makedb program.
77969 2011-06-14  Andreas Jaeger  <aj@suse.de>
77971         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77972         memset declaration.
77974 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77977         tmpbuf.
77979 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77981         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77982         * elf/Makefile ($(objpfx)ld.so): Likewise.
77984         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77985         Don't list ld.so twice in dependencies.
77987         * posix/bug-regex31.c: Include <stdlib.h>.
77989         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77991         * nis/nss_compat/compat-spwd.c
77992         (getspent_next_nss_netgr): Remove unused variable.
77993         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77995         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77996         nonmembers" output to use the right array.
77998         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78000         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78002         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78003         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78004         * catgets/gencat.c (read_input_file): Likewise.
78005         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78007         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78008         variable definition inside #if's controlling its use.
78010         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78012         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78014         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78016         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78017         unreachable code.
78019         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78021         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78022         * configure: Regenerated.
78024         * Makerules: Revert last change.
78025         * elf/Makefile: Likewise.
78027 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78029         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78030         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78031         (reloc-link): Likewise.
78033 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78035         * elf/Makefile: Add rules to build pldd.
78036         * elf/pldd.c: New file.
78037         * elf/pldd-xx.c: New file.
78039 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78041         * version.h: Update for 2.15 development version.
78043 2011-06-07  David S. Miller  <davem@davemloft.net>
78045         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78046         ifuncs.
78047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78048         elf_machine_lazy_rel): Likewise.
78049         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78051         elf_machine_lazy_rel): Likewise.
78052         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78053         dl_hwcap via passed in argument.
78054         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78055         Likewise.
78057 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78059         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78061 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78063         [BZ #12849]
78064         * manual/fdl-1.1.texi: New file, verbatim from:
78065         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78066         * manual/lgpl-2.1.texi: New file, verbatim from:
78067         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78068         * manual/Makefile (licenses): New variable, list those new file names.
78069         (texis): Use it.
78070         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78072         * manual/fdl.texi: File removed.
78073         * manual/lesser.texi: File removed.
78074         * manual/libc.texinfo (Copying, Documentation License):
78075         Use new @include file names, put @appendix directive before @include.
78077 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78079         [BZ #12841]
78080         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78081         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78082         (mq_open): Add __NTH.
78084 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78087         Assume Intel Core i3/i5/i7 processor if AVX is available.
78089 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78091         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78092         typo.
78094 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78096         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78097         memory.  Use alloca_account.  Fix memory leak when retrying.
78099 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78101         * version.h (RELEASE): Bump for 2.14 release.
78102         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78104         * config.make.in (RANLIB): Remove entry.
78106 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78108         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78109         (libc.pot): Work around missing support for .ksh extension in xgettext.
78111         [BZ #12684]
78112         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78113         if both request failed.
78114         (send_dg): In case of server errors clear resplen or *resplen2.
78116         [BZ #12454]
78117         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78118         when there are multiple maps.
78119         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78120         (_dl_fini): Remove test here.
78122         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78124 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78126         [BZ #12350]
78127         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78128         bit from old_res_options.
78129         (gaih_inet): Likewise.
78131         [BZ #11099]
78132         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78133         as signed.
78135         * resolv/res_init.c (res_setoptions): Make the code more compact.
78137         [BZ #11558]
78138         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78139         set RES_USEVC.
78141         [BZ #11634]
78142         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78144         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78146         [BZ #11781]
78147         * malloc/malloc.h: Declare malloc hook variables as volatile.
78149         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78150         in last patch.
78152         [BZ #11799]
78153         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78154         raise in the comment.
78155         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78157         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78159 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78161         [BZ #12811]
78162         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78163         grow the buffers more if it already has to be sufficient.
78164         (build_wcs_upper_buffer): Likewise.
78165         * posix/regexec.c (check_matching): Likewise.
78166         (clean_state_log_if_needed): Likewise.
78167         (extend_buffers): Don't enlarge buffers beyond size of the input
78168         buffer.
78169         Patches mostly by Emil Wojak <emil@wojak.eu>.
78170         * posix/bug-regex32.c: New file.
78171         * posix/Makefile (tests): Add bug-regex32.
78173         * locale/findlocale.c (_nl_find_locale): Return right away if
78174         _nl_explode_name failed.
78175         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78177         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78179         * debug/xtrace.sh: Unify messages.
78180         * malloc/memusage.sh: Likewise.
78182         [BZ #12813]
78183         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78184         time symbol from vDSO.  Substitute with vsyscall if not available.
78185         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78186         __vdso_time.
78188         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78189         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78190         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78191         Add sendmmsg and internal_sendmmsg.
78192         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78193         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78194         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78196         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78197         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78200 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78202         [BZ #12813]
78203         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78204         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78205         available.
78206         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78207         __vdso_getcpu.
78209         [BZ #12814]
78210         * iconvdata/Makefile (tests): Add bug-iconv9.
78211         * iconvdata/bug-iconv9.c: New file.
78213 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78215         [BZ #12814]
78216         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78218 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78220         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78221         (struct user_regs_struct): Change intcs field back to cs.
78223 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78225         * po/ja.po: Update from translation team.
78227 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78229         [BZ #12795]
78230         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78231         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78233 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78235         * stdlib/longlong.h: Update from GCC.
78237 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78239         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78240         parameter name.
78241         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78242         Add parameter name.
78243         (__sysconf): Pass it down.
78245 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78247         [BZ #12671]
78248         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78249         some situations.
78250         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78251         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78252         add in in __libc_use_alloca calls.  Adjust callers.
78253         (glob): Use malloc in some situations.
78255         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78256         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78257         pltexit.
78259 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78261         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78262         and CLOCK_BOOTTIME_ALARM.
78264         [BZ #12782]
78265         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78266         is returned.
78268         * string/_strerror.c (__strerror_r): Print negative errors as signed
78269         numbers.
78271         [BZ #12777]
78272         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78273         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78274         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78276         * configure.in: Fix typo in redirection and correct removal of test
78277         files in two cases.
78279         [BZ #12788]
78280         * locale/setlocale.c (new_composite_name): Fix test to check for
78281         identical name of all categories.
78283         [BZ #12792]
78284         * libio/filedoalloc.c (local_isatty): New function.
78285         (_IO_file_doallocate): Use local_isatty.
78286         * stdio-common/perror.c (perror): In case a new stream is used
78287         forward the stream error.
78288         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78289         error flag.
78291 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78293         [BZ #11884]
78294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78295         alloca.
78296         * include/alloca.h (extend_alloca_account): Define.
78298         [BZ #11857]
78299         * posix/regex.h: Fix comments with documentation of user-accessible
78300         fields after compilation and describe correct free'ing of pattern
78301         after re_compile_pattern.
78302         Patch by Reuben Thomas <rrt@sc3d.org>.
78304 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78306         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78307         and -mno-altivec to prevent the compiler from using Altivec and/or
78308         VSX instructions when the corresponding registers are not available.
78310 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78312         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78314 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78316         * libio/freopen.c (freopen): Use __dup2, not dup2.
78317         * libio/freopen64.c (freopen64): Likewise.
78319 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78321         [BZ #12775]
78322         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78323         * math/Makefile (tests): Add test-powl.
78324         (CFLAGS-test-powl.c): Define.
78325         * math/test-powl.c: New file.
78327 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78329         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78331 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78333         [BZ #11837]
78334         * iconvdata/gb18030.c: Update to GB18020-2005.
78336 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78338         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78339         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78340         Patch by Aharon Robbins <arnold@skeeve.com>.
78342         [BZ #11892]
78343         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78344         on the stack.
78346         [BZ #11895]
78347         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78348         through underflows.
78350         [BZ #12766]
78351         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78352         point to strings before performing equality test for error_one_per_line
78353         mode.
78355         [BZ #11697]
78356         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78358         [BZ #11820]
78359         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78360         (struct user_fpregs_struct): Avoid __uint*_t types.
78362         [BZ #6420]
78363         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78364         symbol info.  Use it instead of calling _dl_addr locally.
78365         (lock_and_info): New function.
78366         (tr_freehook): Call lock_and_info and pass symbol info as additional
78367         parameter to tr_where.
78368         (tr_mallochook): Likewise.
78369         (tr_reallochook): Likewise.
78370         (tr_memalignhook): Likewise.
78372         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78373         used and couldn't be at all thread-safe.
78375 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78377         * libio/freopen.c (freopen): Don't close old file descriptor
78378         before the new one is opened.  Instead dup the new file descriptor
78379         to the old one after the new stream is created.
78380         * libio/freopen64.c (freopen64): Likewise.
78381         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78382         * libio/fileops.c (_IO_new_file_close_it): Handle new
78383         _IO_FLAGS2_NOCLOSE flag.
78384         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78385         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78386         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78387         _IO_FLAGS2_NOCLOSE flag.
78388         * include/unistd.h: Add hidden_proto for dup3.
78389         Define __have_dup3.
78390         * io/dup3.c: Define hidden symbol.
78391         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78393         [BZ #7101]
78394         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78395         when an incomplete long option is used.
78396         * posix/tst-getopt_long1.c: New file.
78397         * posix/Makefile (tests): Add tst-getopt_long1.
78399         [BZ #10138]
78400         * scripts/config.guess: Update from autoconf-2.68.
78401         * scripts/config.sub: Likewise.
78403         [BZ #10157]
78404         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78405         tests into ...
78406         (has_cpuclock): ...this.  New function.
78407         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78408         macro here based on has_cpuclock code.
78410         [BZ #10149]
78411         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78412         First byte (not low byte) is now always NUL.
78413         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78416         Use non-cancelable interfaces.
78418         [BZ #9809]
78419         * locale/iso-639.def: Add entry for Sorani.
78421         [BZ #11901]
78422         * include/stdlib.h: Move include protection to the right place.
78423         Define abort_msg_s.  Declare __abort_msg with it.
78424         * stdlib/abort.c (__abort_msg): Adjust type.
78425         * assert/assert.c (__assert_fail_base): New function.  Majority
78426         of code from __assert_fail.  Allocate memory for __abort_msg with
78427         mmap.
78428         (__assert_fail): Now call __assert_fail_base.
78429         * assert/assert-perr.c: Remove bulk of implementation.  Use
78430         __assert_fail_base.
78431         * include/assert.hL Declare __assert_fail_base.
78432         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78433         mmap.
78434         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78436 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78438         [BZ #11952]
78439         [BZ #12453]
78440         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78441         until all modules are registered in the DTV.
78442         * elf/Makefile: Add rules to build and run tst-tls19.
78443         * elf/tst-tls19.c: New file.
78444         * elf/tst-tls19mod1.c: New file.
78445         * elf/tst-tls19mod2.c: New file.
78446         * elf/tst-tls19mod3.c: New file.
78447         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78449         [BZ #12083]
78450         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78451         correctly.
78453         [BZ #12601]
78454         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78455         two-byte sequence errors.
78456         * iconvdata/Makefile (tests): Add bug-iconv8.
78457         * iconvdata/bug-iconv8.c: New file.
78459         [BZ #12626]
78460         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78461         buf2 definition.
78463         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78465         [BZ #12432]
78466         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78467         (dummy_getcfa): New function.
78468         (init): Get _Unwind_GetCFA address, use dummy if not found.
78469         (backtrace_helper): In recursion check, also check whether CFA changes.
78470         (__backtrace): Completely initialize arg.
78472         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78473         storing incomplete byte sequence in state object.  Avoid testing for
78474         guaranteed too small input if we know there is enough data available.
78476 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78478         * Makeconfig (+link-pie): Indent.
78479         * Rules (binaries-pie): Define if $(have-fpie) and
78480         $(build-shared).
78481         (binaries-shared): Also filter out $(binaries-pie).
78482         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78483         * nscd/Makefile (others-pie): Add nscd.
78484         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78485         ($(objpfx)nscd): Remove command override.
78486         * login/Makefile (others-pie): Add pt_chown.
78487         ($(objpfx)pt_chown): Remove command override.
78488         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78489         remove command overrides.
78491 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78493         * libio/tst_putwc.c: Fix error messages.
78495         [BZ #12724]
78496         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78497         currently writing and seek to current position when not.
78498         * libio/Makefile (tests): Add bug-fclose1.
78499         * libio/bug-fclose1.c: New file.
78501 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78503         [BZ #12511]
78504         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78505         don't set DF_1_NODELETE here.
78506         (do_lookup_x): When entering new entry test for copy relocation
78507         and if necessary set DF_1_NODELETE flag.
78508         * elf/tst-unique4.cc: New file.
78509         * elf/tst-unique4.h: New file.
78510         * elf/tst-unique4lib.cc: New file.
78511         * elf/Makefile: Add rules to build and run tst-unique4.
78512         Patch by Piotr Bury <pbury@goahead.com>.
78514 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78516         [BZ #12052]
78517         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78519         [BZ #12625]
78520         * misc/mntent_r.c (addmntent): Flush the stream after the output
78522         [BZ #12393]
78523         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78524         (is_trusted_path_normalize): Skip initial colon.  Append slash
78525         to empty buffer.  Duplicate is_trusted_path code but allow
78526         constructed patch to be prefix.
78527         (is_dst): Allow $ORIGIN followed by /.
78528         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78529         Correct testing of result of is_trusted_path_normalize
78530         (decompose_rpath): Fix warning.
78532 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78534         [BZ #11257]
78535         * grp/initgroups.c (internal_getgrouplist): When we found the service
78536         list through the initgroups entry in nsswitch.conf do not always
78537         continue on a successful lookup.  Don't always use the
78538         __nss_group_database value if it is set.
78539         * nss/nsswitch.conf (initgroups): Change action for successful db
78540         lookup to continue for compatibility.
78542 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78544         [BZ #11532]
78545         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78546         and CP774 modules.
78547         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78548         and CP774 modules.
78549         * iconvdata/tst-tables.sh: Likewise.
78550         * iconvdata/cp770.c: New file.
78551         * iconvdata/cp771.c: New file.
78552         * iconvdata/cp772.c: New file.
78553         * iconvdata/cp773.c: New file.
78554         * iconvdata/cp774.c: New file.
78555         * iconvdata/testdata/CP770: New file.
78556         * iconvdata/testdata/CP770..UTF8: New file.
78557         * iconvdata/testdata/CP771: New file.
78558         * iconvdata/testdata/CP771..UTF8: New file.
78559         * iconvdata/testdata/CP772: New file.
78560         * iconvdata/testdata/CP772..UTF8: New file.
78561         * iconvdata/testdata/CP773: New file.
78562         * iconvdata/testdata/CP773..UTF8: New file.
78563         * iconvdata/testdata/CP774: New file.
78564         * iconvdata/testdata/CP774..UTF8: New file.
78566         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78567         END CHARMAP line.
78568         * iconvdata/gen-8bit-gap.sh: Likewise.
78569         * iconvdata/gen-8bit.sh: Likewise.
78571         * locale/iso-639.def: Add ary entry.
78573         [BZ #11258]
78574         * locale/C-translit.h.in: Add U20A1 transliteration.
78576         [BZ #12178]
78577         * locale/iso-639.def: Add wae entry.
78578         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78580         [BZ #12545]
78581         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78582         for n.
78584         [BZ #12711]
78585         * locale/C-translit.h.in: Add entry for U20B9.
78586         Patch by pravin.d.s@gmail.com.
78588 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78590         [BZ #12713]
78591         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78592         ENAMETOOLONG use generic getcwd.
78593         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78594         in rtld.  Use *stat64.
78595         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78596         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78597         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78598         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78599         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78600         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78601         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78602         __fstatat64 macros.
78603         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78604         * dirent/rewinddir.c: Add libc_hidden_def.
78605         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78606         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78608         * include/dirent.h (__alloc_dir): Add flags parameter.
78609         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78610         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78611         __alloc_dir.
78612         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78613         from fdopendir if O_CLOEXEC is already set.
78615 2011-03-15  Alan Modra  <amodra@gmail.com>
78617         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78618         l_tls_firstbyte_offset non-zero.  Save padding offset in
78619         l_tls_firstbyte_offset for later use.
78620         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78621         freeing static tls block.
78623 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78625         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78626         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78627         being defined by the kernel headers.
78629 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78631         [BZ #12734]
78632         * resolv/resolv.h: Define RES_NOTLDQUERY.
78633         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78634         no-tld-query and set RES_NOTLDQUERY.
78635         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78636         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78637         modern BIND to search name as TLD unless forbidden.
78639 2011-05-07  Petr Baudis  <pasky@suse.cz>
78640             Ulrich Drepper  <drepper@gmail.com>
78642         [BZ #12393]
78643         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78644         (is_trusted_path): ...to here.
78645         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78646         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78647         using is_trusted_path_normalize() in setuid scripts.
78649 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78651         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78652         __BEGIN/__END_DECLS.
78654 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78657         NSS_STATUS_NOTFOUND if no record was found.
78659 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78661         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78662         (headers-not-in-tirpc): Remove rpc/netdb.h
78663         * resolv/netdb.h: Revert last change.
78665 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78667         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78668         circular dependency between libgcc.a and libc.a.
78670 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78672         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78673         * nis/Makefile: Don't install rpcsvc/*.
78674         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78675         instead of <rpc/types.h>.
78676         (MAXHOSTNAMELEN): Define.
78678 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78680         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78682 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78684         [BZ #12714]
78685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78686         gethostbyname4_r when IPv6 results are possible.
78688 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78690         [BZ #12723]
78691         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78692         _PC_PIPE_BUF handling.
78694 2011-04-30  Bruno Haible  <bruno@clisp.org>
78696         [BZ #12717]
78697         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78698         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78699         to 'int'.
78700         * inet/getnameinfo.c (getnameinfo): Likewise.
78702 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78704         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78705         to groups setting in database lookup.
78706         * nss/nsswitch.conf: Add initgroups entry.
78708 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78710         [BZ #12685]
78711         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78712         mode string.
78713         Patch by Eric Blake <eblake@redhat.com>.
78715 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78717         * sunrpc/Makefile (need-export-routines): Add svc_run.
78718         (routines): Remove svc_run.
78719         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78720         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78721         * sunrpc/svc_run.c (svc_run): Likewise.
78722         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78724 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78726         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78727         problem in reallocation in last patch.
78729 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78731         * sunrpc/Makefile: Move inclusion of Rules.
78733 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78735         * nss/nss_files/files-initgroups.c: New file.
78736         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78737         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78738         _nss_files_initgroups_dyn.
78740 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78742         * elf/elf.h (R_ARM_IRELATIVE): Define.
78744 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78746         * po/ru.po: Update from translation team.
78748 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78750         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78751         dependencies.
78753 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78755         [BZ #12653]
78756         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78757         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78758         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78760         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78762 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78764         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78765         differing bytes.
78766         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78768         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78770 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78772         [BZ #12420]
78773         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78774         storing it.
78775         * stdlib/bug-getcontext.c: New file.
78776         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78778 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78780         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78781         instructions into .machine "z9-109".
78782         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78783         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78785 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78787         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78788         between environment variables and auxiliary vector.
78790 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78792         * Makefile: Add rules to build linkobj/libc.so.
78793         * include/libc-symbols.h: Define libc_hidden_nolink.
78794         * include/rpc/auth.h: Mark functions which are to be hidden.
78795         * include/rpc/auth_des.h: Likewise.
78796         * include/rpc/auth_unix.h: Likewise.
78797         * include/rpc/clnt.h: Likewise.
78798         * include/rpc/des_crypt.h: Likewise.
78799         * include/rpc/key_prot.h: Likewise.
78800         * include/rpc/pmap_clnt.h: Likewise.
78801         * include/rpc/pmap_prot.h: Likewise.
78802         * include/rpc/pmap_rmt.h: Likewise.
78803         * include/rpc/rpc_msg.h: Likewise.
78804         * include/rpc/svc.h: Likewise.
78805         * include/rpc/svc_auth.h: Likewise.
78806         * include/rpc/xdr.h: Likewise.
78807         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78808         * nss/Makefile: Likewise.
78809         * sunrpc/Makefile: Don't install headers.  Build library with normal
78810         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78811         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78812         for the compat linking library.  Remove use of INTDEF/INTUSE.
78813         * sunrpc/auth_none.c: Likewise.
78814         * sunrpc/auth_unix.c: Likewise.
78815         * sunrpc/authdes_prot.c: Likewise.
78816         * sunrpc/authuxprot.c: Likewise.
78817         * sunrpc/clnt_gen.c: Likewise.
78818         * sunrpc/clnt_perr.c: Likewise.
78819         * sunrpc/clnt_raw.c: Likewise.
78820         * sunrpc/clnt_simp.c: Likewise.
78821         * sunrpc/clnt_tcp.c: Likewise.
78822         * sunrpc/clnt_udp.c: Likewise.
78823         * sunrpc/clnt_unix.c: Likewise.
78824         * sunrpc/des_crypt.c: Likewise.
78825         * sunrpc/des_soft.c: Likewise.
78826         * sunrpc/get_myaddr.c: Likewise.
78827         * sunrpc/key_call.c: Likewise.
78828         * sunrpc/key_prot.c: Likewise.
78829         * sunrpc/netname.c: Likewise.
78830         * sunrpc/pm_getmaps.c: Likewise.
78831         * sunrpc/pm_getport.c: Likewise.
78832         * sunrpc/pmap_clnt.c: Likewise.
78833         * sunrpc/pmap_prot.c: Likewise.
78834         * sunrpc/pmap_prot2.c: Likewise.
78835         * sunrpc/pmap_rmt.c: Likewise.
78836         * sunrpc/publickey.c: Likewise.
78837         * sunrpc/rpc_cmsg.c: Likewise.
78838         * sunrpc/rpc_common.c: Likewise.
78839         * sunrpc/rpc_dtable.c: Likewise.
78840         * sunrpc/rpc_prot.c: Likewise.
78841         * sunrpc/rpc_thread.c: Likewise.
78842         * sunrpc/rtime.c: Likewise.
78843         * sunrpc/svc.c: Likewise.
78844         * sunrpc/svc_auth.c: Likewise.
78845         * sunrpc/svc_authux.c: Likewise.
78846         * sunrpc/svc_raw.c: Likewise.
78847         * sunrpc/svc_run.c: Likewise.
78848         * sunrpc/svc_simple.c: Likewise.
78849         * sunrpc/svc_tcp.c: Likewise.
78850         * sunrpc/svc_udp.c: Likewise.
78851         * sunrpc/svc_unix.c: Likewise.
78852         * sunrpc/svcauth_des.c: Likewise.
78853         * sunrpc/xcrypt.c: Likewise.
78854         * sunrpc/xdr.c: Likewise.
78855         * sunrpc/xdr_array.c: Likewise.
78856         * sunrpc/xdr_float.c: Likewise.
78857         * sunrpc/xdr_intXX_t.c: Likewise.
78858         * sunrpc/xdr_mem.c: Likewise.
78859         * sunrpc/xdr_rec.c: Likewise.
78860         * sunrpc/xdr_ref.c: Likewise.
78861         * sunrpc/xdr_sizeof.c: Likewise.
78862         * sunrpc/xdr_stdio.c: Likewise.
78864 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78866         [BZ #12650]
78867         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78868         * sysdeps/ia64/dl-tls.h: Likewise.
78869         * sysdeps/powerpc/dl-tls.h: Likewise.
78870         * sysdeps/s390/dl-tls.h: Likewise.
78871         * sysdeps/sh/dl-tls.h: Likewise.
78872         * sysdeps/sparc/dl-tls.h: Likewise.
78873         * sysdeps/x86_64/dl-tls.h: Likewise.
78874         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78876 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78878         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78879         rpath element also skip the following colon.
78880         (expand_dynamic_string_token): Add is_path parameter and pass
78881         down to DL_DST_REQUIRED and _dl_dst_substitute.
78882         (decompose_rpath): Call expand_dynamic_string_token with
78883         non-zero is_path.  Ignore empty rpaths.
78884         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78885         with zero is_path.
78887 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78890         Make cancelable.
78892 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78894         [BZ #12655]
78895         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78896         Patch by Filipe David Manana <fdmanana@apache.org>.
78898 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78900         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78901         Maintain aligned stack.
78902         (CHECK_RSP): Remove unused macro.
78904 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78906         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78909 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78911         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78913         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78915 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78917         [BZ #12518]
78918         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78919         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78920         * sysdeps/x86_64/memmove.c: New file.
78921         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78922         (memcpy): Renamed to ...
78923         (__new_memcpy): This.
78924         (memcpy): Provide GLIBC_2_14 memcpy.
78925         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78926         (memcpy): Provide GLIBC_2_2_5 memcpy.
78928 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78930         [BZ #12631]
78931         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78933 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78935         * misc/syncfs.c: New file.
78936         * misc/Makefile (routines): Add syncfs.
78937         * posix/unistd.h: Declare syncfs.
78938         * sysdeps/unix/syscalls.list: Add syncfs.
78940 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78942         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78943         open_by_handle_at.
78944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78945         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78949         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78950         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78952 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78954         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78955         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78956         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78958         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78962         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78963         sync_file_range.c with -fexceptions.
78964         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78965         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78966         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78967         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78968         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78969         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78971         sync_file_range as cancellation point
78972         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78973         now a wrapper around __call_sync_file_range with cancellation handling.
78974         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78975         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78976         function name to __call_sync_file_range.
78977         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78978         Add call_sync_file_range.
78980 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78983         bits/timex.h.
78985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78987         * iconv/iconv.h: Fix typo in comment.
78988         * io/fcntl.h: Likewise.
78989         * libio/stdio.h: Likewise.
78990         * posix/spawn.h: Likewise.
78991         * posix/unistd.h: Likewise.
78992         * stdlib/stdlib.h: Likewise.
78993         * time/time.h: Likewise.
78994         * wcsmbs/wchar.h: Likewise.
78996         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78997         open_by_handle): Add.
78998         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78999         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79000         Augment a few comments.
79001         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79003         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79005         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79006         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79007         open_by_handle.
79009         * io/fcntl.h (AT_EMPTY_PATH): Define.
79011 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79013         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79014         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79015         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79016         to...
79017         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79018         * Versions.def: Add GLIBC_2.14.
79019         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79020         Export.
79022 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79024         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79025         round counter.
79026         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79028 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79030         [BZ #12597]
79031         * string/test-strncmp.c (do_page_test): New function.
79032         (check2): Likewise.
79033         (test_main): Call check2.
79034         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79036 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79038         [BZ #12587]
79039         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79040         Handle cache information in CPU leaf 4.
79041         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79043 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79045         [BZ #12583]
79046         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79047         character representation.
79048         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79050 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79052         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79053         END(__isnan) to END(__isnanf) to match function entry point/label
79054         EALIGN(__isnanf,...).
79056 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79058         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79060 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79062         [BZ #12510]
79063         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79064         copy from the symbol referenced in the relocation to initialize the
79065         used variable.
79066         Patch by Piotr Bury <pbury@goahead.com>.
79067         * elf/Makefile: Add rules to build and tst-unique3.
79068         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79069         * elf/tst-unique3.cc: New file.
79070         * elf/tst-unique3.h: New file.
79071         * elf/tst-unique3lib.cc: New file.
79072         * elf/tst-unique3lib2.cc: New file.
79074         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79076 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79078         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79079         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79080         to _start.
79082 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79084         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79085         to-be-loaded object along a path to loader is ld.so.
79087 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79088             Ulrich Drepper  <drepper@gmail.com>
79090         * sysdeps/x86_64/memset.S: After aligning destination, code
79091         branches to different locations depending on the value of
79092         misalignment, when multiarch is enabled. Fix this.
79094 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79096         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79097         Set _x86_64_preferred_memory_instruction for AMD processsors.
79098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79099         Set bit_Prefer_SSE_for_memop for AMD processors.
79101 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79103         * libio/fmemopen.c (fmemopen): Optimize a bit.
79105 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79107         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79109 2011-03-03  Roland McGrath  <roland@redhat.com>
79111         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79113 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79115         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79116         __bzero_ultra1 instead of __memset_ultra1.
79118 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79119             Ulrich Drepper  <drepper@gmail.com>
79121         [BZ #12509]
79122         * include/link.h (struct link_map): Add l_orig_initfini.
79123         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79124         returning unsuccessfully.
79125         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79126         close of a file loaded at startup, restore the original l_initfini
79127         list.
79128         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79129         list, store the pointer.
79130         * elf/Makefile ($(objpfx)noload-mem): New rule.
79131         (noload-ENV): Define.
79132         (tests): Add $(objpfx)noload-mem.
79133         * elf/noload.c: Include <memcheck.h>.
79134         (main): Call mtrace.  Close all opened handles.
79136 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79138         [BZ #12454]
79139         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79140         dependencies are missing.
79142 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79144         Fix __if_freereq crash: Unlike the generic version which uses free,
79145         Hurd needs munmap.
79146         * sysdeps/mach/hurd/ifreq.h: New file.
79148 2011-01-27  Petr Baudis  <pasky@suse.cz>
79149             Ulrich Drepper  <drepper@gmail.com>
79151         [BZ 12445]#
79152         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79153         to extend_alloca().
79154         * stdio-common/bug23.c: New file.
79155         * stdio-common/Makefile (tests): Add bug23.
79157 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79158             Ulrich Drepper  <drepper@gmail.com>
79160         [BZ #12489]
79161         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79162         before performing relro protection.  At old place add assertion
79163         to make sure nothing changed.
79165 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79166             Glauber de Oliveira Costa  <glommer@gmail.com>
79168         * elf/elf.h: Add new ARM TLS relocs.
79170 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79173         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79174         cast from r3.
79175         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79176         'tests' variable.
79177         * sysdeps/wordsize-64/tst-writev.c: New file.
79179 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79181         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79182         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79183         insns in _dl_start to prevent a TOC reference before relocs are
79184         resolved.
79186 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79188         [BZ #12469]
79189         * Makeconfig: Remove RANLIB definition.
79190         * Makerules: Don't use RANLIB.
79191         * aclocal.m4: Remove ranlib test.
79192         * configure.in: No need to check for ranlib.
79193         * elf/rtld-Rules: Don't use RANLIB.
79195 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79197         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79198         protection macro.
79199         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79200         inclusion protection macro.
79202         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79203         SIGRTMIN and SIGRTMAX and print information in that case only when
79204         SIGRTMIN is defined.
79206 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79208         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79209         arginfo fn returning -1.
79211         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79212         and thousands string is zero terminated.
79214 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79216         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79217         sysdeps/unix/sysv/linux/bits/socket.h.
79219 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79221         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79222         (__CPU_COUNT): Remove old macros.
79223         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79224         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79225         (__CPU_ALLOC, __CPU_FREE): Add macros.
79226         (__sched_cpualloc, __sched_cpufree): Add declarations.
79228 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79230         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79231         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79232         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79233         (readdhstai): Return value of addhstaiX call.
79234         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79235         (addgrbyX): Return value returned by cache_addgr.
79236         (readdgrbyname): Return value returned by addgrbyX.
79237         (readdgrbygid): Likewise.
79238         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79239         (addpwbyX): Return value returned by cache_addpw.
79240         (readdpwbyname): Return value returned by addhstbyX.
79241         (readdpwbyuid): Likewise.
79242         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79243         (addservbyX): Return value returned by cache_addserv.
79244         (readdservbyname): Return value returned by addservbyX:
79245         (readdservbyport): Likewise.
79246         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79247         (addhstbyX): Return value returned by cache_addhst.
79248         (readdhstbyname): Return value returned by addhstbyX.
79249         (readdhstbyaddr): Likewise.
79250         (readdhstbynamev6): Likewise.
79251         (readdhstbyaddrv6): Likewise.
79252         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79253         (readdinitgroups): Return value returned by addinitgroupsX.
79254         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79255         (prune_cache): Keep track of timeout value of re-added entries.
79256         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79257         * nscd/nscd.h: Adjust prototypes of readd* functions.
79259 2011-02-04  Roland McGrath  <roland@redhat.com>
79261         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79262         (nis_stats): Likewise.
79263         * nis/nis_modify.c (nis_modify): Likewise.
79264         * nis/nis_remove.c (nis_remove): Likewise.
79265         * nis/nis_add.c (nis_add): Likewise.
79267         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79269         * posix/fnmatch_loop.c: Add some consts.
79271         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79273 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79275         [BZ #12460]
79276         * config.make.in (config-cflags-novzeroupper): Define.
79277         * configure.in: Substitute libc_cv_cc_novzeroupper.
79278         * elf/Makefile (AVX-CFLAGS): Define.
79279         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79280         (CFLAGS-tst-auditmod4a.c): Likewise.
79281         (CFLAGS-tst-auditmod4b.c): Likewise.
79282         (CFLAGS-tst-auditmod6b.c): Likewise.
79283         (CFLAGS-tst-auditmod6c.c): Likewise.
79284         (CFLAGS-tst-auditmod7b.c): Likewise.
79285         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79287 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79289         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79290         function to the callback.
79291         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79293 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79295         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79296         of errno.
79298 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79300         [BZ #11724]
79301         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79302         of constructors.
79303         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79304         of destructors.
79305         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79307         [BZ #11724]
79308         * elf/Makefile: Add rules to build and run new test.
79309         * elf/tst-initorder.c: New file.
79310         * elf/tst-initorder.exp: New file.
79311         * elf/tst-initordera1.c: New file.
79312         * elf/tst-initordera2.c: New file.
79313         * elf/tst-initordera3.c: New file.
79314         * elf/tst-initordera4.c: New file.
79315         * elf/tst-initorderb1.c: New file.
79316         * elf/tst-initorderb2.c: New file.
79317         * elf/tst-order-a1.c: New file.
79318         * elf/tst-order-a2.c: New file.
79319         * elf/tst-order-a3.c: New file.
79320         * elf/tst-order-a4.c: New file.
79321         * elf/tst-order-b1.c: New file.
79322         * elf/tst-order-b2.c: New file.
79323         * elf/tst-order-main.c: New file.
79324         New test case by George Gensure <werkt0@gmail.com>.
79326 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79329         decoding ACE if AI_CANONIDN.
79331 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79333         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79335 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79337         * version.h (RELEASE): Bump for 2.13 release.
79338         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79340         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79342         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79343         MADV_NOHUGEPAGE.
79344         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79345         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79346         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79347         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79348         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79349         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79351         * posix/getconf.c: Update copyright year.
79352         * catgets/gencat.c: Likewise.
79353         * csu/version.c: Likewise.
79354         * debug/catchsegv.sh: Likewise.
79355         * debug/xtrace.sh: Likewise.
79356         * elf/ldconfig.c: Likewise.
79357         * elf/ldd.bash.in: Likewise.
79358         * elf/sprof.c (print_version): Likewise.
79359         * iconv/iconv_prog.c: Likewise.
79360         * iconv/iconvconfig.c: Likewise.
79361         * locale/programs/locale.c: Likewise.
79362         * locale/programs/localedef.c: Likewise.
79363         * malloc/memusage.sh: Likewise.
79364         * malloc/mtrace.pl: Likewise.
79365         * nscd/nscd.c (print_version): Likewise.
79366         * nss/getent.c: Likewise.
79368         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79369         PF_CAIF, and PF_ALG.
79370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79372 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79374         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79375         (modules-names): Use them.
79376         (ifunc-test-modules, ifunc-pie-tests): Define.
79377         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79378         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79379         (test-extras): Likewise.
79380         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79381         $(compile-command.c).
79382         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79383         (all-built-dso): Define.
79384         (check-textrel.out, check-execstack.out): Depend on it.
79386         * configure.in: Don't override --enable-multi-arch.
79388 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79390         [BZ #6812]
79391         * nscd/hstcache.c (tryagain): Define.
79392         (cache_addhst): Return tryagain not notfound for temporary errors.
79393         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79394         failed.
79396 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79398         [BZ #10563]
79399         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79400         to make the syscall.
79401         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79403         [BZ #12378]
79404         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79405         and fall back to matching as normal character if the string ends before
79406         the matching ']' is found.  This is what POSIX requires.
79407         * posix/testfnm.c: Adjust test result.
79408         * posix/globtest.sh: Adjust test result.  Add new test.
79409         * posix/tst-fnmatch.input: Likewise.
79410         * posix/tst-fnmatch2.c: Add new test.
79412 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79414         * elf/Makefile (check-execstack): Revert last change.  Depend on
79415         check-execstack.h.
79416         (check-execstack.h): New target.
79417         (generated): Add check-execstack.h.
79418         * elf/check-execstack.c: Include "check-execstack.h".
79419         (main): Revert last change.
79420         (handle_file): Return zero if GNU_STACK is absent and
79421         DEFAULT_STACK_PERMS doesn't include PF_X.
79423 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79425         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79426         in child fails because the descriptor is already closed.
79427         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79428         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79429         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79431         [BZ #12397]
79432         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79433         syscall.
79435         [BZ #10484]
79436         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79437         temporary buffer used to handle multi lookups locally.
79438         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79440 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79442         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79443         loader is ld.so.
79445 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79447         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79448         alignment for SSE2.
79450 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79452         [BZ #12394]
79453         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79454         characters.  When rounding increased number of integer digits recompute
79455         number of groups.
79456         * stdio-common/tst-grouping.c: New file.
79457         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79459 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79461         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79462         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79464         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79465         void.
79466         * bits/select.h: Likewise.
79468 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79470         * po/ja.po: Update from translation team.
79472 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79474         [BZ #11155]
79475         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79476         implementation just like for lxstat, fxstatat, et al.
79478 2010-12-27  Jim Meyering  <meyering@redhat.com>
79480         [BZ #12348]
79481         * posix/regexec.c (build_trtable): Return failure indication upon
79482         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79484 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79486         [BZ #12201]
79487         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79488         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79489         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79490         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79492         [BZ #12207]
79493         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79495         [BZ #12204]
79496         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79497         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79499 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79501         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79502         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79503         script has SORT_BY_INIT_PRIORITY.
79504         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79505         NO_CTORS_DTORS_SECTIONS is defined.
79506         * elf/soinit.c: Likewise.
79507         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79508         NO_CTORS_DTORS_SECTIONS is defined.
79509         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79510         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79511         * sysdeps/sh/init-first.c: Likewise.
79512         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79514 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79516         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79517         always use the slow path.
79519 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79521         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79522         similar rule which adds the sysdep directories to the header search in
79523         order to pick up the correct platform stackinfo.h.
79524         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79525         perform test if it is, otherwise return successfully without testing.
79526         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79527         DEFAULT_STACK_PERMS define in stackinfo.h.
79528         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79529         defined in stackinfo.h.
79530         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79531         DEFAULT_STACK_PERMS defined in stackinfo.h.
79532         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79533         * sysdeps/ia64/stackinfo.h: Likewise.
79534         * sysdeps/s390/stackinfo.h: Likewise.
79535         * sysdeps/sh/stackinfo.h: Likewise.
79536         * sysdeps/sparc/stackinfo.h: Likewise.
79537         * sysdeps/x86_64/stackinfo.h: Likewise.
79538         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79539         PF_X for powerpc64.  Retain PF_X for powerpc32.
79541 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79543         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79544         accurately.
79545         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79546         GETDENTS_64BIT_ALIGNED.
79548 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79550         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79552 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79554         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79555         _GNU_SOURCE.
79557         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79558         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79559         Remove __restrict.
79560         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79561         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79563 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79565         [BZ #11655]
79566         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79567         are initialized.
79569 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79571         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79573 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79575         * po/it.po: Update from translation team.
79577 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79580         unused codes.
79582 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79584         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79586 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79588         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79589         specially.
79590         (gaih_getanswer_slice): Likewise.
79592 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79596 2010-05-31  Petr Baudis  <pasky@suse.cz>
79598         [BZ #11149]
79599         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79600         silently even in the chroot mode.
79602 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79604         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79605         last patch a bit.  Pretty printing
79607 2010-05-31  Petr Baudis <pasky@suse.cz>
79609         [BZ #10085]
79610         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79611         initialization of skip_initgroups_dyn.
79613 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79615         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79618 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79620         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79622 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79624         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79625         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79626         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79627         ($(objpfx)tst-fnmatch-mem): New rule.
79628         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79629         * posix/tst-fnmatch.c (main): Call mtrace.
79631 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79634         Support Intel processor model 6 and model 0x2c.
79636 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79638         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79639           signed comparison.
79641 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79643         [BZ #12205]
79644         * string/test-strncasecmp.c (check_result): New function.
79645         (do_one_test): Use it.
79646         (check1): New function.
79647         (test_main): Use it.
79648         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79649         Support strcasecmp and strncasecmp.
79651 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79653         [BZ #12194]
79654         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79655         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79657 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79659         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79660         IFUNC support.
79661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79662         memset-x86-64.
79663         * sysdeps/x86_64/multiarch/bzero.S: New file.
79664         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79665         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79666         * sysdeps/x86_64/multiarch/memset.S: New file.
79667         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79669         Set bit_Prefer_SSE_for_memop for Intel processors.
79670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79671         Define.
79672         (index_Prefer_SSE_for_memop): Define.
79673         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79675 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79677         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79678         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79680 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79682         [BZ #12191]
79683         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79684         (__x86_64_raw_data_cache_size_half): Likewise.
79685         (__x86_64_raw_shared_cache_size): Likewise.
79686         (__x86_64_raw_shared_cache_size_half): Likewise.
79688         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79689         (__x86_64_raw_data_cache_size_half): Likewise.
79690         (__x86_64_raw_shared_cache_size): Likewise.
79691         (__x86_64_raw_shared_cache_size_half): Likewise.
79692         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79693         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79694         and __x86_64_raw_shared_cache_size_half.  Round
79695         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79696         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79697         to multiple of 256 bytes.
79699 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79701         [BZ #12167]
79702         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79703         of inacessible symlinks.  Verify result of symlink before returning it.
79704         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79705         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79707 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79709         * math/math.h (isinf): Fix typo in comment.
79711 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79713         * po/da.po: Update from translation team.
79715 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79717         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79718         is added to the list.
79720 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79721             Ulrich Drepper  <drepper@gmail.com>
79723         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79724         the global list here.  Move code to...
79725         (_dl_add_to_namespace_list): ...here.  New function.
79726         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79727         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79728         * elf/dl-load.c (lose): Don't remove the element from the list.
79729         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79730         (_dl_map_object): Likewise.
79732 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79734         [BZ #12159]
79735         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79736         into all bytes of SSE register.
79737         Patch by Richard Li <richardpku@gmail.com>.
79739 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79741         [BZ #12140]
79742         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79743         perturbing.
79745 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79747         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79748         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79749         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79750         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79752         submachine.
79753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79755 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79757         * include/dlfcn.h (__RTLD_SECURE): Define.
79758         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79759         mode & __RTLD_SECURE instead.
79760         (open_path): Rename preloaded parameter to secure.
79761         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79762         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79763         * elf/dl-deps.c (openaux): Likewise.
79764         * elf/rtld.c (struct map_args): Remove is_preloaded.
79765         (map_doit): Don't use it.
79766         (dl_main): Likewise.
79767         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79768         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79770 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79772         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79773         (sysd-rules-targets): Remove duplicates.
79774         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79775         rtld-%.$o dependency.
79777 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79779         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79780         _dl_map_object do it.
79782 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79784         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79785         fast fma builtins, define the macros in the C99 standard.
79786         (FP_FAST_FMAF): Likewise.
79787         (FP_FAST_FMAL): Likewise.
79788         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79790         * bits/mathdef.h: Update copyright year.
79791         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79793 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79795         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79796         builtins, define the macros in the C99 standard.
79797         (FP_FAST_FMAF): Likewise.
79798         (FP_FAST_FMAL): Likewise.
79799         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79800         multiply/add.
79801         (FP_FAST_FMAF): Likewise.
79803 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79805         [BZ #3268]
79806         * math/libm-test.inc (fma_test): Some new testcases.
79807         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79808         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79809         y and infinite z.  Do multiplication by C already in long double.
79810         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79812         y and infinite z.  Do bitwise or of inexact bit into u.d.
79813         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79814         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79815         * sysdeps/i386/fpu/s_fma.S: Removed.
79816         * sysdeps/i386/fpu/s_fmal.S: Removed.
79818 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79820         [BZ #3268]
79821         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79823         computation is not scheduled after fetestexcept.  Fix value
79824         of minimum denormal long double.
79826 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79828         [BZ #3268]
79829         * math/libm-test.inc (fma_test): Add some more tests.
79830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79831         correctly.
79833 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79835         * scripts/data/localplt-s390-linux-gnu.data: New file.
79836         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79838 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79840         [BZ #3268]
79841         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79842         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79843         instead of dbl-64.
79844         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79845         inlines.
79846         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79848         if one of x and y is very large and the other is subnormal.
79849         * sysdeps/s390/fpu/s_fmaf.c: New file.
79850         * sysdeps/s390/fpu/s_fma.c: New file.
79851         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79852         * sysdeps/powerpc/fpu/s_fma.S: New file.
79853         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79854         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79855         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79857 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79859         [BZ #3268]
79860         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79861         fma tests.
79862         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79863         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79864         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79865         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79866         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79867         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79868         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79870 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79872         [BZ #12078]
79873         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79874         * posix/bug-regex31.input: Add test case.
79876 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79878         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79879         * posix/bug-regex31.input: New file.
79881         [BZ #12078]
79882         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79883         (parse_sub_exp): Fix last change, use postorder.
79885         * posix/bug-regex31.c: New file.
79886         * posix/Makefile: Add rules to build and run bug-regex31.
79888         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79890         [BZ #12078]
79891         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79893         [BZ #12108]
79894         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79895         to have entries in sys_siglist.
79897         [BZ #12093]
79898         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79899         be NULL.
79901 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79903         [BZ #3268]
79904         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79905         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79906         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79907         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79908         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79909         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79910         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79911         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79912         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79913         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79914         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79915         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79916         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79917         * math/ftestexcept.c (fetestexcept): Likewise.
79918         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79919         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79920         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79921         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79922         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79923         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79924         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79926 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79928         [BZ #12107]
79929         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79930         newline.
79932 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79934         * string/bug-strstr1.c: New file.
79935         * string/Makefile: Add rules to build and run bug-strstr1.
79937 2010-10-05  Eric Blake  <eblake@redhat.com>
79939         [BZ #12092]
79940         * string/str-two-way.h (two_way_long_needle): Always clear memory
79941         when skipping input due to the shift table.
79943 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79945         [BZ #12005]
79946         * malloc/mcheck.c: Handle large requests.
79948         [BZ #12077]
79949         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79950         for strncmp and strncasecmp.
79951         * string/stratcliff.c: Add tests for strcmp and strncmp.
79952         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79954 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79956         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79957         __set_fpscr.
79959 2010-09-30  Andreas Jaeger  <aj@suse.de>
79961         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79962         (CGROUP_SUPER_MAGIC): Define.
79963         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79964         Handle btrfs and cgroup file systems.
79965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79966         Likewise.
79968 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79970         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79971         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79973 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79975         [BZ #12067]
79976         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79977         trying to locate the ELF header.
79979 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79981         [BZ #11611]
79982         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79983         Mask out sign-bit copies when constructing f_fsid.
79985 2010-09-24  Petr Baudis <pasky@suse.cz>
79987         * debug/stack_chk_fail_local.c: Add missing licence exception.
79988         * debug/warning-nop.c: Likewise.
79990 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79992         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79993         implementing getdents64 using getdents syscall, set d_type if
79994         __ASSUME_GETDENTS32_D_TYPE.
79996 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79998         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79999         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80001 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80003         [BZ #12037]
80004         * posix/unistd.h: Undo change of feature selection for ftruncate from
80005         2010-01-11.
80007 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80009         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80010         detection.
80012 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80015         fanotify_mark.
80016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80018 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80020         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80021         variables after CHECK_SP call.
80022         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80024 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80025             Ulrich Drepper  <drepper@redhat.com>
80027         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80028         re-relocationg ld.so.
80029         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80030         _dl_init_paths call.
80031         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80032         here anymore.
80034 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80036         * resolv/res_init.c (__res_vinit): Count the default server we added.
80038 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80039             Ulrich Drepper  <drepper@redhat.com>
80041         [BZ #11968]
80042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80043         (____longjmp_chk): Use %ebx for saving value across system call.
80044         Add unwind info.
80046 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80048         * manual/Makefile: Don't mix pattern rules with normal rules.
80050 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80052         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80053         operation.
80054         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80055         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80056         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80057         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80059         Likewise.
80061 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80063         [BZ #11979]
80064         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80065         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80067 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80069         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80070         * sysdeps/x86_64/addmul_1.S: Likewise.
80071         * sysdeps/x86_64/lshift.S: Likewise.
80072         * sysdeps/x86_64/mul_1.S: Likewise.
80073         * sysdeps/x86_64/rshift.S: Likewise.
80074         * sysdeps/x86_64/sub_n.S: Likewise.
80075         * sysdeps/x86_64/submul_1.S: Likewise.
80077 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80079         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80080         Define __sched_param instead of SCHED_* and sched_param when
80081         <bits/sched.h> is included with __need_schedparam defined.
80082         * bits/sched.h [__need_schedparam]
80083         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80084         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80085         (__defined_schedparam): Define to 1.
80086         (__sched_param): New structure, identical to sched_param.
80087         (__need_schedparam): Undefine.
80089 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80091         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80092         (epoll_create1): Declare.
80094         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80096 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80098         [BZ #7066]
80099         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80100         shifting retval into place.
80102 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80104         * nis/rpcsvc/nis.h: Update copyright notice.
80105         * nis/rpcsvc/nis.x: Likewise.
80106         * nis/rpcsvc/nis_callback.h: Likewise.
80107         * nis/rpcsvc/nis_callback.x: Likewise.
80108         * nis/rpcsvc/nis_object.x: Likewise.
80109         * nis/rpcsvc/nis_tags.h: Likewise.
80110         * nis/rpcsvc/yp.h: Likewise.
80111         * nis/rpcsvc/yp.x: Likewise.
80112         * nis/rpcsvc/ypupd.h: Likewise.
80113         * nis/yp_xdr.c: Likewise.
80114         * nis/ypupdate_xdr.c: Likewise.
80116         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80117         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80118         (pmap_getport): Use __libc_rpc_getport.
80119         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80120         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80121         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80123 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80126         fanotify_mark.
80128 2010-08-27  Roland McGrath  <roland@redhat.com>
80130         * sysdeps/i386/i686/multiarch/Makefile
80131         (CFLAGS-varshift.c): New variable.
80133 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80135         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80136         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80140         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80142 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80144         * sysdeps/x86_64/strlen.S: Unroll the loop.
80145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80146         strlen-sse2 strlen-sse2-bsf.
80147         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80148         __strlen_no_bsf if bit_Slow_BSF is set.
80149         (__strlen_sse42): Removed.
80150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80151         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80153 2010-08-25  Roland McGrath  <roland@redhat.com>
80155         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80156         * sysdeps/x86_64/multiarch/varshift.c: New file.
80157         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80158         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80159         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80160         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80162 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80165         strlen-sse2 strlen-sse2-bsf.
80166         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80167         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80168         (__strlen_sse2): Removed.
80169         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80170         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80172         bit_Slow_BSF for Atom.
80173         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80174         (index_Slow_BSF): Define.
80175         (HAS_SLOW_BSF): Define.
80177 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80179         [BZ #10851]
80180         * resolv/res_init.c (__res_vinit): When no server address at all
80181         is given default to loopback.
80183 2010-08-24  Roland McGrath  <roland@redhat.com>
80185         * configure.in: Remove config-name.h generation.
80186         * configure: Regenerated.
80187         * config-name.in: File removed.
80188         * scripts/config-uname.sh: New file.
80189         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80190         ($(objdir)config-name.h): New target.
80192         * sunrpc/rpc_parse.h: Avoid nested comment.
80194 2010-08-24  Richard Henderson  <rth@redhat.com>
80195             Ulrich Drepper  <drepper@redhat.com>
80196             H.J. Lu  <hongjiu.lu@intel.com>
80198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80200         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80201         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80202         _mm_alignr_epi8 with _mm_loadu_si128.
80203         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80204         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80205         (__m128i_shift_right): Removed.
80206         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80207         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80208         * sysdeps/x86_64/multiarch/varshift.h: New file.
80209         * sysdeps/x86_64/multiarch/varshift.S: New file.
80211 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80213         * configure.in: Move assembler checks to before sysdep dir checking.
80215 2010-08-20  Petr Baudis  <pasky@suse.cz>
80217         * LICENSES: Sync the sunrpc license.
80219 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80221         * sunrpc/auth_des.c: Update copyright notice once again.
80222         * sunrpc/auth_none.c: Likewise.
80223         * sunrpc/auth_unix.c: Likewise.
80224         * sunrpc/authdes_prot.c: Likewise.
80225         * sunrpc/authuxprot.c: Likewise.
80226         * sunrpc/bindrsvprt.c: Likewise.
80227         * sunrpc/clnt_gen.c: Likewise.
80228         * sunrpc/clnt_perr.c: Likewise.
80229         * sunrpc/clnt_raw.c: Likewise.
80230         * sunrpc/clnt_simp.c: Likewise.
80231         * sunrpc/clnt_tcp.c: Likewise.
80232         * sunrpc/clnt_udp.c: Likewise.
80233         * sunrpc/clnt_unix.c: Likewise.
80234         * sunrpc/des_crypt.c: Likewise.
80235         * sunrpc/des_soft.c: Likewise.
80236         * sunrpc/get_myaddr.c: Likewise.
80237         * sunrpc/getrpcport.c: Likewise.
80238         * sunrpc/key_call.c: Likewise.
80239         * sunrpc/key_prot.c: Likewise.
80240         * sunrpc/openchild.c: Likewise.
80241         * sunrpc/pm_getmaps.c: Likewise.
80242         * sunrpc/pm_getport.c: Likewise.
80243         * sunrpc/pmap_clnt.c: Likewise.
80244         * sunrpc/pmap_prot.c: Likewise.
80245         * sunrpc/pmap_prot2.c: Likewise.
80246         * sunrpc/pmap_rmt.c: Likewise.
80247         * sunrpc/rpc/auth.h: Likewise.
80248         * sunrpc/rpc/auth_unix.h: Likewise.
80249         * sunrpc/rpc/clnt.h: Likewise.
80250         * sunrpc/rpc/des_crypt.h: Likewise.
80251         * sunrpc/rpc/key_prot.h: Likewise.
80252         * sunrpc/rpc/netdb.h: Likewise.
80253         * sunrpc/rpc/pmap_clnt.h: Likewise.
80254         * sunrpc/rpc/pmap_prot.h: Likewise.
80255         * sunrpc/rpc/pmap_rmt.h: Likewise.
80256         * sunrpc/rpc/rpc.h: Likewise.
80257         * sunrpc/rpc/rpc_des.h: Likewise.
80258         * sunrpc/rpc/rpc_msg.h: Likewise.
80259         * sunrpc/rpc/svc.h: Likewise.
80260         * sunrpc/rpc/svc_auth.h: Likewise.
80261         * sunrpc/rpc/types.h: Likewise.
80262         * sunrpc/rpc/xdr.h: Likewise.
80263         * sunrpc/rpc_clntout.c: Likewise.
80264         * sunrpc/rpc_cmsg.c: Likewise.
80265         * sunrpc/rpc_common.c: Likewise.
80266         * sunrpc/rpc_cout.c: Likewise.
80267         * sunrpc/rpc_dtable.c: Likewise.
80268         * sunrpc/rpc_hout.c: Likewise.
80269         * sunrpc/rpc_main.c: Likewise.
80270         * sunrpc/rpc_parse.c: Likewise.
80271         * sunrpc/rpc_parse.h: Likewise.
80272         * sunrpc/rpc_prot.c: Likewise.
80273         * sunrpc/rpc_sample.c: Likewise.
80274         * sunrpc/rpc_scan.c: Likewise.
80275         * sunrpc/rpc_scan.h: Likewise.
80276         * sunrpc/rpc_svcout.c: Likewise.
80277         * sunrpc/rpc_tblout.c: Likewise.
80278         * sunrpc/rpc_util.c: Likewise.
80279         * sunrpc/rpc_util.h: Likewise.
80280         * sunrpc/rpcinfo.c: Likewise.
80281         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80282         * sunrpc/rpcsvc/key_prot.x: Likewise.
80283         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80284         * sunrpc/rpcsvc/mount.x: Likewise.
80285         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80286         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80287         * sunrpc/rpcsvc/rex.x: Likewise.
80288         * sunrpc/rpcsvc/rstat.x: Likewise.
80289         * sunrpc/rpcsvc/rusers.x: Likewise.
80290         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80291         * sunrpc/rpcsvc/spray.x: Likewise.
80292         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80293         * sunrpc/rtime.c: Likewise.
80294         * sunrpc/svc.c: Likewise.
80295         * sunrpc/svc_auth.c: Likewise.
80296         * sunrpc/svc_authux.c: Likewise.
80297         * sunrpc/svc_raw.c: Likewise.
80298         * sunrpc/svc_run.c: Likewise.
80299         * sunrpc/svc_simple.c: Likewise.
80300         * sunrpc/svc_tcp.c: Likewise.
80301         * sunrpc/svc_udp.c: Likewise.
80302         * sunrpc/svc_unix.c: Likewise.
80303         * sunrpc/svcauth_des.c: Likewise.
80304         * sunrpc/xcrypt.c: Likewise.
80305         * sunrpc/xdr.c: Likewise.
80306         * sunrpc/xdr_array.c: Likewise.
80307         * sunrpc/xdr_float.c: Likewise.
80308         * sunrpc/xdr_mem.c: Likewise.
80309         * sunrpc/xdr_rec.c: Likewise.
80310         * sunrpc/xdr_ref.c: Likewise.
80311         * sunrpc/xdr_sizeof.c: Likewise.
80312         * sunrpc/xdr_stdio.c: Likewise.
80314         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80315         handling.
80317 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80319         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80321 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80323         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80324         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80325         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80326         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80327         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80328         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80329         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80330         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80332         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80333         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80335         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80336         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80338 2010-07-26  Anton Blanchard  <anton@samba.org>
80340         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80341         * malloc/arena.c (heap_trim): Likewise.
80343 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80345         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80346         here.  Not...
80347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80348         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80350 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80352         * sysdeps/i386/elf/Makefile: New file.
80354 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80356         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80357         from fanotify_init.
80358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80359         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80361 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80363         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80364         of strncasecmp_l.
80365         * sysdeps/multiarch/strcmp.S: Likewise.
80367 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80369         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80370         strncase_l-nonascii.
80371         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80372         Add strncase_l-ssse3.
80373         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80374         * sysdeps/x86_64/strcmp.S: Likewise.
80375         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80376         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80377         * sysdeps/x86_64/strncase.S: New file.
80378         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80379         * sysdeps/x86_64/strncase_l.S: New file.
80380         * string/Makefile (strop-tests): Add strncasecmp.
80381         * string/test-strncasecmp.c: New file.
80383         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80384         warning.
80386         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80387         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80389 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80391         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80393 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80395         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80396         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80397         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80399 2010-05-01  Alan Modra  <amodra@gmail.com>
80401         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80402         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80403         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80404         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80405         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80406         tidying.  Don't tail-call __sigjmp_save for static lib.
80407         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80408         save location.
80409         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80410         (CALL_MCOUNT): Add eh info, and nop after bl.
80411         (TAIL_CALL_SYSCALL_ERROR): New macro.
80412         (PSEUDO_RET): Use it.
80413         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80414         Correct save location of integer regs and cr.
80415         (_dl_profile_resolve): Correct cr save location.  Delete nops
80416         after bl when SHARED.  Reduce cfi size a little by better
80417         placement of cfi directives.
80418         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80419         make a stack frame.  Instead use parm save area as a temp.
80420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80421         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80423         Don't make a stack frame for parent, use parm save area.
80424         Increase child stack frame to 112 bytes.  Don't save unused reg,
80425         and adjust reg usage.  Set up cfi on error recovery and
80426         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80428         (__makecontext): Add dummy nop after jump to exit.
80429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80430         Use correct parm save area and cr save, reduce stack frame.
80431         Correct cfi for possible PSEUDO_RET frame setup.
80432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80433         Branch to local label emitted by PSEUDO_RET rather than
80434         __syscall_error.
80436 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80438         [BZ #11904]
80439         * locale/programs/locale.c (print_assignment): New function.
80440         (show_locale_vars): Use it.
80442 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80444         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80445         field.
80446         (struct statfs64): Likewise.
80447         (_STATFS_F_FLAGS): Define.
80448         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80449         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80450         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80451         (ST_VALID): Define locally.
80452         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80453         __statvfs_getflags, use the provided value.
80454         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80455         __ASSUME_STATFS_F_FLAGS.
80457         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80459         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80460         Add sys/fanotify.h.
80461         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80462         fanotify_mask for GLIBC_2.13.
80463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80464         fanotify_init and fanotify_mark.
80465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80466         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80468         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80469         Add prlimit.
80470         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80471         prlimit64 for GLIBC_2.13.
80472         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80473         prlimit64.
80474         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80475         syscall.
80476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80478         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80479         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80481         add prlimit alias.
80482         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80484         [BZ #11903]
80485         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80486         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80488         * nss/Makefile: Add rules to build and run tst-nss-test1.
80489         * shlib-versions: Add entry for libnss_test1.
80490         * nss/nss_test1.c: New file.
80491         * nss/tst-nss-test1.c: New file.
80493         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80494         (__nss_configure_lookup): Set appropriate entry in
80495         __nss_configure_lookup to true.
80496         * nss/nsswitch.h: Define enum with indeces of databases in
80497         databases and __nss_database_custom arrays.  Declare
80498         __nss_database_custom.
80499         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80500         to avoid using nscd when custom rules are installed.
80501         * nss/getXXbyYY_r.c: Likewise.
80502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80504         * nss/nss_files/files-parse.c: Whitespace fixes.
80506 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80508         [BZ #11883]
80509         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80510         * posix/fnmatch_loop.c: Likewise.
80512 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80514         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80515         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80516         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80517         * Versions.def [GLIBC_2.13]: Add.
80519 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80521         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80522         Also fail if tpwd after pwuid call is NULL.
80524 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80526         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80527         when converting to ms.
80529 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80531         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80532         EOPNOTSUPP errors with ENOTTY.
80533         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80534         EOPNOTSUPP errors with ENOTTY.
80536 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80538         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80539         Add strcasecmp_l-ssse3.
80540         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80541         strcasecmp.
80542         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80543         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80544         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80546 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80548         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80550         * string/Makefile (strop-tests): Add strcasecmp.
80551         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80552         strcasecmp_l-nonascii.
80553         (gen-as-const-headers): Add locale-defines.sym.
80554         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80555         * sysdeps/x86_64/strcasecmp.S: New file.
80556         * sysdeps/x86_64/strcasecmp_l.S: New file.
80557         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80558         * sysdeps/x86_64/locale-defines.sym: New file.
80559         * string/test-strcasecmp.c: New file.
80561         * string/test-strcasestr.c: Test both ends of the range of characters.
80562         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80564 2010-07-29  Roland McGrath  <roland@redhat.com>
80566         [BZ #11856]
80567         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80569 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80571         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80572         for ld.so.
80574 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80576         * manual/memory.texi (Malloc Tunable Parameters): Document
80577         M_PERTURB.
80579 2010-07-26  Roland McGrath  <roland@redhat.com>
80581         [BZ #11840]
80582         * configure.in (-fgnu89-inline check): Set and substitute
80583         gnu89_inline, not libc_cv_gnu89_inline.
80584         * configure: Regenerated.
80585         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80587 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80589         * string/test-strnlen.c: New file.
80590         * string/Makefile (strop-tests): Add strnlen.
80591         * string/tester.c (test_strnlen): Add a few more test cases.
80592         * string/tst-strlen.c: Better error reporting.
80594         * sysdeps/x86_64/strnlen.S: New file.
80596 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80599         lower-latency instructions.
80601 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80603         * string/test-strcasestr.c: New file.
80604         * string/test-strstr.c: New file.
80605         * string/Makefile (strop-tests): Add strstr and strcasestr.
80606         * string/str-two-way.h: Don't undefine MAX.
80607         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80609 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80611         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80612         strcasestr-nonascii.
80613         (CFLAGS-strcasestr-nonascii.c): Define.
80614         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80616         Remove unused attribute.
80618 2010-07-20  Roland McGrath  <roland@redhat.com>
80620         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80621         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80622         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80623         like LD_HWCAP_MASK can disable hwcaps.
80625 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80627         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80629 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80631         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80632         call in strcasestr.
80633         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80634         __strcasestr_sse42_nonascii.
80635         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80636         strcasestr-nonascii.c.
80637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80639 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80641         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80642         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80643         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80644         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80646 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80648         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80649         fcntl.
80651 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80653         [BZ #11577]
80654         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80655         dl_signal_cerror.
80657 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80659         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80660         _PC_PIPE_BUF using F_GETPIPE_SZ.
80662 2010-07-05  Roland McGrath  <roland@redhat.com>
80664         * manual/arith.texi (Rounding Functions): Fix rint description
80665         implicit in round description.
80667 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80669         * elf/Makefile: Fix linking for a few tests to make recent linker
80670         happy.
80672 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80675         $(common-objpfx)libc_nonshared.a.
80677 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80679         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80680         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80681         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80682         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80683         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80684         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80685         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80686         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80701         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80702         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80703         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80704         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80705         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80706         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80707         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80708         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80709         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80710         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80711         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80712         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80728 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80730         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80731         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80732         * string/memmove.c (memmove): Renamed to ...
80733         (MEMMOVE): ...this.  Default to memmove.
80734         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80735         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80736         (END_CHK): Define.
80737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80738         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80739         mempcpy-ssse3-back memmove-ssse3-back.
80740         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80743         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80744         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80745         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80746         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80747         * sysdeps/x86_64/multiarch/memmove.c: New file.
80748         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80749         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80750         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80751         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80752         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80753         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80754         Define.
80755         (index_Fast_Copy_Backward): Define.
80756         (HAS_ARCH_FEATURE): Define.
80757         (HAS_FAST_REP_STRING): Define.
80758         (HAS_FAST_COPY_BACKWARD): Define.
80760 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80762         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80763         Restore proper fallback handling.
80765 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80767         [BZ #11701]
80768         * posix/group_member.c (__group_member): Correct checking loop.
80770         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80771         OOM in getpwuid_r correctly.  Return error number when the caller
80772         should return, otherwise -1.
80773         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80774         call returning > 0 value.
80775         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80777 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80779         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80780         libc_nonshared.a from targets in modules-names.
80782 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80784         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80785         requires it.
80787 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80789         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80791         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80792         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80794 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80796         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80798 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80800         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80801         and F_GETPIPE_SZ.
80802         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80803         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80807         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80809 2010-06-14  Roland McGrath  <roland@redhat.com>
80811         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80813 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80815         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80816         __REDIRECT followed by __THROW.
80817         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80818         * posix/getopt.h (getopt): Likewise.
80820 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80822         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80823         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80824         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80825         in AT_FLAGS.
80826         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80827         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80829 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80831         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80833 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80835         [BZ #11640]
80836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80837         Properly check family and model.
80839 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80841         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80843 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80845         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80847 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80849         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80850         symbol reference.
80852 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80854         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80855         symbol reference.
80857 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80859         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80860         and internal_recvmmsg.
80861         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80862         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80863         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80864         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80866         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80867         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80868         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80870 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80872         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80874 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80876         POWER7 optimizations.
80877         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80878         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80880 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80882         * version.h: Update for 2.13 development version.
80884 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80886         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80887         exceptions.  Return 0.
80889 2010-05-07  Roland McGrath  <roland@redhat.com>
80891         * elf/ldconfig.c (main): Add a const.
80893 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80895         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80896         (args_options): Add no-idn option.
80897         (ahosts_keys_int): Add idn_flags to ai_flags.
80898         (parse_option): Handle 'i' option to clear idn_flags.
80900         * malloc/malloc.c (_int_free): Possible race in the most recently
80901         added check.  Only act on the data if no current modification
80902         happened.
80904 See ChangeLog.17 for earlier changes.